1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/bmips/patches-6.6
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
..
100-irqchip-add-support-for-bcm6345-style-external-inter.patch
110-pinctrl-bcm63268-add-gpio-function.patch bmips: pinctrl-bcm63268: add gpio function 2024-12-28 18:06:35 +01:00
200-mips-bmips-automatically-detect-CPU-frequency.patch bmips: backport upstreamed RAC patches 2024-06-27 17:59:31 +02:00
201-mips-bmips-automatically-detect-RAM-size.patch bmips: backport upstreamed RAC patches 2024-06-27 17:59:31 +02:00
202-mips-bmips-tweak-Kconfig-options.patch
210-revert-macronix-nand-block-protection.patch Revert "bmips: drop macronix nand block protection patch" 2024-12-28 16:02:05 +01:00
500-net-broadcom-add-BCM6368-enetsw-controller-driver.patch
501-net-broadcom-add-BCM6348-enet-controller-driver.patch
502-net-mdio-mux-bcm6368-allow-disabling.patch
600-mips-bmips-add-pci-support.patch
601-pci-controllers-add-bcm6328-pcie-support.patch
602-pci-controllers-add-bcm6318-pcie-support.patch
603-pci-controllers-add-bcm6348-pci-support.patch
700-leds-add-support-for-Sercomm-MSP430-LED-controller.patch generic: add STMicroelectronics LED1202 driver 2025-01-05 12:12:12 +01:00
800-jffs2-work-around-unaligned-accesses-failing-on-bcm6.patch