OSDN Git Service

ARM: dts: msm: Add regulator node to flash-led for pmicobalt
authorDevesh Jhunjhunwala <deveshj@codeaurora.org>
Fri, 27 May 2016 09:46:12 +0000 (02:46 -0700)
committerKyle Yan <kyan@codeaurora.org>
Tue, 12 Jul 2016 01:56:24 +0000 (18:56 -0700)
The flash-led switch node must vote on the pmicobalt BoB
regulator. Hence, add this regulator node to that.

CRs-Fixed: 1024187
Change-Id: Ic4ec03e4fd545d44118c2225a3f8e26901ca1d81
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi

index f5b59e6..c43ac03 100644 (file)
                        pmicobalt_switch: qcom,led_switch {
                                label = "switch";
                                qcom,led-name = "led:switch";
-                               qcom,default-led-trigger =
-                                                       "switch_trigger";
+                               qcom,default-led-trigger = "switch_trigger";
+                               reg0 {
+                                       regulator-name = "pmicobalt_bob";
+                                       max-voltage-uv = <3600000>;
+                               };
                        };
                };
        };