[PATCH v4 0/8] Add UFS support for SC7180/SM7125

From: David Wronek
Date: Sun Jan 21 2024 - 11:59:33 EST


This patchset introduces UFS support for SC7180 and SM7125, as well as
support for the Xiaomi Redmi Note 9S.

To: Bjorn Andersson <andersson@xxxxxxxxxx>
To: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
To: David S. Miller <davem@xxxxxxxxxxxxx>
To: Rob Herring <robh+dt@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
To: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
To: Avri Altman <avri.altman@xxxxxxx>
To: Bart Van Assche <bvanassche@xxxxxxx>
To: Andy Gross <agross@xxxxxxxxxx>
To: Vinod Koul <vkoul@xxxxxxxxxx>
To: Kishon Vijay Abraham I <kishon@xxxxxxxxxx>
To: <cros-qcom-dts-watchers@xxxxxxxxxxxx>
Cc: <linux-arm-msm@xxxxxxxxxxxxxxx>
Cc: <linux-crypto@xxxxxxxxxxxxxxx>
Cc: <devicetree@xxxxxxxxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Cc: <linux-scsi@xxxxxxxxxxxxxxx>
Cc: <linux-phy@xxxxxxxxxxxxxxxxxxx>
CC: <~postmarketos/upstreaming@xxxxxxxxxxx>

Signed-off-by: David Wronek <davidwronek@xxxxxxxxx>
---
Changes in v4:
- Add Reviewed-by tag from Dmitry Baryshkov to fifth patch

Changes in v3:
- Use SM7150 UFS PHY compatible as a fallback
- Fix dts style issues
- Add regulator-allow-set-load and allowed-modes to UFS regulators

Changes in v2:
- Fix device tree binding for QMP PHY
- Separate ICE into its own node
- Fix style problems in sc7180.dtsi

---
David Wronek (7):
dt-bindings: crypto: ice: Document SC7180 inline crypto engine
dt-bindings: ufs: qcom: Add SC7180 compatible string
dt-bindings: phy: Add QMP UFS PHY compatible for SC7180
dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S
phy: qcom: qmp-ufs: Add SC7180 support
arm64: dts: qcom: sc7180: Add UFS nodes
arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes

Joe Mason (1):
arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S

Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
.../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 +
.../devicetree/bindings/ufs/qcom,ufs.yaml | 2 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 ++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi | 28 +++++++++
arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 +++++
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +
9 files changed, 124 insertions(+)
---
base-commit: ad5c60d66016e544c51ed98635a74073f761f45d
change-id: 20240121-sm7125-upstream-68072e5794bb

Best regards,
--
David Wronek <davidwronek@xxxxxxxxx>