Commit 51c8be0c authored by Marek Vasut's avatar Marek Vasut Committed by Lee Jones

dt-bindings: leds: bd2606mvv: Fix maximum register value

Since the chip can drive up to 6 lines, the maximum
register number should be only 5, not 6.
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20230704202929.91962-1-marex@denx.deSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 7cd7a299
...@@ -35,7 +35,7 @@ properties: ...@@ -35,7 +35,7 @@ properties:
description: GPIO pin to enable/disable the device. description: GPIO pin to enable/disable the device.
patternProperties: patternProperties:
"^led@[0-6]$": "^led@[0-5]$":
type: object type: object
$ref: common.yaml# $ref: common.yaml#
unevaluatedProperties: false unevaluatedProperties: false
...@@ -43,7 +43,7 @@ patternProperties: ...@@ -43,7 +43,7 @@ patternProperties:
properties: properties:
reg: reg:
minimum: 0 minimum: 0
maximum: 6 maximum: 5
required: required:
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment