]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: leds: Allow differently named multicolor LEDs
authorJ. Neuschäfer <j.ne@posteo.net>
Thu, 1 Jan 2026 17:19:26 +0000 (18:19 +0100)
committerLee Jones <lee@kernel.org>
Wed, 4 Feb 2026 09:20:58 +0000 (09:20 +0000)
commit39de6f07b940c19ba4f981fa078381aa63206569
tree2b3d05e5b7ee16b91790605d2c64449b99b931de
parent207a693835d48f92994fc23d8c3e4f131acbb73a
dt-bindings: leds: Allow differently named multicolor LEDs

In some cases, for example when using multiple instances of
leds-group-multicolor, a board may have multiple multi-leds which can't
be distinguished by unit address. In such cases it should be possible to
name them differently, for example multi-led-0 and multi-led-1. This
patch adds another node name pattern to leds-class-multicolor.yaml to
allow such names.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20260101-multi-led-v3-1-e29ca8dedd37@posteo.net
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml