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: Marek Vasut <marex@denx.de>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20230704202929.91962-1-marex@denx.de
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Marek Vasut 2023-07-04 22:29:29 +02:00 committed by Lee Jones
parent 7cd7a2995e
commit 51c8be0c58

View file

@ -35,7 +35,7 @@ properties:
description: GPIO pin to enable/disable the device.
patternProperties:
"^led@[0-6]$":
"^led@[0-5]$":
type: object
$ref: common.yaml#
unevaluatedProperties: false
@ -43,7 +43,7 @@ patternProperties:
properties:
reg:
minimum: 0
maximum: 6
maximum: 5
required:
- reg