Merge tag 'ieee802154-for-davem-2019-11-13' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / leds / leds-max77650.txt
1 LED driver for MAX77650 PMIC from Maxim Integrated.
2
3 This module is part of the MAX77650 MFD device. For more details
4 see Documentation/devicetree/bindings/mfd/max77650.txt.
5
6 The LED controller is represented as a sub-node of the PMIC node on
7 the device tree.
8
9 This device has three current sinks.
10
11 Required properties:
12 --------------------
13 - compatible:           Must be "maxim,max77650-led"
14 - #address-cells:       Must be <1>.
15 - #size-cells:          Must be <0>.
16
17 Each LED is represented as a sub-node of the LED-controller node. Up to
18 three sub-nodes can be defined.
19
20 Required properties of the sub-node:
21 ------------------------------------
22
23 - reg:                  Must be <0>, <1> or <2>.
24
25 Optional properties of the sub-node:
26 ------------------------------------
27
28 - label:                See Documentation/devicetree/bindings/leds/common.txt
29 - linux,default-trigger: See Documentation/devicetree/bindings/leds/common.txt
30
31 For more details, please refer to the generic GPIO DT binding document
32 <devicetree/bindings/gpio/gpio.txt>.
33
34 Example:
35 --------
36
37         leds {
38                 compatible = "maxim,max77650-led";
39                 #address-cells = <1>;
40                 #size-cells = <0>;
41
42                 led@0 {
43                         reg = <0>;
44                         label = "blue:usr0";
45                 };
46
47                 led@1 {
48                         reg = <1>;
49                         label = "red:usr1";
50                         linux,default-trigger = "heartbeat";
51                 };
52
53                 led@2 {
54                         reg = <2>;
55                         label = "green:usr2";
56                 };
57         };