arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators

Enable pm8994_s1, pm8994_l{26,29,30,32} regulators.
Use values from downstream kernel on bullhead rev 1.01.

NOTE: downstream kernel on angler rev 1.01 differences:
* pm8994_l29: regulator-min-microvolt = <2700000>
* pm8994_l{20,28,31}: use regulator-boot-on

Verification:
[    1.832460] s1: Bringing 0uV into 1025000-1025000uV
...
[    2.057667] l26: Bringing 0uV into 987500-987500uV
...
[    2.075722] l29: Bringing 0uV into 2800000-2800000uV
[    2.076604] l30: Bringing 0uV into 1800000-1800000uV
[    2.082431] l31: Bringing 0uV into 1262500-1262500uV
[    2.095767] l32: Bringing 0uV into 1800000-1800000uV

Fixes: f3b2c99e73 ("arm64: dts: Enable onboard SDHCI on msm8992")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Jamie Douglass <jamiemdouglass@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230203100952.13857-1-pvorel@suse.cz
This commit is contained in:
Petr Vorel
2023-02-03 11:09:52 +01:00
committed by Bjorn Andersson
parent 272fc52431
commit 2866527093

View File

@@ -94,8 +94,8 @@
/* S1, S2, S6 and S12 are managed by RPMPD */ /* S1, S2, S6 and S12 are managed by RPMPD */
pm8994_s1: s1 { pm8994_s1: s1 {
regulator-min-microvolt = <800000>; regulator-min-microvolt = <1025000>;
regulator-max-microvolt = <800000>; regulator-max-microvolt = <1025000>;
}; };
pm8994_s2: s2 { pm8994_s2: s2 {
@@ -251,11 +251,8 @@
}; };
pm8994_l26: l26 { pm8994_l26: l26 {
/* regulator-min-microvolt = <987500>;
* TODO: value from downstream regulator-max-microvolt = <987500>;
* regulator-min-microvolt = <987500>;
* fails to apply
*/
}; };
pm8994_l27: l27 { pm8994_l27: l27 {
@@ -269,19 +266,13 @@
}; };
pm8994_l29: l29 { pm8994_l29: l29 {
/* regulator-min-microvolt = <2800000>;
* TODO: Unsupported voltage range. regulator-max-microvolt = <2800000>;
* regulator-min-microvolt = <2800000>;
* regulator-max-microvolt = <2800000>;
*/
}; };
pm8994_l30: l30 { pm8994_l30: l30 {
/* regulator-min-microvolt = <1800000>;
* TODO: get this verified regulator-max-microvolt = <1800000>;
* regulator-min-microvolt = <1800000>;
* regulator-max-microvolt = <1800000>;
*/
}; };
pm8994_l31: l31 { pm8994_l31: l31 {
@@ -290,11 +281,8 @@
}; };
pm8994_l32: l32 { pm8994_l32: l32 {
/* regulator-min-microvolt = <1800000>;
* TODO: get this verified regulator-max-microvolt = <1800000>;
* regulator-min-microvolt = <1800000>;
* regulator-max-microvolt = <1800000>;
*/
}; };
}; };