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