From: Marek Vasut Date: Tue, 4 Jul 2023 20:29:29 +0000 (+0200) Subject: dt-bindings: leds: bd2606mvv: Fix maximum register value X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=51c8be0c58a73ac243515516f349d44090c54e9b;p=linux.git 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 Acked-by: Rob Herring Reviewed-by: Andreas Kemnade Link: https://lore.kernel.org/r/20230704202929.91962-1-marex@denx.de Signed-off-by: Lee Jones --- diff --git a/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml b/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml index 14700a2e5feaa..44dd91aa239de 100644 --- a/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml +++ b/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml @@ -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