Document the awinic,aw2027, which is very similar to aw2013.
Rename the driver to support all of the 20xx series.

Signed-off-by: Paul Sajna <[email protected]>
---
 .../bindings/leds/{leds-aw2013.yaml => leds-aw20xx.yaml}       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml 
b/Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
similarity index 91%
rename from Documentation/devicetree/bindings/leds/leds-aw2013.yaml
rename to Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
index 26238446f2bd..f20b5344e3e1 100644
--- a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-aw20xx.yaml
@@ -1,21 +1,23 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/leds/leds-aw2013.yaml#
+$id: http://devicetree.org/schemas/leds/leds-aw20xx.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: AWINIC AW2013 3-channel LED Driver
+title: AWINIC AW20XX 3-channel LED Driver
 
 maintainers:
   - Nikita Travkin <[email protected]>
 
 description: |
-  The AW2013 is a 3-channel LED driver with I2C interface. It can control
+  The AW20XX is a 3-channel LED driver with I2C interface. It can control
   LED brightness with PWM output.
 
 properties:
   compatible:
-    const: awinic,aw2013
+    enum:
+      - awinic,aw2013
+      - awinic,aw2027
 
   reg:
     maxItems: 1

-- 
2.55.0


Reply via email to