ARM: dts: qcom: pm8941: add 5vs2 regulator node
authorBrian Masney <masneyb@onstation.org>
Mon, 7 Oct 2019 01:45:07 +0000 (21:45 -0400)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 7 Oct 2019 05:45:21 +0000 (22:45 -0700)
pm8941 is missing the 5vs2 regulator node so let's add it since its
needed to get the external display working. This regulator was already
configured in the interrupts property on the parent node.

Note that this regulator is referred to as mvs2 in the downstream MSM
kernel sources.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-pm8941.dtsi

index f198480c8ef41e09e7910ea8c1b813366e9ed361..c1f2012d1c8b615714ce0dc510dac6d4e748ad96 100644 (file)
                                qcom,vs-soft-start-strength = <0>;
                                regulator-initial-mode = <1>;
                        };
+
+                       pm8941_5vs2: 5vs2 {
+                               regulator-enable-ramp-delay = <1000>;
+                               regulator-pull-down;
+                               regulator-over-current-protection;
+                               qcom,ocp-max-retries = <10>;
+                               qcom,ocp-retry-delay = <30>;
+                               qcom,vs-soft-start-strength = <0>;
+                               regulator-initial-mode = <1>;
+                       };
                };
        };
 };