diff options
| author | Bean Huo <beanhuo@micron.com> | 2021-01-19 17:38:42 +0100 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-20 22:08:33 -0500 |
| commit | 8e834ca551add86fd549b0830f36ec2f26d08667 (patch) | |
| tree | de51669962a2ff23a6d84761d23eaab7e274d0c4 /scripts/gdb/linux/timerlist.py | |
| parent | f1ef9047aaab036edb39261b0a7a6bdcf3010b87 (diff) | |
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 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
