[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <03402267-3953-462b-9e3f-b0053a9cdcd8@quicinc.com>
Date: Thu, 28 Aug 2025 21:55:56 +0530
From: Ram Kumar Dwivedi <quic_rdwivedi@...cinc.com>
To: Bart Van Assche <bvanassche@....org>, <alim.akhtar@...sung.com>,
<avri.altman@....com>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <mani@...nel.org>,
<James.Bottomley@...senPartnership.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH V3 1/4] ufs: dt-bindings: Document gear and rate limit
properties
On 26-Aug-25 9:05 PM, Bart Van Assche wrote:
> On 8/26/25 8:08 AM, Ram Kumar Dwivedi wrote:
>> + limit-hs-gear:
>> + $ref: /schemas/types.yaml#/definitions/uint32
>> + minimum: 1
>> + maximum: 5
>> + default: 5
>> + description:
>> + Restricts the maximum HS gear used in both TX and RX directions,
>> + typically for hardware or power constraints in automotive use cases.
>
> The UFSHCI 5.0 spec will add gear 6 soon. So why to restrict the maximum
> gear to 5?
Hi Bart,
Thanks for the suggestion. I limited it to Gear 5 based on current upstream support.
But I am fine with updating it to Gear 6 if you prefer, to align with the upcoming
spec and avoid future revisions.
Thanks,
Ram.
>
>> + 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]"?
>
> Thanks,
>
> Bart.
Powered by blists - more mailing lists