lp855x.txt 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. lp855x bindings
  2. Required properties:
  3. - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
  4. "ti,lp8556", "ti,lp8557"
  5. - reg: I2C slave address (u8)
  6. - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
  7. Optional properties:
  8. - bl-name: Backlight device name (string)
  9. - init-brt: Initial value of backlight brightness (u8)
  10. - pwm-period: PWM period value. Set only PWM input mode used (u32)
  11. - rom-addr: Register address of ROM area to be updated (u8)
  12. - rom-val: Register value to be updated (u8)
  13. Example:
  14. /* LP8556 */
  15. backlight@2c {
  16. compatible = "ti,lp8556";
  17. reg = <0x2c>;
  18. bl-name = "lcd-bl";
  19. dev-ctrl = /bits/ 8 <0x85>;
  20. init-brt = /bits/ 8 <0x10>;
  21. };
  22. /* LP8557 */
  23. backlight@2c {
  24. compatible = "ti,lp8557";
  25. reg = <0x2c>;
  26. dev-ctrl = /bits/ 8 <0x41>;
  27. init-brt = /bits/ 8 <0x0a>;
  28. /* 4V OV, 4 output LED string enabled */
  29. rom_14h {
  30. rom-addr = /bits/ 8 <0x14>;
  31. rom-val = /bits/ 8 <0xcf>;
  32. };
  33. };