0001 Bindings for Linear Technologies LT3593 LED controller
0002
0003 Required properties:
0004 - compatible: Should be "lltc,lt3593".
0005 - lltc,ctrl-gpios: A handle to the GPIO that is connected to the 'CTRL'
0006 pin of the chip.
0007
0008 The hardware supports only one LED. The properties of this LED are
0009 configured in a sub-node in the device node.
0010
0011 Optional sub-node properties:
0012 - function: See Documentation/devicetree/bindings/leds/common.txt
0013 - color: See Documentation/devicetree/bindings/leds/common.txt
0014 - label: A label for the LED. If none is given, the LED will be
0015 named "lt3595::" (deprecated)
0016 - linux,default-trigger: The default trigger for the LED.
0017 See Documentation/devicetree/bindings/leds/common.txt
0018 - default-state: The initial state of the LED.
0019 See Documentation/devicetree/bindings/leds/common.txt
0020
0021 If multiple chips of this type are found in a design, each one needs to
0022 be handled by its own device node.
0023
0024 Example:
0025
0026 #include <dt-bindings/leds/common.h>
0027
0028 led-controller {
0029 compatible = "lltc,lt3593";
0030 lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
0031
0032 led {
0033 function = LED_FUNCTION_BACKLIGHT;
0034 color = <LED_COLOR_ID_WHITE>;
0035 default-state = "on";
0036 };
0037 };