leds-lt3593.txt 936 B

1234567891011121314151617181920212223242526272829303132
  1. Bindings for Linear Technologies LT3593 LED controller
  2. Required properties:
  3. - compatible: Should be "lltc,lt3593".
  4. - lltc,ctrl-gpios: A handle to the GPIO that is connected to the 'CTRL'
  5. pin of the chip.
  6. The hardware supports only one LED. The properties of this LED are
  7. configured in a sub-node in the device node.
  8. Optional sub-node properties:
  9. - label: A label for the LED. If none is given, the LED will be
  10. named "lt3595::".
  11. - linux,default-trigger: The default trigger for the LED.
  12. See Documentation/devicetree/bindings/leds/common.txt
  13. - default-state: The initial state of the LED.
  14. See Documentation/devicetree/bindings/leds/common.txt
  15. If multiple chips of this type are found in a design, each one needs to
  16. be handled by its own device node.
  17. Example:
  18. led-controller {
  19. compatible = "lltc,lt3593";
  20. lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
  21. led {
  22. label = "white:backlight";
  23. default-state = "on";
  24. };
  25. };