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

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.de


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 7cd7a299
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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