]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: qcom: msm8974: Disable wled and move it to honami
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Mon, 23 Nov 2015 19:04:07 +0000 (11:04 -0800)
committerAndy Gross <agross@codeaurora.org>
Wed, 9 Dec 2015 05:33:13 +0000 (23:33 -0600)
The properties specified in the wled node could harm connected hardware,
so move the properties to Honami and disable the platform node.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
arch/arm/boot/dts/qcom-pm8941.dtsi

index 37741725b7bdbe8d77f0dbdff8f909baa50c4962..a0398b69f4f226d947516a286ec14aa3297443fb 100644 (file)
@@ -403,4 +403,17 @@ coincell@2800 {
                        qcom,vset-millivolts = <3000>;
                };
        };
+
+       pm8941@1 {
+               wled@d800 {
+                       status = "ok";
+
+                       qcom,cs-out;
+                       qcom,current-limit = <20>;
+                       qcom,current-boost-limit = <805>;
+                       qcom,switching-freq = <1600>;
+                       qcom,ovp = <29>;
+                       qcom,num-strings = <2>;
+               };
+       };
 };
index a149c6f138707583c785dc5948c1f9852361f3b9..ca53a5947437525d1e706259909616c16a3d21de 100644 (file)
@@ -159,17 +159,12 @@ pm8941_1: pm8941@1 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               wled@d800 {
+               pm8941_wled: wled@d800 {
                        compatible = "qcom,pm8941-wled";
                        reg = <0xd800 0x100>;
                        label = "backlight";
 
-                       qcom,cs-out;
-                       qcom,current-limit = <20>;
-                       qcom,current-boost-limit = <805>;
-                       qcom,switching-freq = <1600>;
-                       qcom,ovp = <29>;
-                       qcom,num-strings = <2>;
+                       status = "disabled";
                };
        };
 };