openwrt/target/linux/mediatek
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 mediatek: update openembed som7981 support 2024-12-22 18:19:16 +01:00
dts mediatek: Fix primary MAC of D-Link M60 2025-01-01 17:28:01 +01:00
files/drivers treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
files-6.6 linux: replace u-boot,env with nvmem,layout 2024-12-27 13:34:58 +01:00
filogic mediatek: Fix U-Boot variables handling for D-Link M30 A1 2025-01-04 22:32:26 +01:00
image mediatek: append metadata to factory-uboot.bin for WSR devices 2025-01-04 18:55:31 +01:00
mt7622 mediatek: mt7622: sync buffalo.sh with ramips/mt7621 2025-01-04 18:55:31 +01:00
mt7623 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mt7629 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
patches-6.6 generic: add STMicroelectronics LED1202 driver 2025-01-05 12:12:12 +01:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk