About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / video / backlight / lp855x.txt


Based on kernel version 4.3. Page generated on 2015-11-02 12:47 EST.

1	lp855x bindings
2	
3	Required properties:
4	  - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
5	                "ti,lp8555", "ti,lp8556", "ti,lp8557"
6	  - reg: I2C slave address (u8)
7	  - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
8	
9	Optional properties:
10	  - bl-name: Backlight device name (string)
11	  - init-brt: Initial value of backlight brightness (u8)
12	  - pwm-period: PWM period value. Set only PWM input mode used (u32)
13	  - rom-addr: Register address of ROM area to be updated (u8)
14	  - rom-val: Register value to be updated (u8)
15	  - power-supply: Regulator which controls the 3V rail
16	
17	Example:
18	
19		/* LP8555 */
20		backlight@2c {
21			compatible = "ti,lp8555";
22			reg = <0x2c>;
23	
24			dev-ctrl = /bits/ 8 <0x00>;
25			pwm-period = <10000>;
26	
27			/* 4V OV, 4 output LED0 string enabled */
28			rom_14h {
29				rom-addr = /bits/ 8 <0x14>;
30				rom-val = /bits/ 8 <0xcf>;
31			};
32	
33			/* Heavy smoothing, 24ms ramp time step */
34			rom_15h {
35				rom-addr = /bits/ 8 <0x15>;
36				rom-val = /bits/ 8 <0xc7>;
37			};
38	
39			/* 4 output LED1 string enabled */
40			rom_19h {
41				rom-addr = /bits/ 8 <0x19>;
42				rom-val = /bits/ 8 <0x0f>;
43			};
44		};
45	
46		/* LP8556 */
47		backlight@2c {
48			compatible = "ti,lp8556";
49			reg = <0x2c>;
50	
51			bl-name = "lcd-bl";
52			dev-ctrl = /bits/ 8 <0x85>;
53			init-brt = /bits/ 8 <0x10>;
54		};
55	
56		/* LP8557 */
57		backlight@2c {
58			compatible = "ti,lp8557";
59			reg = <0x2c>;
60			power-supply = <&backlight_vdd>;
61	
62			dev-ctrl = /bits/ 8 <0x41>;
63			init-brt = /bits/ 8 <0x0a>;
64	
65			/* 4V OV, 4 output LED string enabled */
66			rom_14h {
67				rom-addr = /bits/ 8 <0x14>;
68				rom-val = /bits/ 8 <0xcf>;
69			};
70		};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog