[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230228211046.109693-1-mmkurbanov@sberdevices.ru>
Date: Wed, 1 Mar 2023 00:10:44 +0300
From: Martin Kurbanov <mmkurbanov@...rdevices.ru>
To: Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Lee Jones <lee@...nel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>
CC: <linux-leds@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel@...rdevices.ru>,
Martin Kurbanov <mmkurbanov@...rdevices.ru>
Subject: [PATCH v2 0/2] leds: add aw20xx driver
This patch series adds support for AWINIC AW20036/AW20054/AW20072 LED
driver programmed via an I2C interface.
This driver supports following AW200XX features:
- Individual 64-level DIM currents
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.
Changelog:
v1 -> v2:
- Remove the hardware pattern support (I will send a separate patch)
- Support the 'led-max-microamp' property
Martin Kurbanov (2):
dt-bindings: leds: add binding for aw200xx
leds: add aw20xx driver
.../testing/sysfs-class-led-driver-aw200xx | 4 +
.../bindings/leds/awinic,aw200xx.yaml | 126 ++++
drivers/leds/Kconfig | 10 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-aw200xx.c | 649 ++++++++++++++++++
5 files changed, 790 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-led-driver-aw200xx
create mode 100644 Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
create mode 100644 drivers/leds/leds-aw200xx.c
--
2.38.1
Powered by blists - more mailing lists