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>
Wed, 1 Jan 2025 22:14:31 +0000 (23:14 +0100)
commita9ddc7432abae1105d9f2385d13edd931d48720b
tree7edc83585909f3629b67fd90e922469b3fb7f9eb
parent812046971e3e69428f48bc85a4d64d9e0fab5dd6
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>
(cherry picked from commit 56d97fff55f3d384eeb00b021c43fecb380a5bdd)
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]