bmips: add LED kernel modules
[openwrt/staging/dedeckeh.git] / target / linux / bmips / modules.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 define KernelPackage/leds-bcm6328
4 SUBMENU:=$(LEDS_MENU)
5 TITLE:=BCM6328 LED support
6 KCONFIG:=CONFIG_LEDS_BCM6328
7 FILES:=$(LINUX_DIR)/drivers/leds/leds-bcm6328.ko
8 DEPENDS:=@TARGET_bmips
9 AUTOLOAD:=$(call AutoLoad,60,leds-bcm6328,1)
10 endef
11
12 define KernelPackage/leds-bcm6328/description
13 Kernel support for the BCM6328 LED controller.
14 endef
15
16 $(eval $(call KernelPackage,leds-bcm6328))
17
18 define KernelPackage/leds-bcm6358
19 SUBMENU:=$(LEDS_MENU)
20 TITLE:=BCM6358 LED support
21 KCONFIG:=CONFIG_LEDS_BCM6358
22 FILES:=$(LINUX_DIR)/drivers/leds/leds-bcm6358.ko
23 DEPENDS:=@TARGET_bmips
24 AUTOLOAD:=$(call AutoLoad,60,leds-bcm6358,1)
25 endef
26
27 define KernelPackage/leds-bcm6358/description
28 Kernel support for the BCM6358 LED controller.
29 endef
30
31 $(eval $(call KernelPackage,leds-bcm6358))
32
33 define KernelPackage/leds-sercomm-msp430
34 SUBMENU:=$(LEDS_MENU)
35 TITLE:=Sercomm MSP430G2513 LED support
36 KCONFIG:=CONFIG_LEDS_SERCOMM_MSP430
37 FILES:=$(LINUX_DIR)/drivers/leds/leds-sercomm-msp430.ko
38 DEPENDS:=@TARGET_bmips +kmod-ledtrig-pattern
39 AUTOLOAD:=$(call AutoLoad,60,leds-sercomm-msp430,1)
40 endef
41
42 define KernelPackage/leds-sercomm-msp430/description
43 Kernel support for the Sercomm MSP430G2513 SPI LED controller.
44 endef
45
46 $(eval $(call KernelPackage,leds-sercomm-msp430))