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