2013-06-27 18:12:03 +08:00
|
|
|
#
|
2014-12-13 16:06:22 +08:00
|
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
2013-06-27 18:12:03 +08:00
|
|
|
#
|
|
|
|
# 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
|
2014-12-13 16:06:22 +08:00
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=STMP3xxx SoC built-in RTC support
|
|
|
|
DEPENDS:=@TARGET_mxs
|
|
|
|
$(call AddDepends/rtc)
|
|
|
|
KCONFIG:= \
|
2013-07-05 06:25:26 +08:00
|
|
|
CONFIG_RTC_CLASS=y \
|
|
|
|
CONFIG_RTC_DRV_STMP=m
|
2014-12-13 16:06:22 +08:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,50,rtc-stmp3xxx)
|
2013-07-05 06:25:26 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,rtc-stmp3xxx))
|
|
|
|
|
2013-06-27 18:12:03 +08:00
|
|
|
define KernelPackage/wdt-stmp3xxx
|
2014-12-13 16:06:22 +08:00
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=STMP3xxx Watchdog timer
|
|
|
|
DEPENDS:=kmod-rtc-stmp3xxx
|
|
|
|
KCONFIG:=CONFIG_STMP3XXX_RTC_WATCHDOG
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/stmp3xxx_rtc_wdt.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,51,stmp3xxx_rtc_wdt)
|
2013-06-27 18:12:03 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/wdt-stmp3xxx/description
|
2014-12-13 16:06:22 +08:00
|
|
|
Kernel module for STMP3xxx watchdog timer.
|
2013-06-27 18:12:03 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,wdt-stmp3xxx))
|
2013-07-05 06:25:26 +08:00
|
|
|
|
2013-10-15 03:01:23 +08:00
|
|
|
define KernelPackage/sound-soc-mxs
|
2014-12-13 16:06:22 +08:00
|
|
|
TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
|
|
|
|
KCONFIG:= \
|
2013-07-31 17:52:46 +08:00
|
|
|
CONFIG_SND_SOC_MXS_BUILTIN_CODEC \
|
|
|
|
CONFIG_SND_MXS_SOC_BUILTIN
|
2014-12-13 16:06:22 +08:00
|
|
|
FILES:= \
|
2013-07-31 17:52:46 +08:00
|
|
|
$(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
|
2014-12-13 16:06:22 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,65,snd-soc-mxs-builtin-pcm snd-soc-mxs-builtin-dai snd-soc-mxs-builtin-codec snd-soc-mxs-builtin-audio)
|
2015-07-31 19:58:24 +08:00
|
|
|
DEPENDS:=@TARGET_mxs +kmod-sound-soc-core @LINUX_3_18
|
2014-12-13 16:06:22 +08:00
|
|
|
$(call AddDepends/sound)
|
2013-07-31 17:52:46 +08:00
|
|
|
endef
|
2014-12-12 02:35:41 +08:00
|
|
|
|
2013-10-15 03:01:23 +08:00
|
|
|
define KernelPackage/sound-soc-mxs/description
|
2014-12-13 16:06:22 +08:00
|
|
|
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
|
2014-12-13 16:06:22 +08:00
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=Freescale i.MX23/28 LRADC driver
|
|
|
|
DEPENDS:=@TARGET_mxs +kmod-iio-core
|
|
|
|
KCONFIG:=CONFIG_MXS_LRADC
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,70,mxs-lradc)
|
2013-08-01 17:36:37 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/iio-mxs-lradc/description
|
2014-12-13 16:06:22 +08:00
|
|
|
Kernel module for Freescale i.MX23/28 LRADC driver
|
2013-08-01 17:36:37 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,iio-mxs-lradc))
|
2013-08-03 18:35:18 +08:00
|
|
|
|
|
|
|
define KernelPackage/crypto-hw-dcp
|
2014-12-13 16:06:22 +08:00
|
|
|
TITLE:=Freescale i.MX23/28 DCP hardware crypto module
|
|
|
|
DEPENDS:=@TARGET_mxs
|
|
|
|
KCONFIG:=CONFIG_CRYPTO_DEV_MXS_DCP
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/crypto/mxs-dcp.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,90,mxs-dcp)
|
|
|
|
$(call AddDepends/crypto,+kmod-crypto-authenc +kmod-crypto-des)
|
2013-08-03 18:35:18 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/crypto-hw-dcp/description
|
2014-12-13 16:06:22 +08:00
|
|
|
Kernel support for Freescale i.MX23/28 DCP crypto engine
|
2013-08-03 18:35:18 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,crypto-hw-dcp))
|
2014-12-12 19:10:04 +08:00
|
|
|
|
|
|
|
define KernelPackage/spi-mxs
|
|
|
|
SUBMENU:=$(SPI_MENU)
|
|
|
|
TITLE:=Freescale i.MX23/28 SPI driver
|
|
|
|
DEPENDS:=@TARGET_mxs
|
|
|
|
KCONFIG:=CONFIG_SPI_MXS
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/spi/spi-mxs.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,spi-mxs)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/spi-mxs/description
|
|
|
|
Kernel module for Freescale i.MX23/28 SPI controller
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,spi-mxs))
|
2014-12-12 19:39:22 +08:00
|
|
|
|
|
|
|
I2C_MXS_MODULES:= \
|
|
|
|
CONFIG_I2C_MXS:drivers/i2c/busses/i2c-mxs
|
|
|
|
|
|
|
|
define KernelPackage/i2c-mxs
|
|
|
|
$(call i2c_defaults,$(I2C_MXS_MODULES),55)
|
|
|
|
TITLE:=Freescale i.MX23/28 I2C driver
|
|
|
|
DEPENDS:=@TARGET_mxs +kmod-i2c-core
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/i2c-mxs/description
|
2014-12-13 16:06:22 +08:00
|
|
|
Kernel module for Freescale i.MX23/28 I2C controller
|
2014-12-12 19:39:22 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,i2c-mxs))
|