devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v11 0/3] Add LED1202 LED Controller
@ 2024-12-18 18:33 Vicentiu Galanopulo
  2024-12-18 18:33 ` [PATCH v11 1/3] Documentation:leds: Add leds-st1202.rst Vicentiu Galanopulo
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Vicentiu Galanopulo @ 2024-12-18 18:33 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jonathan Corbet, Vicentiu Galanopulo, linux-leds,
	devicetree, linux-kernel, linux-doc

The LED1202 is a 12-channel low quiescent current LED driver with:
  * Supply range from 2.6 V to 5 V
  * 20 mA current capability per channel
  * 1.8 V compatible I2C control interface
  * 8-bit analog dimming individual control
  * 12-bit local PWM resolution
  * 8 programmable patterns

Internal volatile memory allows the user to store up to 8 different patterns,
each pattern is a particular output configuration in terms of PWM
duty-cycle (on 4096 steps). Analog dimming (on 256 steps) is per channel but
common to all patterns. Each device tree LED node will have a corresponding
entry in /sys/class/leds with the label name. The brightness property
corresponds to the per channel analog dimming, while the patterns[1-8] to the
PWM dimming control.

Vicentiu Galanopulo (3):
  Documentation:leds: Add leds-st1202.rst
  dt-bindings: leds: Add LED1202 LED Controller
  leds: Add LED1202 I2C driver

---
   - Changes in v11: Add version history

 .../devicetree/bindings/leds/st,led1202.yaml  | 132 ++++++
 Documentation/leds/index.rst                  |   1 +
 Documentation/leds/leds-st1202.rst            |  34 ++
 drivers/leds/Kconfig                          |  10 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-st1202.c                    | 416 ++++++++++++++++++
 6 files changed, 594 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/st,led1202.yaml
 create mode 100644 Documentation/leds/leds-st1202.rst
 create mode 100644 drivers/leds/leds-st1202.c

-- 
2.39.3 (Apple Git-145)


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

end of thread, other threads:[~2025-02-11 10:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 18:33 [PATCH v11 0/3] Add LED1202 LED Controller Vicentiu Galanopulo
2024-12-18 18:33 ` [PATCH v11 1/3] Documentation:leds: Add leds-st1202.rst Vicentiu Galanopulo
2024-12-18 18:33 ` [PATCH v11 2/3] dt-bindings: leds: Add LED1202 LED Controller Vicentiu Galanopulo
2024-12-18 18:33 ` [PATCH v11 3/3] leds: Add LED1202 I2C driver Vicentiu Galanopulo
2025-01-09 10:30   ` (subset) " Lee Jones
2025-01-21 11:56     ` Geert Uytterhoeven
2025-02-10 16:59       ` Lee Jones
2025-02-10 17:01         ` Lee Jones
2025-02-11  8:02           ` Geert Uytterhoeven
2025-02-11 10:15             ` Lee Jones
2025-01-09 10:30 ` [PATCH v11 0/3] Add LED1202 LED Controller Lee Jones

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).