ARM: dts: msm: add refgen regulator device for SDM845 v2
Add a refgen-regulator device for the South refgen used by the
CSI and DSI PHYs.
Change-Id: Ie8aad1e7dfbe1e318d7f2b1c6fcfcd4d4fc3f7cd
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/sdm845-regulator.dtsi b/arch/arm64/boot/dts/qcom/sdm845-regulator.dtsi
index 55fe84b4..f50df47 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-regulator.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-regulator.dtsi
@@ -1440,4 +1440,14 @@
qcom,init-voltage = <600000>;
};
};
+
+ refgen: refgen-regulator@ff1000 {
+ compatible = "qcom,refgen-regulator";
+ reg = <0xff1000 0x60>;
+ regulator-name = "refgen";
+ regulator-enable-ramp-delay = <5>;
+ status = "disabled";
+ proxy-supply = <&refgen>;
+ qcom,proxy-consumer-enable;
+ };
};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-v2.dtsi b/arch/arm64/boot/dts/qcom/sdm845-v2.dtsi
index 64d6d52..13ec352 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-v2.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-v2.dtsi
@@ -624,6 +624,10 @@
404000000 444000000 533000000>;
};
+&refgen {
+ status = "ok";
+};
+
&spss_utils {
qcom,spss-dev-firmware-name = "spss2d"; /* 8 chars max */
qcom,spss-test-firmware-name = "spss2t"; /* 8 chars max */