mbox series

[v1,0/2] leds: add aw20xx driver

Message ID 20221124204807.1593241-1-mmkurbanov@sberdevices.ru
Headers show
Series leds: add aw20xx driver | expand

Message

Martin Kurbanov Nov. 24, 2022, 8:48 p.m. UTC
This patch series adds support for AWINIC AW20036/AW20054/AW20072 LED
driver programmed via an I2C interface.

This driver supports following AW200XX features:
  - 3 pattern controllers for auto breathing or group dimming control
  - Individual 64-level DIM currents
  - Interrupt output, low active

Datasheet:
  aw20036 - https://www.awinic.com/Public/Uploads/uploadfile/files/20200509/20200509151532_5eb65894d205a.pdf
  aw20054 - https://www.awinic.com/Public/Uploads/uploadfile/files/20200509/20200509151602_5eb658b2b77cb.pdf
  aw20072 - https://www.awinic.com/Public/Uploads/uploadfile/files/20200509/20200509151754_5eb659227a145.pdf

Add YAML dt-binding schema for AW200XX.

Martin Kurbanov (2):
  dt-bindings: leds: add binding for aw200xx
  leds: add aw20xx driver

 .../bindings/leds/leds-aw200xx.yaml           |  110 ++
 Documentation/leds/leds-aw200xx.rst           |  274 ++++
 drivers/leds/Kconfig                          |   10 +
 drivers/leds/Makefile                         |    1 +
 drivers/leds/leds-aw200xx.c                   | 1113 +++++++++++++++++
 include/dt-bindings/leds/leds-aw200xx.h       |   48 +
 6 files changed, 1556 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-aw200xx.yaml
 create mode 100644 Documentation/leds/leds-aw200xx.rst
 create mode 100644 drivers/leds/leds-aw200xx.c
 create mode 100644 include/dt-bindings/leds/leds-aw200xx.h

--
2.38.1