aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCourtney Cavin <courtney.cavin@sonymobile.com>2015-03-12 11:47:07 -0400
committerBryan Wu <cooloney@gmail.com>2015-03-30 14:55:49 -0400
commitcbbd896f25316e823af228432c690c35992d60f4 (patch)
tree2c75ceb4a6eba1a7179075de38240b51e7e960ad
parenta44b0f5edfc63dc06af9bb0ae473f7852d8d2cb6 (diff)
leds: add DT binding for Qualcomm PM8941 WLED block
This adds device tree binding documentation for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt b/Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt
new file mode 100644
index 000000000000..a85a964d61f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/leds-pm8941-wled.txt
@@ -0,0 +1,43 @@
1Binding for Qualcomm PM8941 WLED driver
2
3Required properties:
4- compatible: should be "qcom,pm8941-wled"
5- reg: slave address
6
7Optional properties:
8- label: The label for this led
9 See Documentation/devicetree/bindings/leds/common.txt
10- linux,default-trigger: Default trigger assigned to the LED
11 See Documentation/devicetree/bindings/leds/common.txt
12- qcom,cs-out: bool; enable current sink output
13- qcom,cabc: bool; enable content adaptive backlight control
14- qcom,ext-gen: bool; use externally generated modulator signal to dim
15- qcom,current-limit: mA; per-string current limit; value from 0 to 25
16 default: 20mA
17- qcom,current-boost-limit: mA; boost current limit; one of:
18 105, 385, 525, 805, 980, 1260, 1400, 1680
19 default: 805mA
20- qcom,switching-freq: kHz; switching frequency; one of:
21 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371,
22 1600, 1920, 2400, 3200, 4800, 9600,
23 default: 1600kHz
24- qcom,ovp: V; Over-voltage protection limit; one of:
25 27, 29, 32, 35
26 default: 29V
27- qcom,num-strings: #; number of led strings attached; value from 1 to 3
28 default: 2
29
30Example:
31
32pm8941-wled@d800 {
33 compatible = "qcom,pm8941-wled";
34 reg = <0xd800>;
35 label = "backlight";
36
37 qcom,cs-out;
38 qcom,current-limit = <20>;
39 qcom,current-boost-limit = <805>;
40 qcom,switching-freq = <1600>;
41 qcom,ovp = <29>;
42 qcom,num-strings = <2>;
43};