]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt
Merge remote-tracking branch 'xen-tip/linux-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / leds / backlight / pm8941-wled.txt
1 Binding for Qualcomm PM8941 WLED driver
2
3 Required properties:
4 - compatible: should be "qcom,pm8941-wled"
5 - reg: slave address
6
7 Optional properties:
8 - default-brightness: brightness value on boot, value from: 0-4095
9         default: 2048
10 - label: The name of the backlight device
11 - qcom,cs-out: bool; enable current sink output
12 - qcom,cabc: bool; enable content adaptive backlight control
13 - qcom,ext-gen: bool; use externally generated modulator signal to dim
14 - qcom,current-limit: mA; per-string current limit; value from 0 to 25
15         default: 20mA
16 - qcom,current-boost-limit: mA; boost current limit; one of:
17         105, 385, 525, 805, 980, 1260, 1400, 1680
18         default: 805mA
19 - qcom,switching-freq: kHz; switching frequency; one of:
20         600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371,
21         1600, 1920, 2400, 3200, 4800, 9600,
22         default: 1600kHz
23 - qcom,ovp: V; Over-voltage protection limit; one of:
24         27, 29, 32, 35
25         default: 29V
26 - qcom,num-strings: #; number of led strings attached; value from 1 to 3
27         default: 2
28
29 Example:
30
31 pm8941-wled@d800 {
32         compatible = "qcom,pm8941-wled";
33         reg = <0xd800>;
34         label = "backlight";
35
36         qcom,cs-out;
37         qcom,current-limit = <20>;
38         qcom,current-boost-limit = <805>;
39         qcom,switching-freq = <1600>;
40         qcom,ovp = <29>;
41         qcom,num-strings = <2>;
42 };