lkml.org 
[lkml]   [2022]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Add support for the TLC5925
Date
This series add the support for the TLC5925 LED controller.
This LED controller is driven though SPI. There is little internal logic
and it can be thought of as a deserializer + latches.
The TLC5925 itself drives up to 16 LEDs, but multiple TLC5925s can be
chained to drive more.

The first patch describes the dt bindings.
The second patch implements most of the driver and supports only
synchronous brightness setting (brightness_set_blocking).
The last patch implements the non-blocking version (brightness_set).

changes v1->v2:
* renamed property shift_register_length into shift-register-length
* add a SPI MODULE_DEVICE_TABLE structure
* fixed the yaml description of the bindings (now passes dt_binding_check)

Jean-Jacques Hiblot (3):
dt-bindings: leds: Add bindings for the TLC5925 controller
leds: Add driver for the TLC5925 LED controller
leds: tlc5925: Add support for non blocking operations

.../devicetree/bindings/leds/ti,tlc5925.yaml | 106 +++++++++
drivers/leds/Kconfig | 6 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-tlc5925.c | 223 ++++++++++++++++++
4 files changed, 336 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/ti,tlc5925.yaml
create mode 100644 drivers/leds/leds-tlc5925.c

--
2.25.1

\
 
 \ /
  Last update: 2022-06-03 17:54    [W:0.102 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site