1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/ath79
Manuel Fombuena 8925c469f4 generic: add STMicroelectronics LED1202 driver
This LED controller has a driver under development which is currently being reviewed by the respective kernel maintainers. They are currently on v11 which is included here.

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

If the led node is present in the controller then the channel is
set to active.

The output current can be adjusted separately for each channel by 8-bit
analog (current sink input) and 12-bit digital (PWM) dimming control. The
LED1202 implements 12 low-side current generators with independent dimming
control.

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.

Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/17451
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-05 12:12:12 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: add missing compatible for ath9k 2024-12-30 13:50:04 +01:00
files treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
generic ath79: add support for KuWfi CPE830(D) / YunCore CPE830(D) 2024-12-26 15:19:25 +01:00
image ath79: Push MV88E6060 DSA switch into package 2025-01-04 19:18:31 +01:00
mikrotik generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
nand ath79: nbg6x16: use nvmem 2024-12-22 23:36:41 +01:00
patches-6.6 generic: add STMicroelectronics LED1202 driver 2025-01-05 12:12:12 +01:00
tiny ath79: Push MV88E6060 DSA switch into package 2025-01-04 19:18:31 +01:00
config-6.6 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile ath79: switch default kernel to 6.6 2024-06-14 17:38:09 +02:00
modules.mk