lp855x.txt 1.6 KB

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