backlight: lp855x: Add enable regulator
[linux/fpc-iii.git] / Documentation / devicetree / bindings / leds / backlight / lp855x.txt
blob88f56641fc2858addfba1c7ebba2e6b6ef141789
1 lp855x bindings
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.
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   - enable-supply: Regulator which controls the EN/VDDIO input
18 Example:
20         /* LP8555 */
21         backlight@2c {
22                 compatible = "ti,lp8555";
23                 reg = <0x2c>;
25                 dev-ctrl = /bits/ 8 <0x00>;
26                 pwm-period = <10000>;
28                 /* 4V OV, 4 output LED0 string enabled */
29                 rom_14h {
30                         rom-addr = /bits/ 8 <0x14>;
31                         rom-val = /bits/ 8 <0xcf>;
32                 };
34                 /* Heavy smoothing, 24ms ramp time step */
35                 rom_15h {
36                         rom-addr = /bits/ 8 <0x15>;
37                         rom-val = /bits/ 8 <0xc7>;
38                 };
40                 /* 4 output LED1 string enabled */
41                 rom_19h {
42                         rom-addr = /bits/ 8 <0x19>;
43                         rom-val = /bits/ 8 <0x0f>;
44                 };
45         };
47         /* LP8556 */
48         backlight@2c {
49                 compatible = "ti,lp8556";
50                 reg = <0x2c>;
52                 bl-name = "lcd-bl";
53                 dev-ctrl = /bits/ 8 <0x85>;
54                 init-brt = /bits/ 8 <0x10>;
55         };
57         /* LP8557 */
58         backlight@2c {
59                 compatible = "ti,lp8557";
60                 reg = <0x2c>;
61                 enable-supply = <&backlight_vddio>;
62                 power-supply = <&backlight_vdd>;
64                 dev-ctrl = /bits/ 8 <0x41>;
65                 init-brt = /bits/ 8 <0x0a>;
67                 /* 4V OV, 4 output LED string enabled */
68                 rom_14h {
69                         rom-addr = /bits/ 8 <0x14>;
70                         rom-val = /bits/ 8 <0xcf>;
71                 };
72         };