Skip to content

Commit e5467b6

Browse files
elkablorobherring
authored andcommitted
dt-bindings: leds: cznic,turris-omnia-leds: fix error in binding
There is a bug in the device tree binding for cznic,turris-omnia-leds which causes make dt_binding_check to complain. The reason is that the multi-led property binding's regular expression does not contain the `@` character, while the example nodes do. Fix this, and also adjust the maximum address to 'b' as there are 12 LEDs. Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Marek Behún <marek.behun@nic.cz> Link: https://lore.kernel.org/r/20200915005426.15957-1-marek.behun@nic.cz Signed-off-by: Rob Herring <robh@kernel.org>
1 parent d89a80d commit e5467b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ properties:
3030
const: 0
3131

3232
patternProperties:
33-
"^multi-led[0-9a-f]$":
33+
"^multi-led@[0-9a-b]$":
3434
type: object
3535
allOf:
3636
- $ref: leds-class-multicolor.yaml#

0 commit comments

Comments
 (0)