]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: leds: Optional multi-led unit address
authorSven Schwermer <sven.schwermer@disruptive-technologies.com>
Thu, 7 Apr 2022 07:32:23 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:49:54 +0000 (12:49 +0100)
[ Upstream commit 21c0d13e3dd64581bab0ef4b4d0fea7752cc236b ]

The unit address does not make sense in all cases the multi-led node is
used, e.g. for the upcoming PWM multi-color LED driver.

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Stable-dep-of: 609bc99a4452 ("dt-bindings: leds: class-multicolor: Fix path to color definitions")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml

index 37445c68cdef9aac2bab2ef46323c3bf2cdc516b..f41d021ed67749ac625cfe4a2a9989269022bf52 100644 (file)
@@ -20,7 +20,7 @@ description: |
   within this documentation directory.
 
 patternProperties:
-  "^multi-led@([0-9a-f])$":
+  "^multi-led(@[0-9a-f])?$":
     type: object
     description: Represents the LEDs that are to be grouped.
     properties: