[PATCH v5 2/7] docs: ABI: Add wb_on documentation for UFS sysfs

From: Bean Huo
Date: Tue Dec 15 2020 - 19:09:08 EST


From: Bean Huo <beanhuo@xxxxxxxxxx>

Adds UFS sysfs documentation for new entry wb_on.

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

diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs
index d1a352194d2e..5a70d541b2f2 100644
--- a/Documentation/ABI/testing/sysfs-driver-ufs
+++ b/Documentation/ABI/testing/sysfs-driver-ufs
@@ -1019,3 +1019,11 @@ Contact: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
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: December 2020
+Contact: Bean Huo <beanhuo@xxxxxxxxxx>
+Description: This sets or displays whether UFS WriteBooster is enabled. Echo
+ 0 into this file to disable UFS WriteBooster or 1 to enable it. Note,
+ this is only allowed for the platform doesen't support
+ UFSHCD_CAP_CLK_SCALING.
--
2.17.1