generic: backport support for KTD2026/7 rgb(w) led controller
authorGeorge Oldfort <openwrt@10099.de>
Tue, 26 Nov 2024 14:04:45 +0000 (15:04 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Nov 2024 20:59:58 +0000 (21:59 +0100)
commit56d97fff55f3d384eeb00b021c43fecb380a5bdd
tree4b910cc1ef6d665f2ba24929f5b032f52845e287
parent620a7ef47f0ba0e5d8769eed808a2875474e05d4
generic: backport support for KTD2026/7 rgb(w) led controller

This commit adds the Linux kernel mainline driver "leds-ktd202x" for the
KinetIC KTD2026 and KTD2027 RGB/RBGW controller with I2C interface that was
introduced in kernel version 6.7, last changed in mainline on 2024-05-31.

At least the Acer Connect Vero W6m (a variant of the Acer Predator Connect
W6 without 2.5G eth1 port, usb3 port, and the 6 on-board gpio RGB LEDs) is
equipped with a KTD2026 (and a single RGB LED attached to it used by the
stock firmware as status LED), and maybe other router devices also are.

Signed-off-by: George Oldfort <openwrt@10099.de>
Link: https://github.com/openwrt/openwrt/pull/16860
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/leds.mk
target/linux/generic/backport-6.6/860-v6.7-leds-add-ktd202x-driver.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/861-v6.10-leds-rgb-leds-ktd202x-get-device-properties-through-fwnode.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/862-v6.10-leds-rgb-leds-ktd202x-i2c-id-tables-for-ktd2026-and-2027.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/863-v6.10-leds-rgb-leds-ktd202x-initialize-mutex-earlier.patch [new file with mode: 0644]