1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LED driver for LP50XX RGB LED from Texas Instruments.
10 - Andrew Davis <afd@ti.com>
13 The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into
14 a LED group or control them individually.
16 The difference in these RGB LED drivers is the number of supported RGB
19 For more product information please see the link below:
20 https://www.ti.com/lit/ds/symlink/lp5012.pdf
21 https://www.ti.com/lit/ds/symlink/lp5024.pdf
22 https://www.ti.com/lit/ds/symlink/lp5036.pdf
38 lp5009/12 - 0x14, 0x15, 0x16, 0x17
39 lp5018/24 - 0x28, 0x29, 0x2a, 0x2b
40 lp5030/36 - 0x30, 0x31, 0x32, 0x33
44 description: GPIO pin to enable/disable the device.
47 description: LED supply.
56 '^multi-led@[0-9a-f]$':
58 $ref: leds-class-multicolor.yaml#
59 unevaluatedProperties: false
66 This property denotes the LED module number(s) that is used on the
67 for the child node. The LED modules can either be used stand alone
68 or grouped into a module bank.
80 unevaluatedProperties: false
93 additionalProperties: false
97 #include <dt-bindings/gpio/gpio.h>
98 #include <dt-bindings/leds/common.h>
101 #address-cells = <1>;
105 compatible = "ti,lp5009";
107 #address-cells = <1>;
109 enable-gpios = <&gpio1 16>;
112 #address-cells = <1>;
115 color = <LED_COLOR_ID_RGB>;
116 function = LED_FUNCTION_CHARGING;
120 color = <LED_COLOR_ID_RED>;
125 color = <LED_COLOR_ID_GREEN>;
130 color = <LED_COLOR_ID_BLUE>;
135 #address-cells = <1>;
137 reg = <0x3>, <0x4>, <0x5>;
138 color = <LED_COLOR_ID_RGB>;
139 function = LED_FUNCTION_STANDBY;
143 color = <LED_COLOR_ID_RED>;
148 color = <LED_COLOR_ID_GREEN>;
153 color = <LED_COLOR_ID_BLUE>;