ARM: dts: qcom: add active and sleep L1F and L3G regulators for Sun

Add active-only and sleep-only regulator subnodes for rpmh-regulator
devices L1F and L3G on Sun boards.  This allows requests to be issued
for them that are tied to the application processor's power collapse
state.

Change-Id: Ia8fd8c3aef5c5abfec1044ba3287b1a59f1d5824
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
David Collins
2024-02-26 18:02:48 -08:00
parent e908235d5f
commit 7a007c4dd0
2 changed files with 46 additions and 0 deletions

View File

@@ -47,6 +47,14 @@
regulator-name = "pm_v8f_l1"; regulator-name = "pm_v8f_l1";
}; };
&L1F_AO {
regulator-name = "pm_v8f_l1_ao";
};
&L1F_SO {
regulator-name = "pm_v8f_l1_so";
};
&L2F { &L2F {
regulator-name = "pm_v8f_l2"; regulator-name = "pm_v8f_l2";
}; };

View File

@@ -801,6 +801,25 @@
qcom,init-voltage = <880000>; qcom,init-voltage = <880000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>; qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
}; };
L1F_AO: pm_v6f_l1_ao: pm_v8f_l1_ao: regulator-pm-vxf-l1-ao {
regulator-name = "pm_v6f_l1_ao";
qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
regulator-min-microvolt = <880000>;
regulator-max-microvolt = <920000>;
qcom,init-voltage = <880000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
};
L1F_SO: pm_v6f_l1_so: pm_v8f_l1_so: regulator-pm-vxf-l1-so {
regulator-name = "pm_v6f_l1_so";
qcom,set = <RPMH_REGULATOR_SET_SLEEP>;
regulator-min-microvolt = <880000>;
regulator-max-microvolt = <920000>;
qcom,init-voltage = <880000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
qcom,init-enable = <0>;
};
}; };
rpmh-regulator-ldof2 { rpmh-regulator-ldof2 {
@@ -939,6 +958,25 @@
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>; qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
qcom,proxy-consumer-enable; qcom,proxy-consumer-enable;
}; };
L3G_AO: pm_v8g_l3_ao: regulator-pm-v8g-l3-ao {
regulator-name = "pm_v8g_l3_ao";
qcom,set = <RPMH_REGULATOR_SET_ACTIVE>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1256000>;
qcom,init-voltage = <1200000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
};
regulator-pm-v8g-l3-so {
regulator-name = "pm_v8g_l3_so";
qcom,set = <RPMH_REGULATOR_SET_SLEEP>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1256000>;
qcom,init-voltage = <1200000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>;
qcom,init-enable = <0>;
};
}; };
rpmh-regulator-smpi7 { rpmh-regulator-smpi7 {