summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-driver-ufs
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2021-01-19 19:38:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-01-21 06:08:33 +0300
commit8e834ca551add86fd549b0830f36ec2f26d08667 (patch)
treede51669962a2ff23a6d84761d23eaab7e274d0c4 /Documentation/ABI/testing/sysfs-driver-ufs
parentf1ef9047aaab036edb39261b0a7a6bdcf3010b87 (diff)
downloadlinux-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