[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: dt-bindings: leds: cznic,turris-omnia-leds: fix error in binding
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2020-09-30 0:58:14
Message-ID: git-mailbomb-linux-master-e5467b672bd99f0c1904900013e778e3a5ce30b7 () kernel ! org
[Download RAW message or body]
Commit: e5467b672bd99f0c1904900013e778e3a5ce30b7
Parent: d89a80ddbfd86d04d0901e576ca2016d324bcb85
Refname: refs/heads/master
Web: https://git.kernel.org/torvalds/c/e5467b672bd99f0c1904900013e778e3a5ce30b7
Author: Marek BehĂșn <marek.behun@nic.cz>
AuthorDate: Tue Sep 15 02:54:26 2020 +0200
Committer: Rob Herring <robh@kernel.org>
CommitDate: Tue Sep 15 21:03:07 2020 -0600
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>
---
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml \
b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml index \
24ad1446445e..fe7fa25877fd 100644
--- a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
+++ b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
@@ -30,7 +30,7 @@ properties:
const: 0
patternProperties:
- "^multi-led[0-9a-f]$":
+ "^multi-led@[0-9a-b]$":
type: object
allOf:
- $ref: leds-class-multicolor.yaml#
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic