devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] leds: add aw20xx driver
@ 2023-02-28 21:10 Martin Kurbanov
  2023-02-28 21:10 ` [PATCH v2 1/2] dt-bindings: leds: add binding for aw200xx Martin Kurbanov
  2023-02-28 21:10 ` [PATCH v2 2/2] leds: add aw20xx driver Martin Kurbanov
  0 siblings, 2 replies; 17+ messages in thread
From: Martin Kurbanov @ 2023-02-28 21:10 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Lee Jones,
	Andy Shevchenko
  Cc: linux-leds, devicetree, linux-kernel, kernel, Martin Kurbanov

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-03-03  7:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28 21:10 [PATCH v2 0/2] leds: add aw20xx driver Martin Kurbanov
2023-02-28 21:10 ` [PATCH v2 1/2] dt-bindings: leds: add binding for aw200xx Martin Kurbanov
2023-03-02  7:48   ` Krzysztof Kozlowski
2023-03-02 16:02     ` Martin Kurbanov
2023-03-03  7:43       ` Krzysztof Kozlowski
2023-02-28 21:10 ` [PATCH v2 2/2] leds: add aw20xx driver Martin Kurbanov
2023-02-28 21:24   ` Pavel Machek
2023-02-28 21:40     ` AUXdisplay for LED arrays, keyboards with per-key LEDs -- was " Pavel Machek
2023-03-01  9:38       ` Jani Nikula
2023-03-01  8:56     ` Lee Jones
2023-03-01  9:54       ` Pavel Machek
2023-03-01 14:17         ` Lee Jones
2023-03-02 14:00     ` Martin Kurbanov
2023-02-28 21:51   ` Andy Shevchenko
2023-03-01  5:33   ` kernel test robot
2023-03-01 12:26   ` kernel test robot
2023-03-01 13:51   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).