From: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
To: Krzysztof Kozlowski <krzk@kernel.org>, <alim.akhtar@samsung.com>,
<avri.altman@wdc.com>, <bvanassche@acm.org>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>, <mani@kernel.org>,
<James.Bottomley@HansenPartnership.com>,
<martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH V4 1/4] ufs: dt-bindings: Document gear and rate limit properties
Date: Tue, 2 Sep 2025 22:22:13 +0530 [thread overview]
Message-ID: <0107dcce-45cb-419f-814b-3eccbbbe628d@quicinc.com> (raw)
In-Reply-To: <5cbfa653-03c3-41dd-a309-406eaf3b6033@kernel.org>
On 02-Sep-25 11:42 AM, Krzysztof Kozlowski wrote:
> On 01/09/2025 17:57, Ram Kumar Dwivedi wrote:
>> 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.
>>
>> Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
>> ---
>> .../devicetree/bindings/ufs/ufs-common.yaml | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/ufs/ufs-common.yaml b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
>> index 31fe7f30ff5b..b4c99fee552f 100644
>> --- a/Documentation/devicetree/bindings/ufs/ufs-common.yaml
>> +++ b/Documentation/devicetree/bindings/ufs/ufs-common.yaml
>> @@ -89,6 +89,22 @@ properties:
>>
>> msi-parent: true
>>
>> + limit-hs-gear:
>> + $ref: /schemas/types.yaml#/definitions/uint32
>> + minimum: 1
>> + maximum: 5
>
> No improvements.
Hi Krzysztof,
I have updated it in the next patchset.
Thanks,
Ram.>
>> + default: 5
>> + description:
>> + Restricts the maximum HS gear used in both TX and RX directions.
>> +
>> + limit-rate:
>> + $ref: /schemas/types.yaml#/definitions/string
>> + enum: [Rate-A, Rate-B]
>
> lowercase
I have updated it in the next patchset.
Thanks,
Ram.>
>> + default: Rate-B
>
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2025-09-02 16:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 15:57 [PATCH V4 0/4] Add DT-based gear and rate limiting support Ram Kumar Dwivedi
2025-09-01 15:57 ` [PATCH V4 1/4] ufs: dt-bindings: Document gear and rate limit properties Ram Kumar Dwivedi
2025-09-02 6:12 ` Krzysztof Kozlowski
2025-09-02 16:52 ` Ram Kumar Dwivedi [this message]
2025-09-01 15:57 ` [PATCH V4 2/4] ufs: ufs-qcom: Remove redundant re-assignment to hs_rate Ram Kumar Dwivedi
2025-09-01 15:57 ` [PATCH V4 3/4] ufs: pltfrm: Allow limiting HS gear and rate via DT Ram Kumar Dwivedi
2025-09-02 4:49 ` kernel test robot
2025-09-01 15:58 ` [PATCH V4 4/4] ufs: ufs-qcom: Add support for limiting HS gear and rate Ram Kumar Dwivedi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0107dcce-45cb-419f-814b-3eccbbbe628d@quicinc.com \
--to=quic_rdwivedi@quicinc.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mani@kernel.org \
--cc=martin.petersen@oracle.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®