openwrt/package/kernel
Roland Reinl c439003497 filogic: Add LED driver for GCA230718
Add basic support for the LED driver for GCA230718.

 - I didn't find any documentation or driver for it, so the information below is purely based on my investigations
 - If there is already I driver for it, please tell me. Maybe I didn't search enough
 - I implemented a kernel module (leds-gca230718) to access the LEDs via DTS
 - The LED controller supports PWM for brightness control and ramp control for smooth blinking. This is not implemented in the driver
 - The LED controller supports toggling (on -> off -> on -> off) where the brightness of the LEDs can be set individually for each on cycle
 - Until now, only simple active/inactive control is implemented (like when the LEDs would have been connected via GPIO)
 - Controlling the LEDs requires three sequences sent to the chip. Each sequence consists of
   - A reset command (0x81 0xE4) written to register 0x00
   - A control command (for example 0x0C 0x02 0x01 0x00 0x00 0x00 0xFF 0x01 0x00 0x00 0x00 0xFF 0x87 written to register 0x03)
 - The reset command is always the same
 - In the control command
   - byte 0 is always the same
   - byte 1 (0x02 in the example above) must be changed in every sequence: 0x02 -> 0x01 -> 0x03)
   - byte 2 is set to 0x01 which disables toggling. 0x02 would be LED toggling without ramp control, 0x03 would be toggling with ramp control
   - byte 3 to 6 define the brightness values for the LEDs (R,G,B,W) for the first on cycle when toggling
   - byte 7 defines the toggling frequency (if toggling enabled)
   - byte 8 to 11 define the brightness values for the LEDs (R,G,B,W) for the second on cycle when toggling
   - byte 12 is constant 0x87

Signed-off-by: Roland Reinl <reinlroland+github@gmail.com>
(cherry picked from commit 0682974aa8)
2024-07-08 22:51:11 +02:00
..
ath10k-ct mac80211: partly revert force-mac80211 loss detection 2023-07-26 13:29:44 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2024-01-26 12:13:36 +01:00
bcm63xx-cfe bcm63xx-cfe: update to the latest master 2021-06-22 13:27:41 +02:00
bpf-headers bpf-headers: fix package category 2023-03-04 17:18:56 +01:00
broadcom-wl kernel: broadcom-wl: multiple fix to make the package compilable again 2023-05-12 03:15:45 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
dtc/patches
gpio-button-hotplug gpio-button-hotplug: do not error on interrupt attached keys 2023-05-18 17:11:43 +02:00
gpio-nct5104d kernel: gpio-nct5104d: drop unused variables in nct5104d_gpio_init 2023-05-12 03:15:35 +02:00
lantiq kernel: lantiq: ltq-vmmc: introduce user group for vmmc 2024-03-03 16:18:02 +00:00
leds-gca230718 filogic: Add LED driver for GCA230718 2024-07-08 22:51:11 +02:00
leds-ws2812b kernel: add driver package for WS2812B LEDs 2022-12-16 21:41:57 +08:00
linux kernel: crypto: remove FCRYPT from miscellany 2024-07-08 21:13:25 +02:00
mac80211 mac80211: add missing config for third 160MHz width for 5GHz radio 2024-07-08 21:13:24 +02:00
mt76 mt76: mt7996: select required kernel and hostap options 2024-07-08 21:13:26 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: update to version 10.4.10-20231120 2023-12-14 21:45:18 +01:00
nat46 nat46: bump to latest git HEAD 2023-05-12 03:15:33 +02:00
qca-nss-dp qca-nss-dp: fix oops in nss_dp_probe 2023-06-12 22:10:18 +02:00
qca-ssdk kernel: qca-ssdk: backport support for building as kernel module 2023-05-23 23:52:58 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: Ignore address errors 2023-01-09 00:23:22 +01:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
ubnt-ledbar ubnt-ledbar: depend on mediatek and ramips subtargets 2023-06-08 15:33:14 +02:00