From ef552acd91a9fa6f992437ba2a0551f63c982db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Valentin?= Date: Tue, 25 Aug 2026 19:50:59 +0200 Subject: [PATCH] linux/modules: add kmod-leds-lp5569 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a kernel module package for the TI LP5569 RGB LED controller driver, used by the front panel LEDs of the Zyxel NBG7815. The driver registers an i2c and an of device table, so AutoProbe is enough and no load priority is needed. The boot flag is kept, as the other LED modules do, so that the module is available to preinit on a device that signals boot state through one of its LEDs. Signed-off-by: André Valentin --- package/kernel/linux/modules/leds.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 618ae53957d..250b078dbf9 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -383,3 +383,20 @@ define KernelPackage/leds-lp5562/description endef $(eval $(call KernelPackage,leds-lp5562)) + + +define KernelPackage/leds-lp5569 + SUBMENU:=$(LEDS_MENU) + TITLE:=LED driver for LP5569 controllers + DEPENDS:=+kmod-i2c-core +kmod-leds-lp55xx-common + KCONFIG:=CONFIG_LEDS_LP5569 + FILES:=$(LINUX_DIR)/drivers/leds/leds-lp5569.ko + AUTOLOAD:=$(call AutoProbe,leds-lp5569,1) +endef + +define KernelPackage/leds-lp5569/description + This option enables support for Texas Instruments LP5569 + LED controllers. +endef + +$(eval $(call KernelPackage,leds-lp5569))