diff mbox series

[v3,4/4] arm64: dts: qcom: ipq6018: add LDOA2 regulator for rdp

Message ID 20240821101025.858961-5-amadeus@jmu.edu.cn
State New
Headers show
Series arm64: dts: qcom: ipq6018: rework CPU Frequency | expand

Commit Message

Chukun Pan Aug. 21, 2024, 10:10 a.m. UTC
Add LDOA2 regulator of MP5496 to support SDCC voltage scaling on RDP.

Suggested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 arch/arm64/boot/dts/qcom/ipq6018-rdp.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq6018-rdp.dtsi b/arch/arm64/boot/dts/qcom/ipq6018-rdp.dtsi
index bb56c1245f92..4aa17ed8235c 100644
--- a/arch/arm64/boot/dts/qcom/ipq6018-rdp.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq6018-rdp.dtsi
@@ -12,9 +12,18 @@  ipq6018_s2: s2 {
 			regulator-max-microvolt = <1062500>;
 			regulator-always-on;
 		};
+
+		ipq6018_l2: l2 {
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <3300000>;
+		};
 	};
 };
 
+&sdhc {
+	vqmmc-supply = <&ipq6018_l2>;
+};
+
 &CPU0 {
 	cpu-supply = <&ipq6018_s2>;
 };