[PATCH V1 0/3] Add DT-based gear and rate limiting support

Ram Kumar Dwivedi posted 3 patches 2 months, 2 weeks ago
There is a newer version of this series
.../devicetree/bindings/ufs/qcom,ufs.yaml     | 10 +++++++
arch/arm64/boot/dts/qcom/sm8150.dtsi          |  3 ++
drivers/ufs/host/ufs-qcom.c                   | 29 +++++++++++++++----
3 files changed, 36 insertions(+), 6 deletions(-)
[PATCH V1 0/3] Add DT-based gear and rate limiting support
Posted by Ram Kumar Dwivedi 2 months, 2 weeks ago
This patch series adds support for limiting the maximum high-speed
gear and rate used by the UFS controller on Qualcomm platforms via
device tree.

Some automotive platforms, such as SA8155, require restricting the
maximum gear or rate due to hardware limitations. To support this,
the driver is extended to parse two new optional DT properties and
apply them during initialization. The default behavior remains
unchanged if these properties are not specified.

Ram Kumar Dwivedi (3):
  scsi: ufs: qcom: Add support for DT-based gear and rate limiting
  arm64: dts: qcom: sa8155: Add gear and rate limit properties to UFS
  dt-bindings: ufs: qcom: Document HS gear and rate limit properties

 .../devicetree/bindings/ufs/qcom,ufs.yaml     | 10 +++++++
 arch/arm64/boot/dts/qcom/sm8150.dtsi          |  3 ++
 drivers/ufs/host/ufs-qcom.c                   | 29 +++++++++++++++----
 3 files changed, 36 insertions(+), 6 deletions(-)

-- 
2.50.1
Re: [PATCH V1 0/3] Add DT-based gear and rate limiting support
Posted by Manivannan Sadhasivam 2 months, 2 weeks ago
On Tue, Jul 22, 2025 at 09:41:00PM GMT, Ram Kumar Dwivedi wrote:
> This patch series adds support for limiting the maximum high-speed
> gear and rate used by the UFS controller on Qualcomm platforms via
> device tree.
> 
> Some automotive platforms, such as SA8155, require restricting the
> maximum gear or rate due to hardware limitations. To support this,

What do you mean by 'hardware limitation'? Please explain.

- Mani

> the driver is extended to parse two new optional DT properties and
> apply them during initialization. The default behavior remains
> unchanged if these properties are not specified.
> 
> Ram Kumar Dwivedi (3):
>   scsi: ufs: qcom: Add support for DT-based gear and rate limiting
>   arm64: dts: qcom: sa8155: Add gear and rate limit properties to UFS
>   dt-bindings: ufs: qcom: Document HS gear and rate limit properties
> 
>  .../devicetree/bindings/ufs/qcom,ufs.yaml     | 10 +++++++
>  arch/arm64/boot/dts/qcom/sm8150.dtsi          |  3 ++
>  drivers/ufs/host/ufs-qcom.c                   | 29 +++++++++++++++----
>  3 files changed, 36 insertions(+), 6 deletions(-)
> 
> -- 
> 2.50.1
> 

-- 
மணிவண்ணன் சதாசிவம்