[PATCH v2 06/15] dt-bindings: ufs: Add "max-device-gear" property for UFS device

Manivannan Sadhasivam
2022-10-31T18:03:55Z

The maximum gear supported by the UFS device can be specified using the
"max-device-gear" property. This allows the UFS controller to configure the
TX/RX gear before starting communication with the UFS device.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
Documentation/devicetree/bindings/ufs/ufs-common.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/ufs/ufs-common.yaml b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
index 47a4e9e1a775..5dcd14909ad5 100644
--- a/Documentation/devicetree/bindings/ufs/ufs-common.yaml
+++ b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
@@ -73,6 +73,11 @@ properties:
description:
Specifies max. load that can be drawn from VCCQ2 supply.

+ max-device-gear:
+ description:
+ Specifies max. gear the UFS device supports.
+ enum: [1, 2, 3, 4, 5]
+
dependencies:
freq-table-hz: [ 'clocks' ]

--
2.25.1