| From: |
| Vicentiu Galanopulo <vicentiu.galanopulo-AT-remote-tech.co.uk> |
| To: |
| Pavel Machek <pavel-AT-ucw.cz>, Lee Jones <lee-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Jonathan Corbet <corbet-AT-lwn.net>, Vicentiu Galanopulo <vicentiu.galanopulo-AT-remote-tech.co.uk>, linux-leds-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org |
| Subject: |
| [PATCH v9 0/3] Add LED1202 LED Controller |
| Date: |
| Thu, 21 Nov 2024 16:58:22 +0000 |
| Message-ID: |
| <20241121165829.8210-1-vicentiu.galanopulo@remote-tech.co.uk> |
| Archive-link: |
| Article |
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
.../devicetree/bindings/leds/st,led1202.yaml | 132 +++++
Documentation/leds/index.rst | 1 +
Documentation/leds/leds-st1202.rst | 36 ++
drivers/leds/Kconfig | 11 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-st1202.c | 510 ++++++++++++++++++
6 files changed, 691 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
--
Changes in v8:
- Add change version history for patches
2.39.3 (Apple Git-145)