[PATCH v2 0/2] Add Support for LTC3220 18 Channel LED Driver V2

Edelweise Escala posted 2 patches 3 weeks, 5 days ago
.../devicetree/bindings/leds/leds-ltc3220.yaml     | 120 ++++++
MAINTAINERS                                        |   8 +
drivers/leds/Kconfig                               |  10 +
drivers/leds/Makefile                              |   1 +
drivers/leds/leds-ltc3220.c                        | 440 +++++++++++++++++++++
5 files changed, 579 insertions(+)
[PATCH v2 0/2] Add Support for LTC3220 18 Channel LED Driver V2
Posted by Edelweise Escala 3 weeks, 5 days ago
The LTC3220/LTC3220-1 is a multi-display LED driver, which contains a
high-efficiency, low-noise charge pump to provide power to up to
18 LED current sources. The LEDs are individually configurable to
64-step linear brightness control, blinking and gradation control
via 2-wire I2C interface. The blinking and gradation configuration
is shared across all LED.

LTC3220 has a quick write function which allows changing the brightness
on all LEDS simultaneously when the brightness is changed on led 1.
For this we made quick write a device property which user can set on the 
device tree. We would like to know if this approach is alright?
Another way we might want to know is, is it alright to just make a
virtual led for the quick write function. Changing brightness on 
the virtual led will change the brightness for all.

V2 Changelog:
leds-ltc3220.yaml changes
-Fix wrapping on description
-Improve description and commit messge to describe hardware
-Drop ltc3220-1
-Drop charge pump
ltc3220.c changes
-Fix wrapping
-Drop ltc3220-1
-Drop devname_mandatory 

Signed-off-by: Edelweise Escala <edelweise.escala@analog.com>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/20260106-ltc3220-driver-v1-0-73601d6f1649@analog.com

---
Edelweise Escala (2):
      dt-bindings: leds: Add LTC3220 18 channel LED Driver
      leds: ltc3220: Add Support for LTC3220 18 channel LED Driver

 .../devicetree/bindings/leds/leds-ltc3220.yaml     | 120 ++++++
 MAINTAINERS                                        |   8 +
 drivers/leds/Kconfig                               |  10 +
 drivers/leds/Makefile                              |   1 +
 drivers/leds/leds-ltc3220.c                        | 440 +++++++++++++++++++++
 5 files changed, 579 insertions(+)
---
base-commit: 8856d7fe1758937ac528770f552ec58c388c255b
change-id: 20260106-ltc3220-driver-f9ab6cc9d1e4

Best regards,
-- 
Edelweise Escala <edelweise.escala@analog.com>
Re: [PATCH v2 0/2] Add Support for LTC3220 18 Channel LED Driver V2
Posted by Krzysztof Kozlowski 3 weeks, 4 days ago
On Mon, Jan 12, 2026 at 04:55:53PM +0800, Edelweise Escala wrote:
> The LTC3220/LTC3220-1 is a multi-display LED driver, which contains a
> high-efficiency, low-noise charge pump to provide power to up to
> 18 LED current sources. The LEDs are individually configurable to
> 64-step linear brightness control, blinking and gradation control
> via 2-wire I2C interface. The blinking and gradation configuration
> is shared across all LED.
> 
> LTC3220 has a quick write function which allows changing the brightness
> on all LEDS simultaneously when the brightness is changed on led 1.
> For this we made quick write a device property which user can set on the 
> device tree. We would like to know if this approach is alright?
> Another way we might want to know is, is it alright to just make a
> virtual led for the quick write function. Changing brightness on 
> the virtual led will change the brightness for all.
> 
> V2 Changelog:
> leds-ltc3220.yaml changes
> -Fix wrapping on description
> -Improve description and commit messge to describe hardware
> -Drop ltc3220-1
> -Drop charge pump
> ltc3220.c changes
> -Fix wrapping
> -Drop ltc3220-1
> -Drop devname_mandatory 
> 
> Signed-off-by: Edelweise Escala <edelweise.escala@analog.com>
> ---
> Changes in v2:
> - EDITME: describe what is new in this series revision.
> - EDITME: use bulletpoints and terse descriptions.

Huh?

> - Link to v1: https://lore.kernel.org/r/20260106-ltc3220-driver-v1-0-73601d6f1649@analog.com

Best regards,
Krzysztof