dt-bindings: leds: bd2606mvv: Fix maximum register value
Subsystems (2)
RFC PATCH 1/1 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.
---
Cc: Andreas Kemnade <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml +2 -2
@@ -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
Signature · 1 line
2.40.1
Hi Marek,
you are right.
Quoted 39 lines · On Tue, 4 Jul 2023 22:29:29 +0200 Marek Vasut <[email protected]> wrote:
Since the chip can drive up to 6 lines, the maximum register number should be only 5, not 6.
Signed-off-by Marek Vasut <[email protected]>---
Cc: Andreas Kemnade <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]--- Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml +2
-2@@ -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
Quoted 13 lines · Marek Vasut
Since the chip can drive up to 6 lines, the maximum register number should be only 5, not 6.
Signed-off-by Marek Vasut <[email protected]>---
Cc: Andreas Kemnade <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Quoted 4 lines
--- Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 13 lines · Marek Vasut
Since the chip can drive up to 6 lines, the maximum register number should be only 5, not 6.
Signed-off-by Marek Vasut <[email protected]>---
Cc: Andreas Kemnade <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Quoted 3 lines
--- Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks
Signature · 1 line
Lee Jones [李琼斯]