This series enables UFS support on SC7280 devices with UFS3.1.
SC7280 devices with UFS2.2 were already working.

The root cause was ABL leaving vcc-supply regulator disabled on UFS3.1
devices, and enabled on UFS2.2 devices that worked fine without
regulator support.

Signed-off-by: Federico Amedeo Izzo <[email protected]>
---
Changes in v3:
- Fix bug causing HPM mode not being applied. Removed LPM/HPM hack
- Read regulator mode from dts property instead of hardcoding it
- Link to v2: 
https://patch.msgid.link/[email protected]

Changes in v2:
- Add vccq2-supply for UFS2.2 devices without internal eLDO regulator
- Fix wrong topic
- Link to v1: 
https://patch.msgid.link/[email protected]

To: Sumit Garg <[email protected]>
To: [email protected]
To: [email protected]
Cc: Jaehoon Chung <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Casey Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Luca Weiss <[email protected]>
Cc: Aswin Murugan <[email protected]>
Cc: Federico Amedeo Izzo <[email protected]>
Cc: Bhupesh Sharma <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Julien Stephan <[email protected]>
Cc: Marek Vasut <[email protected]>

---
Federico Amedeo Izzo (2):
      regulator: qcom-rpmh-regulator: fix regulator mode mismatch
      ufs: qcom: add ufs host regulator support

 drivers/power/regulator/qcom-rpmh-regulator.c |  3 +--
 drivers/ufs/ufs-qcom.c                        | 33 +++++++++++++++++++++++++++
 drivers/ufs/ufs-qcom.h                        |  4 ++++
 3 files changed, 38 insertions(+), 2 deletions(-)
---
base-commit: 744cf5d4e398c5f657e5c3eeb44d00fa5175dc85
change-id: 20260521-qcom-ufs-regulator-support-466ea6ad202a

Best regards,
--  
Federico Amedeo Izzo <[email protected]>


Reply via email to