summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-01-04 15:40:17 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-04 15:40:17 -0800
commit4752ef6f661eabdd179ed4fa975ea624be4f0488 (patch)
tree823d7adf5da01805ee09b2db8b90a14fbbb16b65
parent8bb66a7e413624884e697d295b7e136f96209cd9 (diff)
parentc59063c0b8b46180b8c858a61ac72176a8bbf643 (diff)
Merge "ARM: dts: msm: Enable red LED blinking for pm660"
-rw-r--r--arch/arm/boot/dts/qcom/msm-pm660l.dtsi21
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pm660l.dtsi b/arch/arm/boot/dts/qcom/msm-pm660l.dtsi
index a9820cfbc02c..d0033d5bf3bc 100644
--- a/arch/arm/boot/dts/qcom/msm-pm660l.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-pm660l.dtsi
@@ -167,6 +167,17 @@
qcom,supported-sizes = <6>, <9>;
qcom,ramp-index = <2>;
#pwm-cells = <2>;
+ qcom,period = <6000000>;
+
+ qcom,lpg {
+ label = "lpg";
+ cell-index = <0>;
+ qcom,duty-percents =
+ <0x01 0x0a 0x14 0x1e 0x28 0x32 0x3c
+ 0x46 0x50 0x5a 0x64
+ 0x64 0x5a 0x50 0x46 0x3c 0x32 0x28 0x1e
+ 0x14 0x0a 0x01>;
+ };
};
pm660l_pwm_4: pwm@b400 {
@@ -197,8 +208,12 @@
qcom,max-current = <12>;
qcom,default-state = "off";
linux,name = "red";
- linux,default-trigger =
- "battery-charging";
+ qcom,start-idx = <0>;
+ qcom,idx-len = <22>;
+ qcom,duty-pcts =
+ [01 0a 14 1e 28 32 3c 46 50 5a 64
+ 64 5a 50 46 3c 32 28 1e 14 0a 01];
+ qcom,use-blink;
};
green_led: qcom,rgb_1 {
@@ -210,7 +225,6 @@
qcom,max-current = <12>;
qcom,default-state = "off";
linux,name = "green";
- linux,default-trigger = "battery-full";
};
blue_led: qcom,rgb_2 {
@@ -222,7 +236,6 @@
qcom,max-current = <12>;
qcom,default-state = "off";
linux,name = "blue";
- linux,default-trigger = "boot-indication";
};
};