leds-lp55xx.txt 629 B

123456789101112131415161718192021
  1. Binding for National Semiconductor LP55xx Led Drivers
  2. Required properties:
  3. - compatible: "national,lp5521" or "national,lp5523"
  4. - label: Used for naming LEDs
  5. - num-channel: Number of LED channels
  6. - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
  7. - max-cur: Maximun current at each led channel.
  8. - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
  9. example:
  10. lp5521@32 {
  11. compatible = "national,lp5521";
  12. reg = <0x32>;
  13. label = "lp5521_pri";
  14. num-channel = /bits/ 8 <3>;
  15. led-cur = /bits/ 8 <0x2f 0x2f 0x2f>;
  16. max-cur = /bits/ 8 <0x5f 0x5f 0x5f>;
  17. clock-mode = /bits/8 <2>;
  18. };