dt-bindings: leds: aw200xx: Fix led pattern and add reg constraints
authorDmitry Rokosov <ddrokosov@salutedevices.com>
Sat, 25 Nov 2023 20:05:19 +0000 (23:05 +0300)
committerLee Jones <lee@kernel.org>
Wed, 13 Dec 2023 11:29:04 +0000 (11:29 +0000)
commit94d4090b61395ca5542d4af72db464eeaa298088
tree1ee977ba26630c376ebbafb01d69670694e597ef
parent13b93b1dca355ac87f470b12c72c0788a3a10da5
dt-bindings: leds: aw200xx: Fix led pattern and add reg constraints

AW200XX controllers have the capability to declare more than 0xf LEDs,
therefore, it is necessary to accept LED names using an appropriate
regex pattern.

The register offsets can be adjusted within the specified range, with
the maximum value corresponding to the highest number of LEDs that can
be connected to the controller.

Fixes: e338a05e76ca ("dt-bindings: leds: Add binding for AW200xx")
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231125200519.1750-12-ddrokosov@salutedevices.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml