Re: [PATCH V3 1/4] ufs: dt-bindings: Document gear and rate limit properties
From: Bart Van Assche
Date: Thu Aug 28 2025 - 14:28:01 EST
On 8/28/25 10:40 AM, Krzysztof Kozlowski wrote:
On 26/08/2025 17:35, Bart Van Assche wrote:
+ limit-rate:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [1, 2]
+ default: 2
+ description:
+ Restricts the UFS controller to Rate A (1) or Rate B (2) for both
+ TX and RX directions, often required in automotive environments due
+ to hardware limitations.
As far as I know no numeric values are associated with these rates in
the UFSHCI 4.1 standard nor in any of the previous versions of this
standard. Does the .yaml syntax support something like "enum: [A, B]"?
That's what I also requested and answer was "1" and "2" are coming from
the spec. So now I am confused.
Ram quoted from the MIPI spec. That's another standard than what I
referred to (UFSHCI).
Bart.