mxs: rename files so that profiles are sorted alphabetically
[openwrt/openwrt.git] / target / linux / mxs / modules.mk
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 define KernelPackage/rtc-stmp3xxx
8 SUBMENU:=$(OTHER_MENU)
9 TITLE:=STMP3xxx SoC built-in RTC support
10 DEPENDS:=@TARGET_mxs
11 $(call AddDepends/rtc)
12 KCONFIG:= \
13 CONFIG_RTC_CLASS=y \
14 CONFIG_RTC_DRV_STMP=m
15 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko
16 AUTOLOAD:=$(call AutoLoad,50,rtc-stmp3xxx)
17 endef
18
19 $(eval $(call KernelPackage,rtc-stmp3xxx))
20
21 define KernelPackage/wdt-stmp3xxx
22 SUBMENU:=$(OTHER_MENU)
23 TITLE:=STMP3xxx Watchdog timer
24 DEPENDS:=kmod-rtc-stmp3xxx
25 KCONFIG:=CONFIG_STMP3XXX_RTC_WATCHDOG
26 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/stmp3xxx_rtc_wdt.ko
27 AUTOLOAD:=$(call AutoLoad,51,stmp3xxx_rtc_wdt)
28 endef
29
30 define KernelPackage/wdt-stmp3xxx/description
31 Kernel module for STMP3xxx watchdog timer.
32 endef
33
34 $(eval $(call KernelPackage,wdt-stmp3xxx))
35
36 define KernelPackage/usb-chipidea-imx
37 TITLE:=Support for ChipIdea controllers on Freescale i.MX SoCs
38 DEPENDS:=+kmod-usb-chipidea @TARGET_mxs
39 FILES:= \
40 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko \
41 $(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko
42 AUTOLOAD:=$(call AutoLoad,52,usbmisc_imx ci_hdrc_imx,1)
43 $(call AddDepends/usb)
44 endef
45
46 define KernelPackage/usb-chipidea-imx/description
47 Kernel support for USB ChipIdea controllers on Freescale i.MX SoCs
48 endef
49
50 $(eval $(call KernelPackage,usb-chipidea-imx,1))
51
52 define KernelPackage/sound-soc-mxs
53 TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
54 KCONFIG:= \
55 CONFIG_SND_SOC_MXS_BUILTIN_CODEC \
56 CONFIG_SND_MXS_SOC_BUILTIN
57 FILES:= \
58 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-audio.ko \
59 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-dai.ko \
60 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-pcm.ko \
61 $(LINUX_DIR)/sound/soc/codecs/snd-soc-mxs-builtin-codec.ko
62 AUTOLOAD:=$(call AutoLoad,65,snd-soc-mxs-builtin-pcm snd-soc-mxs-builtin-dai snd-soc-mxs-builtin-codec snd-soc-mxs-builtin-audio)
63 DEPENDS:=@TARGET_mxs +kmod-sound-soc-core
64 $(call AddDepends/sound)
65 endef
66
67 define KernelPackage/sound-soc-mxs/description
68 Kernel support for Freescale i.MX23/i.MX28 built-in SoC audio
69 endef
70
71 $(eval $(call KernelPackage,sound-soc-mxs))
72
73 define KernelPackage/iio-mxs-lradc
74 SUBMENU:=$(OTHER_MENU)
75 TITLE:=LRADC driver for i.MX23/28
76 DEPENDS:=@TARGET_mxs
77 KCONFIG:=CONFIG_MXS_LRADC
78 FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \
79 $(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko
80 AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc)
81 endef
82
83 define KernelPackage/iio-mxs-lradc/description
84 Kernel module for i.MX23/28 LRADC driver
85 endef
86
87 $(eval $(call KernelPackage,iio-mxs-lradc))
88
89 define KernelPackage/crypto-hw-dcp
90 TITLE:=i.MX23/28 DCP hardware crypto module
91 DEPENDS:=@TARGET_mxs
92 KCONFIG:=CONFIG_CRYPTO_DEV_DCP
93 FILES:=$(LINUX_DIR)/drivers/crypto/dcp.ko
94 AUTOLOAD:=$(call AutoLoad,90,dcp)
95 $(call AddDepends/crypto,+kmod-crypto-authenc +kmod-crypto-des)
96 endef
97
98 define KernelPackage/crypto-hw-dcp/description
99 Kernel support for the i.MX23/28 DCP crypto engine
100 endef
101
102 $(eval $(call KernelPackage,crypto-hw-dcp))