* [PATCH 0/2] ARM: dts: ti/omap: embt2ws: define RGB LED
@ 2026-07-02 13:52 Andreas Kemnade
2026-07-02 13:52 ` [PATCH 1/2] ARM: dts: ti/omap: embt2ws: use mulit-led for " Andreas Kemnade
2026-07-02 13:52 ` [PATCH 2/2] arm: omap2plus_defconfig: Enable multi-LED Andreas Kemnade
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Kemnade @ 2026-07-02 13:52 UTC (permalink / raw)
To: Aaro Koskinen, Kevin Hilman, Roger Quadros, Tony Lindgren,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Russell King
Cc: linux-omap, devicetree, linux-kernel, linux-arm-kernel,
Andreas Kemnade, Pavel Machek
Combine the LED definitions into an RGB LED and add the drivers into
defconfig.
This has already been suggested a long time ago.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Andreas Kemnade (2):
ARM: dts: ti/omap: embt2ws: use mulit-led for RGB LED
arm: omap2plus_defconfig: Enable multi-LED
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 13 ++++++++++---
arch/arm/configs/omap2plus_defconfig | 2 ++
2 files changed, 12 insertions(+), 3 deletions(-)
---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260702-b200multiled-ce27e3f3a5f6
Best regards,
--
Andreas Kemnade <andreas@kemnade.info>
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/2] ARM: dts: ti/omap: embt2ws: use mulit-led for RGB LED
2026-07-02 13:52 [PATCH 0/2] ARM: dts: ti/omap: embt2ws: define RGB LED Andreas Kemnade
@ 2026-07-02 13:52 ` Andreas Kemnade
2026-07-02 13:52 ` [PATCH 2/2] arm: omap2plus_defconfig: Enable multi-LED Andreas Kemnade
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Kemnade @ 2026-07-02 13:52 UTC (permalink / raw)
To: Aaro Koskinen, Kevin Hilman, Roger Quadros, Tony Lindgren,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Russell King
Cc: linux-omap, devicetree, linux-kernel, linux-arm-kernel,
Andreas Kemnade, Pavel Machek
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>
---
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index e253e0775ea9..e11d1931c42a 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -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;
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] arm: omap2plus_defconfig: Enable multi-LED
2026-07-02 13:52 [PATCH 0/2] ARM: dts: ti/omap: embt2ws: define RGB LED Andreas Kemnade
2026-07-02 13:52 ` [PATCH 1/2] ARM: dts: ti/omap: embt2ws: use mulit-led for " Andreas Kemnade
@ 2026-07-02 13:52 ` Andreas Kemnade
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Kemnade @ 2026-07-02 13:52 UTC (permalink / raw)
To: Aaro Koskinen, Kevin Hilman, Roger Quadros, Tony Lindgren,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Russell King
Cc: linux-omap, devicetree, linux-kernel, linux-arm-kernel,
Andreas Kemnade
Enable drivers needed to use RGB LEDs composed of multiple monochromatic
LEDs.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
arch/arm/configs/omap2plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index ad5ae1636dee..3a4fb59d3fad 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -602,6 +602,7 @@ CONFIG_MMC_OMAP_HS=y
CONFIG_MMC_SDHCI_OMAP=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS_MULTICOLOR=m
CONFIG_LEDS_CPCAP=m
CONFIG_LEDS_LM3532=m
CONFIG_LEDS_GPIO=m
@@ -611,6 +612,7 @@ CONFIG_LEDS_PCA963X=m
CONFIG_LEDS_PWM=m
CONFIG_LEDS_BD2606MVV=m
CONFIG_LEDS_TCA6507=m
+CONFIG_LEDS_GROUP_MULTICOLOR=m
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=m
CONFIG_LEDS_TRIGGER_ONESHOT=m
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-02 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02 13:52 [PATCH 0/2] ARM: dts: ti/omap: embt2ws: define RGB LED Andreas Kemnade
2026-07-02 13:52 ` [PATCH 1/2] ARM: dts: ti/omap: embt2ws: use mulit-led for " Andreas Kemnade
2026-07-02 13:52 ` [PATCH 2/2] arm: omap2plus_defconfig: Enable multi-LED Andreas Kemnade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox