]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerPavel Machek <pavel@ucw.cz>
Thu, 5 May 2022 08:04:52 +0000 (10:04 +0200)
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>
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: