diff options
author | Bean Huo <beanhuo@micron.com> | 2021-01-19 19:38:42 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-21 06:08:33 +0300 |
commit | 8e834ca551add86fd549b0830f36ec2f26d08667 (patch) | |
tree | de51669962a2ff23a6d84761d23eaab7e274d0c4 /Documentation/ABI/testing/sysfs-driver-ufs | |
parent | f1ef9047aaab036edb39261b0a7a6bdcf3010b87 (diff) | |
download | linux-8e834ca551add86fd549b0830f36ec2f26d08667.tar.xz |
scsi: ufs: Add "wb_on" sysfs node to control WB on/off
Currently UFS WriteBooster driver uses clock scaling up/down to set WB
on/off. For the platforms which don't support UFSHCD_CAP_CLK_SCALING, WB
will be always on. Provide a sysfs attribute to enable/disable WB during
runtime. Write 1/0 to "wb_on" sysfs node to enable/disable UFS WB.
Link: https://lore.kernel.org/r/20210119163847.20165-2-huobean@gmail.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-ufs')
0 files changed, 0 insertions, 0 deletions