Back to home page

OSCL-LXR

 
 

    


0001 lp855x bindings
0002 
0003 Required properties:
0004   - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
0005                 "ti,lp8555", "ti,lp8556", "ti,lp8557"
0006   - reg: I2C slave address (u8)
0007   - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
0008 
0009 Optional properties:
0010   - bl-name: Backlight device name (string)
0011   - init-brt: Initial value of backlight brightness (u8)
0012   - pwm-period: PWM period value. Set only PWM input mode used (u32)
0013   - rom-addr: Register address of ROM area to be updated (u8)
0014   - rom-val: Register value to be updated (u8)
0015   - power-supply: Regulator which controls the 3V rail
0016   - enable-supply: Regulator which controls the EN/VDDIO input
0017 
0018 Example:
0019 
0020         /* LP8555 */
0021         backlight@2c {
0022                 compatible = "ti,lp8555";
0023                 reg = <0x2c>;
0024 
0025                 dev-ctrl = /bits/ 8 <0x00>;
0026                 pwm-period = <10000>;
0027 
0028                 /* 4V OV, 4 output LED0 string enabled */
0029                 rom_14h {
0030                         rom-addr = /bits/ 8 <0x14>;
0031                         rom-val = /bits/ 8 <0xcf>;
0032                 };
0033 
0034                 /* Heavy smoothing, 24ms ramp time step */
0035                 rom_15h {
0036                         rom-addr = /bits/ 8 <0x15>;
0037                         rom-val = /bits/ 8 <0xc7>;
0038                 };
0039 
0040                 /* 4 output LED1 string enabled */
0041                 rom_19h {
0042                         rom-addr = /bits/ 8 <0x19>;
0043                         rom-val = /bits/ 8 <0x0f>;
0044                 };
0045         };
0046 
0047         /* LP8556 */
0048         backlight@2c {
0049                 compatible = "ti,lp8556";
0050                 reg = <0x2c>;
0051 
0052                 bl-name = "lcd-bl";
0053                 dev-ctrl = /bits/ 8 <0x85>;
0054                 init-brt = /bits/ 8 <0x10>;
0055         };
0056 
0057         /* LP8557 */
0058         backlight@2c {
0059                 compatible = "ti,lp8557";
0060                 reg = <0x2c>;
0061                 enable-supply = <&backlight_vddio>;
0062                 power-supply = <&backlight_vdd>;
0063 
0064                 dev-ctrl = /bits/ 8 <0x41>;
0065                 init-brt = /bits/ 8 <0x0a>;
0066 
0067                 /* 4V OV, 4 output LED string enabled */
0068                 rom_14h {
0069                         rom-addr = /bits/ 8 <0x14>;
0070                         rom-val = /bits/ 8 <0xcf>;
0071                 };
0072         };