2 # Copyright (C) 2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 define KernelPackage/rtc-stmp3xxx
9 TITLE:=STMP3xxx SoC built-in RTC support
11 $(call AddDepends/rtc)
15 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko
16 AUTOLOAD:=$(call AutoLoad,50,rtc-stmp3xxx)
19 $(eval $(call KernelPackage,rtc-stmp3xxx))
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)
30 define KernelPackage/wdt-stmp3xxx/description
31 Kernel module for STMP3xxx watchdog timer.
34 $(eval $(call KernelPackage,wdt-stmp3xxx))
36 define KernelPackage/usb-chipidea-imx
37 TITLE:=Support for ChipIdea controllers on Freescale i.MX SoCs
38 DEPENDS:=+kmod-usb-chipidea @TARGET_mxs
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)
46 define KernelPackage/usb-chipidea-imx/description
47 Kernel support for USB ChipIdea controllers on Freescale i.MX SoCs
50 $(eval $(call KernelPackage,usb-chipidea-imx,1))
52 define KernelPackage/usb-mxs-phy
53 TITLE:=Support for Freescale MXS USB PHY controllers
54 DEPENDS:=+kmod-usb-chipidea-imx
57 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
58 AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1)
59 $(call AddDepends/usb)
62 define KernelPackage/usb-mxs-phy/description
63 Kernel support for Freescale MXS USB PHY controllers
66 $(eval $(call KernelPackage,usb-mxs-phy,1))
68 define KernelPackage/sound-soc-mxs
69 TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
71 CONFIG_SND_SOC_MXS_BUILTIN_CODEC \
72 CONFIG_SND_MXS_SOC_BUILTIN
74 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-audio.ko \
75 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-dai.ko \
76 $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-pcm.ko \
77 $(LINUX_DIR)/sound/soc/codecs/snd-soc-mxs-builtin-codec.ko
78 AUTOLOAD:=$(call AutoLoad,65,snd-soc-mxs-builtin-pcm snd-soc-mxs-builtin-dai snd-soc-mxs-builtin-codec snd-soc-mxs-builtin-audio)
79 DEPENDS:=@TARGET_mxs +kmod-sound-soc-core
80 $(call AddDepends/sound)
83 define KernelPackage/sound-soc-mxs/description
84 Kernel support for Freescale i.MX23/i.MX28 built-in SoC audio
87 $(eval $(call KernelPackage,sound-soc-mxs))
89 define KernelPackage/iio-mxs-lradc
90 SUBMENU:=$(OTHER_MENU)
91 TITLE:=LRADC driver for i.MX23/28
93 KCONFIG:=CONFIG_MXS_LRADC
94 FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \
95 $(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko
96 AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc)
99 define KernelPackage/iio-mxs-lradc/description
100 Kernel module for i.MX23/28 LRADC driver
103 $(eval $(call KernelPackage,iio-mxs-lradc))
105 define KernelPackage/crypto-hw-dcp
106 TITLE:=i.MX23/28 DCP hardware crypto module
108 KCONFIG:=CONFIG_CRYPTO_DEV_DCP
109 FILES:=$(LINUX_DIR)/drivers/crypto/dcp.ko
110 AUTOLOAD:=$(call AutoLoad,90,dcp)
111 $(call AddDepends/crypto,+kmod-crypto-authenc +kmod-crypto-des)
114 define KernelPackage/crypto-hw-dcp/description
115 Kernel support for the i.MX23/28 DCP crypto engine
118 $(eval $(call KernelPackage,crypto-hw-dcp))