lp855x.txt (1694B)
1lp855x bindings 2 3Required 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 9Optional 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 17 18Example: 19 20 /* LP8555 */ 21 backlight@2c { 22 compatible = "ti,lp8555"; 23 reg = <0x2c>; 24 25 dev-ctrl = /bits/ 8 <0x00>; 26 pwm-period = <10000>; 27 28 /* 4V OV, 4 output LED0 string enabled */ 29 rom_14h { 30 rom-addr = /bits/ 8 <0x14>; 31 rom-val = /bits/ 8 <0xcf>; 32 }; 33 34 /* Heavy smoothing, 24ms ramp time step */ 35 rom_15h { 36 rom-addr = /bits/ 8 <0x15>; 37 rom-val = /bits/ 8 <0xc7>; 38 }; 39 40 /* 4 output LED1 string enabled */ 41 rom_19h { 42 rom-addr = /bits/ 8 <0x19>; 43 rom-val = /bits/ 8 <0x0f>; 44 }; 45 }; 46 47 /* LP8556 */ 48 backlight@2c { 49 compatible = "ti,lp8556"; 50 reg = <0x2c>; 51 52 bl-name = "lcd-bl"; 53 dev-ctrl = /bits/ 8 <0x85>; 54 init-brt = /bits/ 8 <0x10>; 55 }; 56 57 /* LP8557 */ 58 backlight@2c { 59 compatible = "ti,lp8557"; 60 reg = <0x2c>; 61 enable-supply = <&backlight_vddio>; 62 power-supply = <&backlight_vdd>; 63 64 dev-ctrl = /bits/ 8 <0x41>; 65 init-brt = /bits/ 8 <0x0a>; 66 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 };