diff options
| author | Dmitry Rokosov <ddrokosov@salutedevices.com> | 2025-10-20 12:13:36 +0300 |
|---|---|---|
| committer | Dmitry Rokosov <rockosov@rulkc.org> | 2026-08-13 14:41:34 +0300 |
| commit | 61ed1ead47b9006b450585ceefb0de860a8f24f6 (patch) | |
| tree | 0ab724e9d54e5bb1806ef1dc5d309cdec54561b2 | |
| parent | 6e8abfde7da5c4935a0c91b8b8759cc86b53d6b3 (diff) | |
| download | linux-61ed1ead47b9006b450585ceefb0de860a8f24f6.tar.gz linux-61ed1ead47b9006b450585ceefb0de860a8f24f6.zip | |
dt-bindings: leds: aw200xx: Fix maximum LED number for all Awinics
Because LED numbering starts from 0, the valid range for a system with N
total LEDs is 0 to N-1. Therefore, using N as an LED number is invalid.
Fixes: 94d4090b6139 ("dt-bindings: leds: aw200xx: Fix led pattern and add reg constraints")
Signed-off-by: Dmitry Rokosov <rockosov@rulkc.org>
| -rw-r--r-- | Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml index f0b19796342c..91d60973dcc4 100644 --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml @@ -85,7 +85,7 @@ allOf: reg: items: minimum: 0 - maximum: 36 + maximum: 35 - if: properties: @@ -99,7 +99,7 @@ allOf: reg: items: minimum: 0 - maximum: 54 + maximum: 53 - if: properties: @@ -113,7 +113,7 @@ allOf: reg: items: minimum: 0 - maximum: 72 + maximum: 71 - if: properties: @@ -127,7 +127,7 @@ allOf: reg: items: minimum: 0 - maximum: 108 + maximum: 107 required: - compatible |
