package: uboot-mxs: cosmetic fix
[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/usb-mxs-phy
53 TITLE:=Support for Freescale MXS USB PHY controllers
54 DEPENDS:=+kmod-usb-chipidea-imx
55 KCONFIG:= \
56 CONFIG_USB_MXS_PHY
57 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
58 AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1)
59 $(call AddDepends/usb)
60 endef
61
62 define KernelPackage/usb-mxs-phy/description
63 Kernel support for Freescale MXS USB PHY controllers
64 endef
65
66 $(eval $(call KernelPackage,usb-mxs-phy,1))
67
68 define KernelPackage/usb-net-smsc95xx
69 TITLE:=SMSC95xx USB/2.0 Ethernet driver
70 DEPENDS:=@TARGET_mxs
71 KCONFIG:=CONFIG_USB_NET_SMSC95XX
72 FILES:=$(LINUX_DIR)/drivers/net/usb/smsc95xx.ko
73 AUTOLOAD:=$(call AutoLoad,64,smsc95xx)
74 $(call AddDepends/usb-net)
75 endef
76
77 define KernelPackage/usb-net-smsc95xx/description
78 Kernel support for SMSC95xx USB/2.0 Ethernet driver
79 endef
80
81 $(eval $(call KernelPackage,usb-net-smsc95xx))
82
83 define KernelPackage/sound-soc-mxs
84 TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
85 KCONFIG:= \
86 CONFIG_SND_SOC_MXS_BUILTIN_CODEC \
87 CONFIG_SND_MXS_SOC_BUILTIN
88 FILES:= \
89 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-audio.ko \
90 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-dai.ko \
91 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-pcm.ko \
92 $(LINUX_DIR)/sound/soc/codecs/snd-soc-mxs-builtin-codec.ko
93 AUTOLOAD:=$(call AutoLoad,65,snd-soc-mxs-builtin-pcm snd-soc-mxs-builtin-dai snd-soc-mxs-builtin-codec snd-soc-mxs-builtin-audio)
94 DEPENDS:=@TARGET_mxs +kmod-sound-soc-core
95 $(call AddDepends/sound)
96 endef
97
98 define KernelPackage/sound-soc-mxs/description
99 Kernel support for Freescale i.MX23/i.MX28 built-in SoC audio
100 endef
101
102 $(eval $(call KernelPackage,sound-soc-mxs))
103
104 define KernelPackage/iio-mxs-lradc
105 SUBMENU:=$(OTHER_MENU)
106 TITLE:=LRADC driver for i.MX23/28
107 DEPENDS:=@TARGET_mxs
108 KCONFIG:=CONFIG_MXS_LRADC
109 FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \
110 $(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko
111 AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc)
112 endef
113
114 define KernelPackage/iio-mxs-lradc/description
115 Kernel module for i.MX23/28 LRADC driver
116 endef
117
118 $(eval $(call KernelPackage,iio-mxs-lradc))
119
120 define KernelPackage/crypto-hw-dcp
121 TITLE:=i.MX23/28 DCP hardware crypto module
122 DEPENDS:=@TARGET_mxs
123 KCONFIG:=CONFIG_CRYPTO_DEV_DCP
124 FILES:=$(LINUX_DIR)/drivers/crypto/dcp.ko
125 AUTOLOAD:=$(call AutoLoad,90,dcp)
126 $(call AddDepends/crypto,+kmod-crypto-authenc +kmod-crypto-des)
127 endef
128
129 define KernelPackage/crypto-hw-dcp/description
130 Kernel support for the i.MX23/28 DCP crypto engine
131 endef
132
133 $(eval $(call KernelPackage,crypto-hw-dcp))