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

From: Manivannan Sadhasivam
Date: Mon Oct 31 2022 - 14:03:57 EST


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@xxxxxxxxxx>
---
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