[PATCH V1 0/4] Add support to configure regulator load for UFS QMP PHY

Nitin Rawat posted 4 patches 1 month, 4 weeks ago
.../phy/qcom,sc8280xp-qmp-ufs-phy.yaml        | 10 +++++++++
arch/arm64/boot/dts/qcom/sm8650-hdk.dts       |  2 ++
arch/arm64/boot/dts/qcom/sm8650-mtp.dts       |  3 ++-
arch/arm64/boot/dts/qcom/sm8650-qrd.dts       |  2 ++
arch/arm64/boot/dts/qcom/sm8750-mtp.dts       |  2 ++
arch/arm64/boot/dts/qcom/sm8750-qrd.dts       |  2 ++
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 22 ++++++++++++++++---
7 files changed, 39 insertions(+), 4 deletions(-)
[PATCH V1 0/4] Add support to configure regulator load for UFS QMP PHY
Posted by Nitin Rawat 1 month, 4 weeks ago
Add support in the Qualcomm QMP UFS PHY driver to configure regulator
load using max-microamp values from the device tree.

Patch introduces two optional properties in the SC8280XP QMP UFS
PHY binding.

These properties define the expected maximum current (in microamps) for
each supply. The driver uses this information to configure regulators
more accurately and ensure they operate in the correct mode based on
client load requirements.

This change is tested on m8550-qrd, m8750-mtp and sm8650-mtp.

Nitin Rawat (4):
  dt-bindings: phy: Add max-microamp properties for PHY and PLL supplies
  arm64: dts: qcom: sm8750: add max-microamp for UFS PHY and PLL
    supplies
  arm64: dts: qcom: sm8650: add max-microamp for UFS PHY and PLL
    supplies
  phy: qcom-qmp-ufs: read max-microamp values from device tree

 .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml        | 10 +++++++++
 arch/arm64/boot/dts/qcom/sm8650-hdk.dts       |  2 ++
 arch/arm64/boot/dts/qcom/sm8650-mtp.dts       |  3 ++-
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts       |  2 ++
 arch/arm64/boot/dts/qcom/sm8750-mtp.dts       |  2 ++
 arch/arm64/boot/dts/qcom/sm8750-qrd.dts       |  2 ++
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 22 ++++++++++++++++---
 7 files changed, 39 insertions(+), 4 deletions(-)

--
2.48.1