diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs
index ae0191295d29..efa1e2df292c 100644
--- a/Documentation/ABI/testing/sysfs-driver-ufs
+++ b/Documentation/ABI/testing/sysfs-driver-ufs
@@ -1604,3 +1604,55 @@ Description:
prevent the UFS from frequently performing clock gating/ungating.
The attribute is read/write.
+
+What: /sys/bus/platform/drivers/ufshcd/*/wb_resize_enable
+What: /sys/bus/platform/devices/*.ufs/wb_resize_enable
+Date: April 2025
+Contact: Huan Tang <tanghuan@xxxxxxxx>
+Description:
+ The host can decrease or increase the WriteBooster Buffer size by setting
+ this attribute.
+
+ ======== ======================================
+ IDLE There is no resize operation
+ DECREASE Decrease WriteBooster buffer size
+ INCREASE Increase WriteBooster buffer size
+ Others Reserved
+ ======== ======================================
+
+ The attribute is write only.
+static const char *ufs_wb_resize_hint_to_string(enum wb_resize_hint hint)
+{
+ switch (hint) {
+ case WB_RESIZE_HINT_KEEP: return "KEEP";
+ case WB_RESIZE_HINT_DECREASE: return "DECREASE";
+ case WB_RESIZE_HINT_INCREASE: return "INCREASE";
+ default: return "UNKNOWN";
+ }
+}