[PATCH v5 1/3] dt-bindings: leds: aw2013: Add awinic,aw2027 compatible
From: Paul Sajna via B4 Relay
Date: Thu Nov 12 2026 - 20:38:42 EST
From: Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>
The aw2027 is largely the same as the aw2013, with the
exception of the way the max current is written to registers.
This exception makes it different enough to not work without
driver modifications, but similar enough to fall under the
umbrella of the same driver.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/leds/leds-aw2013.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml b/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
index 26238446f2bd..1ad165cfe34a 100644
--- a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/leds/leds-aw2013.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: AWINIC AW2013 3-channel LED Driver
+title: AWINIC AW2013/AW2027 3-channel LED Driver
maintainers:
- Nikita Travkin <nikitos.tr@xxxxxxxxx>
@@ -15,7 +15,9 @@ description: |
properties:
compatible:
- const: awinic,aw2013
+ enum:
+ - awinic,aw2013
+ - awinic,aw2027
reg:
maxItems: 1
--
2.56.0