OSDN Git Service

ARM: dts: qcom: msm8974-klte: Mark essential regulators
authorIskren Chernev <iskren.chernev@gmail.com>
Mon, 1 Feb 2021 10:56:57 +0000 (12:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 2 Feb 2021 22:45:09 +0000 (16:45 -0600)
s1 and l12 regulators are used for the memory and cache on the Samsung
S5 (klte). If they are turned off the phone shuts down. So mark them as
always-on to prevent that from happening.

Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Link: https://lore.kernel.org/r/20210201105657.1642825-4-iskren.chernev@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts

index d042c7c..a0f7f46 100644 (file)
@@ -30,6 +30,7 @@
                                        pma8084_s1: s1 {
                                                regulator-min-microvolt = <675000>;
                                                regulator-max-microvolt = <1050000>;
+                                               regulator-always-on;
                                        };
 
                                        pma8084_s2: s2 {
                                        pma8084_l12: l12 {
                                                regulator-min-microvolt = <1800000>;
                                                regulator-max-microvolt = <1800000>;
+                                               regulator-always-on;
                                        };
 
                                        pma8084_l13: l13 {