2013-06-27 18:12:03 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
2013-07-05 06:25:26 +08:00
|
|
|
define KernelPackage/rtc-stmp3xxx
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=STMP3xxx SoC built-in RTC support
|
2013-10-15 03:01:23 +08:00
|
|
|
DEPENDS:=@TARGET_mxs
|
2013-07-05 06:25:26 +08:00
|
|
|
$(call AddDepends/rtc)
|
2013-10-15 03:01:23 +08:00
|
|
|
KCONFIG:= \
|
2013-07-05 06:25:26 +08:00
|
|
|
CONFIG_RTC_CLASS=y \
|
|
|
|
CONFIG_RTC_DRV_STMP=m
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,50,rtc-stmp3xxx)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,rtc-stmp3xxx))
|
|
|
|
|
2013-06-27 18:12:03 +08:00
|
|
|
define KernelPackage/wdt-stmp3xxx
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=STMP3xxx Watchdog timer
|
2013-07-05 06:25:26 +08:00
|
|
|
DEPENDS:=kmod-rtc-stmp3xxx
|
2013-06-27 18:12:03 +08:00
|
|
|
KCONFIG:=CONFIG_STMP3XXX_RTC_WATCHDOG
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/stmp3xxx_rtc_wdt.ko
|
2013-07-05 06:25:26 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,51,stmp3xxx_rtc_wdt)
|
2013-06-27 18:12:03 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/wdt-stmp3xxx/description
|
|
|
|
Kernel module for STMP3xxx watchdog timer.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,wdt-stmp3xxx))
|
2013-07-05 06:25:26 +08:00
|
|
|
|
2013-07-18 06:49:16 +08:00
|
|
|
define KernelPackage/usb-chipidea-imx
|
2013-10-15 03:01:23 +08:00
|
|
|
TITLE:=Support for ChipIdea controllers on Freescale i.MX SoCs
|
|
|
|
DEPENDS:=+kmod-usb-chipidea @TARGET_mxs
|
|
|
|
FILES:= \
|
2013-11-12 20:48:10 +08:00
|
|
|
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko \
|
|
|
|
$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,52,usbmisc_imx ci_hdrc_imx,1)
|
2013-06-27 18:12:03 +08:00
|
|
|
$(call AddDepends/usb)
|
|
|
|
endef
|
|
|
|
|
2013-07-18 06:49:16 +08:00
|
|
|
define KernelPackage/usb-chipidea-imx/description
|
2013-10-15 03:01:23 +08:00
|
|
|
Kernel support for USB ChipIdea controllers on Freescale i.MX SoCs
|
2013-06-27 18:12:03 +08:00
|
|
|
endef
|
|
|
|
|
2013-07-18 06:49:16 +08:00
|
|
|
$(eval $(call KernelPackage,usb-chipidea-imx,1))
|
2013-06-27 18:12:03 +08:00
|
|
|
|
2013-10-15 03:01:23 +08:00
|
|
|
define KernelPackage/sound-soc-mxs
|
|
|
|
TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
|
2013-07-31 17:52:46 +08:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_SND_SOC_MXS_BUILTIN_CODEC \
|
|
|
|
CONFIG_SND_MXS_SOC_BUILTIN
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-audio.ko \
|
|
|
|
$(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-dai.ko \
|
|
|
|
$(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-builtin-pcm.ko \
|
|
|
|
$(LINUX_DIR)/sound/soc/codecs/snd-soc-mxs-builtin-codec.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,65,snd-soc-mxs-builtin-pcm snd-soc-mxs-builtin-dai snd-soc-mxs-builtin-codec snd-soc-mxs-builtin-audio)
|
2013-10-15 03:01:23 +08:00
|
|
|
DEPENDS:=@TARGET_mxs +kmod-sound-soc-core
|
2013-07-31 17:52:46 +08:00
|
|
|
$(call AddDepends/sound)
|
|
|
|
endef
|
|
|
|
|
2013-10-15 03:01:23 +08:00
|
|
|
define KernelPackage/sound-soc-mxs/description
|
|
|
|
Kernel support for Freescale i.MX23/i.MX28 built-in SoC audio
|
2013-07-31 17:52:46 +08:00
|
|
|
endef
|
|
|
|
|
2013-10-15 03:01:23 +08:00
|
|
|
$(eval $(call KernelPackage,sound-soc-mxs))
|
2013-07-31 17:52:46 +08:00
|
|
|
|
2013-08-01 17:36:37 +08:00
|
|
|
define KernelPackage/iio-mxs-lradc
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=LRADC driver for i.MX23/28
|
2013-10-15 03:01:23 +08:00
|
|
|
DEPENDS:=@TARGET_mxs
|
2013-08-01 17:36:37 +08:00
|
|
|
KCONFIG:=CONFIG_MXS_LRADC
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \
|
|
|
|
$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-mxs-lradc/description
|
|
|
|
Kernel module for i.MX23/28 LRADC driver
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-mxs-lradc))
|
2013-08-03 18:35:18 +08:00
|
|
|
|
|
|
|
define KernelPackage/crypto-hw-dcp
|
|
|
|
TITLE:=i.MX23/28 DCP hardware crypto module
|
2013-10-15 03:01:23 +08:00
|
|
|
DEPENDS:=@TARGET_mxs
|
2014-08-02 19:29:11 +08:00
|
|
|
KCONFIG:=CONFIG_CRYPTO_DEV_MXS_DCP
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/crypto/mxs-dcp.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,90,mxs-dcp)
|
2013-08-03 18:35:18 +08:00
|
|
|
$(call AddDepends/crypto,+kmod-crypto-authenc +kmod-crypto-des)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/crypto-hw-dcp/description
|
|
|
|
Kernel support for the i.MX23/28 DCP crypto engine
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,crypto-hw-dcp))
|