mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 02:37:22 +04:00
linux/modules: add kmod-leds-lp5569
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 <avalentin@marcant.net>
This commit is contained in:
1 parent
eaffd8be91
commit
ef552acd91
1 file changed
+17
@@ -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))
|
||||
Reference in new issue
Block a user