mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
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:
parent
7cd7a2995e
commit
51c8be0c58
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue