mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ARM: dts: ti/omap: embt2ws: use mulit-led for RGB LED
The device has one single RGB LED. Explicitly declare it as such by combing the LEDs into one. Suggested-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://patch.msgid.link/20260702-b200multiled-v1-1-c1799ad45c96@kemnade.info Signed-off-by: Kevin Hilman (TI) <khilman@baylibre.com>
This commit is contained in:
parent
f237e4d3ca
commit
36d3d0f740
|
|
@ -64,6 +64,13 @@ key-lock {
|
|||
};
|
||||
};
|
||||
|
||||
multi-led {
|
||||
compatible = "leds-group-multicolor";
|
||||
color = <LED_COLOR_ID_RGB>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
leds = <&led_r>, <&led_g>, <&led_b>;
|
||||
};
|
||||
|
||||
cb_v18: regulator-cb-v18 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cb_v18_pins>;
|
||||
|
|
@ -368,19 +375,19 @@ led-controller@66 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
led@0 {
|
||||
led_g: led@0 {
|
||||
reg = <0>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
};
|
||||
|
||||
led@2 {
|
||||
led_b: led@2 {
|
||||
reg = <2>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
};
|
||||
|
||||
led@4 {
|
||||
led_r: led@4 {
|
||||
reg = <4>;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user