]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/video/backlight/lp855x.txt
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[karo-tx-linux.git] / Documentation / devicetree / bindings / video / backlight / lp855x.txt
1 lp855x bindings
2
3 Required properties:
4   - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
5                 "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
16 Example:
17
18         /* LP8556 */
19         backlight@2c {
20                 compatible = "ti,lp8556";
21                 reg = <0x2c>;
22
23                 bl-name = "lcd-bl";
24                 dev-ctrl = /bits/ 8 <0x85>;
25                 init-brt = /bits/ 8 <0x10>;
26         };
27
28         /* LP8557 */
29         backlight@2c {
30                 compatible = "ti,lp8557";
31                 reg = <0x2c>;
32
33                 dev-ctrl = /bits/ 8 <0x41>;
34                 init-brt = /bits/ 8 <0x0a>;
35
36                 /* 4V OV, 4 output LED string enabled */
37                 rom_14h {
38                         rom-addr = /bits/ 8 <0x14>;
39                         rom-val = /bits/ 8 <0xcf>;
40                 };
41         };