aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevi Priya <[email protected]>2023-05-17 22:55:26 +0530
committerBjorn Andersson <[email protected]>2023-05-26 12:26:13 -0700
commit56ba2b3aeb4b76549a7759e79bd44330cd9b885a (patch)
tree91387eaefe4e90c76824fc7d749c706f5774401b
parent8cc864a4375dd62023a2880050bf618a225cb907 (diff)
arm64: dts: qcom: ipq9574: Add SMPA1 regulator node
Add support for SMPA1 regulator node in IPQ9574. Reviewed-by: Konrad Dybcio <[email protected]> Co-developed-by: Praveenkumar I <[email protected]> Signed-off-by: Praveenkumar I <[email protected]> Signed-off-by: Devi Priya <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
index 2ce8e09e7565..2b3ed8d351f7 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
@@ -29,6 +29,25 @@
status = "okay";
};
+&rpm_requests {
+ regulators {
+ compatible = "qcom,rpm-mp5496-regulators";
+
+ ipq9574_s1: s1 {
+ /*
+ * During kernel bootup, the SoC runs at 800MHz with 875mV set by the bootloaders.
+ * During regulator registration, kernel not knowing the initial voltage,
+ * considers it as zero and brings up the regulators with minimum supported voltage.
+ * Update the regulator-min-microvolt with SVS voltage of 725mV so that
+ * the regulators are brought up with 725mV which is sufficient for all the
+ * corner parts to operate at 800MHz
+ */
+ regulator-min-microvolt = <725000>;
+ regulator-max-microvolt = <1075000>;
+ };
+ };
+};
+
&sdhc_1 {
pinctrl-0 = <&sdc_default_state>;
pinctrl-names = "default";