lkml.org 
[lkml]   [2021]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v7 2/6] docs: ABI: Add wb_on documentation for new entry wb_on
Date
From: Bean Huo <beanhuo@micron.com>

Adds UFS sysfs documentation for new entry wb_on.

Signed-off-by: Bean Huo <beanhuo@micron.com>
---
Documentation/ABI/testing/sysfs-driver-ufs | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs
index adc0d0e91607..f756fd0eba19 100644
--- a/Documentation/ABI/testing/sysfs-driver-ufs
+++ b/Documentation/ABI/testing/sysfs-driver-ufs
@@ -1153,3 +1153,14 @@ Description: This entry shows the configured size of WriteBooster buffer.
0400h corresponds to 4GB.

The file is read only.
+
+What: /sys/bus/platform/drivers/ufshcd/*/wb_on
+Date: January 2021
+Contact: Bean Huo <beanhuo@micron.com>
+Description: This node is used to set or display whether UFS WriteBooster is
+ enabled. Echo 0 to this file to disable UFS WriteBooster or 1 to enable
+ it. The WriteBooster is enabled after power-on/reset, however, it will
+ be disabled/enable while CLK scaling down/up (if the platform supports
+ UFSHCD_CAP_CLK_SCALING). For a platform that doesn't support
+ UFSHCD_CAP_CLK_SCALING, we can disable/enable WriteBooster through this
+ sysfs node.
--
2.17.1
\
 
 \ /
  Last update: 2021-01-19 17:41    [W:0.061 / U:2.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site