About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / leds / leds-pm8941-wled.txt


Based on kernel version 4.2. Page generated on 2015-09-09 12:09 EST.

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 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	
30	Example:
31	
32	pm8941-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	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog