ARM: dts: qcom: keep L1F and L3G active-only regulators always-on for Sun

Configure the L1F and L3G active-only regulator to be always enabled
in high power mode (HPM).  These regulators power REFGENs and PLLs
used by the application processor itself.  Unconditional active-only
voting is needed since the software running on the application
processor won't be capable of removing L1F and L3G votes after the
application processor subsystem is power collapsed.

Change-Id: I750da467f408f35b6015a2286696609f234abdc4
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
David Collins
2024-02-26 18:11:58 -08:00
parent 7a007c4dd0
commit be218faaea

View File

@@ -792,6 +792,7 @@
<RPMH_REGULATOR_MODE_LPM <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>; RPMH_REGULATOR_MODE_HPM>;
qcom,mode-threshold-currents = <0 30000>; qcom,mode-threshold-currents = <0 30000>;
qcom,send-defaults;
L1F: pm_v6f_l1: pm_v8f_l1: regulator-pm-vxf-l1 { L1F: pm_v6f_l1: pm_v8f_l1: regulator-pm-vxf-l1 {
regulator-name = "pm_v6f_l1"; regulator-name = "pm_v6f_l1";
@@ -808,7 +809,8 @@
regulator-min-microvolt = <880000>; regulator-min-microvolt = <880000>;
regulator-max-microvolt = <920000>; regulator-max-microvolt = <920000>;
qcom,init-voltage = <880000>; qcom,init-voltage = <880000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>; qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
}; };
L1F_SO: pm_v6f_l1_so: pm_v8f_l1_so: regulator-pm-vxf-l1-so { L1F_SO: pm_v6f_l1_so: pm_v8f_l1_so: regulator-pm-vxf-l1-so {
@@ -948,6 +950,7 @@
RPMH_REGULATOR_MODE_HPM>; RPMH_REGULATOR_MODE_HPM>;
qcom,mode-threshold-currents = <0 30000>; qcom,mode-threshold-currents = <0 30000>;
proxy-supply = <&L3G>; proxy-supply = <&L3G>;
qcom,send-defaults;
L3G: pm_v8g_l3: regulator-pm-v8g-l3 { L3G: pm_v8g_l3: regulator-pm-v8g-l3 {
regulator-name = "pm_v8g_l3"; regulator-name = "pm_v8g_l3";
@@ -965,7 +968,8 @@
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1256000>; regulator-max-microvolt = <1256000>;
qcom,init-voltage = <1200000>; qcom,init-voltage = <1200000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_LPM>; qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
}; };
regulator-pm-v8g-l3-so { regulator-pm-v8g-l3-so {