kernel: add pcengines-apu2 module description
[oweals/openwrt.git] / target / linux / x86 / modules.mk
1 #
2 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 #
6
7 define KernelPackage/sound-cs5535audio
8   TITLE:=CS5535/CS5536 Audio Controller
9   DEPENDS:=@TARGET_x86_geode +kmod-ac97
10   KCONFIG:=CONFIG_SND_CS5535AUDIO
11   FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
12   AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
13   $(call AddDepends/sound)
14 endef
15
16 define KernelPackage/sound-cs5535audio/description
17  Support for the integrated AC97 sound device on motherboards
18  with AMD CS5535/CS5536 chipsets.
19 endef
20
21 $(eval $(call KernelPackage,sound-cs5535audio))
22
23 define KernelPackage/sp5100-tco
24   SUBMENU:=$(OTHER_MENU)
25   TITLE:=SP5100 Watchdog Support
26   DEPENDS:=@TARGET_x86
27   KCONFIG:=CONFIG_SP5100_TCO
28   FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
29   AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
30 endef
31
32 define KernelPackage/sp5100-tco/description
33  Kernel module for the SP5100_TCO hardware watchdog.
34 endef
35
36 $(eval $(call KernelPackage,sp5100-tco))
37
38
39 define KernelPackage/pcengines-apuv2
40   SUBMENU:=$(OTHER_MENU)
41   TITLE:=PC Engines APUv2/3 front button and LEDs driver
42   DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
43   KCONFIG:=CONFIG_PCENGINES_APU2
44   FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
45   AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
46 endef
47
48 define KernelPackage/pcengines-apuv2/description
49   This driver provides support for the front button and LEDs on
50   PC Engines APUv2/APUv3 board.
51 endef
52
53 $(eval $(call KernelPackage,pcengines-apuv2))