Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: mahua-qcb: Enable UFS
@ 2026-11-30 14:11 Pradeep P V K
  2026-12-02 14:33 ` Konrad Dybcio
  0 siblings, 1 reply; 3+ messages in thread
From: Pradeep P V K @ 2026-11-30 14:11 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, nitin.rawat, Pradeep P V K

Mahua reuses the Glymur UFS configuration without any changes.
Move the UFS controller and UFS PHY nodes from glymur-qcb.dts to
glymur-qcb.dtsi so they can be shared by both Glymur and Mahua QCB
platforms. Also update the UFS PHY handle for the symbol clocks in
the GCC node.

Signed-off-by: Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>
---
Changes in v2:
- Move UFS and UFS PHY nodes from glymur-qcb.dts to glymur-qcb.dtsi [Konrad, sashiko-bot]
- Update the commit message to reflect mahua.dtsi change [sashiko-bot]
- Link to v1: https://lore.kernel.org/r/20261129-mahua-qcb-ufs-changes-v1-1-776a9d69ee64@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/glymur-qcb.dts  | 18 ------------------
 arch/arm64/boot/dts/qcom/glymur-qcb.dtsi | 18 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/mahua.dtsi      |  6 +++---
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur-qcb.dts b/arch/arm64/boot/dts/qcom/glymur-qcb.dts
index 3242f8ffbba5..42eca6c7db07 100644
--- a/arch/arm64/boot/dts/qcom/glymur-qcb.dts
+++ b/arch/arm64/boot/dts/qcom/glymur-qcb.dts
@@ -12,21 +12,3 @@ / {
 	model = "Qualcomm Technologies, Inc. Glymur QCB";
 	compatible = "qcom,glymur-qcb", "qcom,glymur";
 };
-
-&ufs_mem_hc {
-	reset-gpios = <&tlmm 250 GPIO_ACTIVE_LOW>;
-
-	vcc-supply = <&vreg_l17b0>;
-	vcc-max-microamp = <1200000>;
-	vccq-supply = <&vreg_l12b0>;
-	vccq-max-microamp = <1200000>;
-
-	status = "okay";
-};
-
-&ufs_mem_phy {
-	vdda-phy-supply = <&vreg_l1c1>;
-	vdda-pll-supply = <&vreg_l4f1>;
-
-	status = "okay";
-};
diff --git a/arch/arm64/boot/dts/qcom/glymur-qcb.dtsi b/arch/arm64/boot/dts/qcom/glymur-qcb.dtsi
index 7173ab5bbeba..b3f0883ea009 100644
--- a/arch/arm64/boot/dts/qcom/glymur-qcb.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur-qcb.dtsi
@@ -472,3 +472,21 @@ bluetooth {
 		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
 	};
 };
+
+&ufs_mem_hc {
+	reset-gpios = <&tlmm 250 GPIO_ACTIVE_LOW>;
+
+	vcc-supply = <&vreg_l17b0>;
+	vcc-max-microamp = <1200000>;
+	vccq-supply = <&vreg_l12b0>;
+	vccq-max-microamp = <1200000>;
+
+	status = "okay";
+};
+
+&ufs_mem_phy {
+	vdda-phy-supply = <&vreg_l1c1>;
+	vdda-pll-supply = <&vreg_l4f1>;
+
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi
index e7141f8c9e0d..9478a0b5f178 100644
--- a/arch/arm64/boot/dts/qcom/mahua.dtsi
+++ b/arch/arm64/boot/dts/qcom/mahua.dtsi
@@ -122,9 +122,9 @@ &gcc {
 		 <0>,				/* QUSB4 1 PHY RX 1 */
 		 <0>,				/* QUSB4 2 PHY RX 0 */
 		 <0>,				/* QUSB4 2 PHY RX 1 */
-		 <0>,				/* UFS PHY RX Symbol 0 */
-		 <0>,				/* UFS PHY RX Symbol 1 */
-		 <0>,				/* UFS PHY TX Symbol 0 */
+		 <&ufs_mem_phy 0>,
+		 <&ufs_mem_phy 1>,
+		 <&ufs_mem_phy 2>,
 		 <&usb_0_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
 		 <&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
 		 <&usb_2_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,

---
base-commit: e5aad2bdbbee783611d32599f89cea3f12f9593d
change-id: 20261129-mahua-qcb-ufs-changes-9cbe7a002d5d

Best regards,
-- 
Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-03 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 14:11 [PATCH v2] arm64: dts: qcom: mahua-qcb: Enable UFS Pradeep P V K
2026-12-02 14:33 ` Konrad Dybcio
2026-12-03 13:55   ` Pradeep Pragallapati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox