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@pengutronix.de>
---
Jonas Rebmann (2):
dt-bindings: leds: Add default-intensity property
leds: pwm-multicolor: Introduce default-intensity property
Documentation/devicetree/bindings/leds/common.yaml | 10 ++++++++++
.../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++
drivers/leds/rgb/leds-pwm-multicolor.c | 2 ++
3 files changed, 16 insertions(+)
---
base-commit: ba3e43a9e601636f5edb54e259a74f96ca3b8fd8
change-id: 20260604-multicolor-default-11e3becde05a
Best regards,
--
Jonas Rebmann <jre@pengutronix.de>