Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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