[PATCH v2 0/2] leds: pwm-multicolor: Fix default-trigger by allowing default-intensity

From: Jonas Rebmann

Date: Fri Jun 05 2026 - 03:38:49 EST


Typically using linux,default-trigger allows turning LEDs on on initialization
or triggering on e.g. a kernel panic regardless of how early.

While supported in pwm-multicolor, this was not usable because the
individual color components multiplication factor (intensity), defaulted
all to 0 (black) and the LED remains off regardless of its overall
"brightness" value.

Allow setting defaults for each component's intensity to make the other
"default-" properties actually usable here.

Update binding documentation accordingly.

Signed-off-by: Jonas Rebmann <jre@xxxxxxxxxxxxxx>
---
Changes in v2:
- dt-bindings: Use correct property name in example
- dt-bindings: Add missing word in property description
- Link to v1: https://patch.msgid.link/20260604-multicolor-default-v1-0-b07bff431537@xxxxxxxxxxxxxx

To: Lee Jones <lee@xxxxxxxxxx>
To: Pavel Machek <pavel@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
To: Sven Schwermer <sven.schwermer@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Pavel Machek <pavel@xxxxxx>
Cc: linux-leds@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

---
Jonas Rebmann (2):
dt-bindings: leds: Add default-intensity property
leds: pwm-multicolor: Introduce default-intensity property

Documentation/devicetree/bindings/leds/common.yaml | 11 +++++++++++
.../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++
drivers/leds/rgb/leds-pwm-multicolor.c | 2 ++
3 files changed, 17 insertions(+)
---
base-commit: ba3e43a9e601636f5edb54e259a74f96ca3b8fd8
change-id: 20260604-multicolor-default-11e3becde05a

Best regards,
--
Jonas Rebmann <jre@xxxxxxxxxxxxxx>