lp855x.txt 1.7 KB

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