Skip to content

Commit 9194566

Browse files
Ram Kumar Dwivedimartinkpetersen
authored andcommitted
scsi: ufs: dt-bindings: Document gear and rate limit properties
Add optional "limit-hs-gear" and "limit-rate" properties to the UFS controller common binding. These properties allow limiting the maximum HS gear and rate. This is useful in cases where the customer board may have signal integrity, clock configuration or layout issues that prevent reliable operation at higher gears. Such limitations are especially critical in those platforms, where stability is prioritized over peak performance. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 8f5ae30 commit 9194566

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Documentation/devicetree/bindings/ufs/ufs-common.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ properties:
8989

9090
msi-parent: true
9191

92+
limit-hs-gear:
93+
$ref: /schemas/types.yaml#/definitions/uint32
94+
minimum: 1
95+
maximum: 6
96+
default: 6
97+
description:
98+
Restricts the maximum HS gear used in both TX and RX directions.
99+
100+
limit-gear-rate:
101+
$ref: /schemas/types.yaml#/definitions/string
102+
enum: [rate-a, rate-b]
103+
default: rate-b
104+
description:
105+
Restricts the UFS controller to rate-a or rate-b for both TX and
106+
RX directions.
107+
92108
dependencies:
93109
freq-table-hz: [ clocks ]
94110
operating-points-v2: [ clocks, clock-names ]

0 commit comments

Comments
 (0)