kernel: add kmod-leds-lp5523
Add kernel module for LP5523/LP55231 LED driver. The kmod-leds-lp5523 depends on kmod-leds-lp55xx-common. Signed-off-by: Sergey Shlukov <ichizakurain@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17753 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
a9972ae53e
commit
92ad1ea245
1 changed files with 17 additions and 0 deletions
|
@ -333,6 +333,23 @@ endef
|
||||||
$(eval $(call KernelPackage,leds-lp55xx-common))
|
$(eval $(call KernelPackage,leds-lp55xx-common))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/leds-lp5523
|
||||||
|
SUBMENU:=$(LEDS_MENU)
|
||||||
|
TITLE:=LED driver for LP5523/LP55231 controllers
|
||||||
|
DEPENDS:=+kmod-i2c-core +kmod-leds-lp55xx-common
|
||||||
|
KCONFIG:=CONFIG_LEDS_LP5523
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/leds/leds-lp5523.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,60,leds-lp5523,1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/leds-lp5523/description
|
||||||
|
This option enables support for Texas Instruments LP5523/LP55231
|
||||||
|
LED controllers.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,leds-lp5523))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/leds-lp5562
|
define KernelPackage/leds-lp5562
|
||||||
SUBMENU:=$(LEDS_MENU)
|
SUBMENU:=$(LEDS_MENU)
|
||||||
TITLE:=LED driver for LP5562 controllers
|
TITLE:=LED driver for LP5562 controllers
|
||||||
|
|
Loading…
Reference in a new issue