[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92802d17-4ea5-4f26-9bff-d3f3cc49e7ef@quicinc.com>
Date: Thu, 6 Feb 2025 15:54:16 +0800
From: Ziqi Chen <quic_ziqichen@...cinc.com>
To: Bart Van Assche <bvanassche@....org>, <quic_cang@...cinc.com>,
<mani@...nel.org>, <beanhuo@...ron.com>, <avri.altman@....com>,
<junwoo80.lee@...sung.com>, <martin.petersen@...cle.com>,
<quic_nguyenb@...cinc.com>, <quic_nitirawa@...cinc.com>,
<quic_rampraka@...cinc.com>
CC: <linux-arm-msm@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
"Keoseong
Park" <keosung.park@...sung.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 8/8] ABI: sysfs-driver-ufs: Add missing UFS sysfs
attributes
On 2/6/2025 2:12 AM, Bart Van Assche wrote:
> On 2/3/25 12:11 AM, Ziqi Chen wrote:
>
> Please change the patch title from "Add missing UFS sysfs attributes"
> into "Add missing UFS sysfs attribute documentation". This patch does
> not add any sysfs attributes - it adds missing documentation.
>
>> +What: /sys/bus/platform/drivers/ufshcd/*/clkscale_enable
>> +What: /sys/bus/platform/devices/*.ufs/clkscale_enable
>> +Date: January 2025
>> +Contact: Ziqi Chen <quic_ziqichen@...cinc.com>
>> +Description:
>> + This file shows whether the UFS clock scaling is enabled or not.
>> + And it can be used to enable/disable the clock scaling by
>> writing
>> + 1 or 0 to this file.
>> +
>> + The file is read/write.
>> +
>> +What: /sys/bus/platform/drivers/ufshcd/*/clkgate_enable
>> +What: /sys/bus/platform/devices/*.ufs/clkgate_enable
>> +Date: January 2025
>> +Contact: Ziqi Chen <quic_ziqichen@...cinc.com>
>> +Description:
>> + This file shows whether the UFS clock gating is enabled or not.
>> + And it can be used to enable/disable the clock gating by writing
>> + 1 or 0 to this file.
>> +
>> + The file is read/write.
>> +
>> +What: /sys/bus/platform/drivers/ufshcd/*/clkgate_delay_ms
>> +What: /sys/bus/platform/devices/*.ufs/clkgate_delay_ms
>> +Date: January 2025
>> +Contact: Ziqi Chen <quic_ziqichen@...cinc.com>
>> +Description:
>> + This file shows and sets the number of milliseconds of idle time
>> + before the UFS driver start to perform clock gating. This can
> ^^^^^
> starts
>> + prevent the UFS from frequently performing clock gate/ungate.
> ^^^^^^^
> gating/ungating
>> +
>> + The file is read/write.
>
>
> Please change the word "file" into "attribute" to make the sysfs
> attribute documentation consistent with the sysfs documentation for
> other kernel drivers.
>
> Thanks,
>
> Bart.
OK , Thanks Bart~
-Ziqi
Powered by blists - more mailing lists