$(eval $(call KernelPackage,wdt-stmp3xxx))
-define KernelPackage/usb-chipidea
- TITLE:=Support for ChipIdea controllers
- DEPENDS:=@TARGET_imx23
- KCONFIG:= \
- CONFIG_USB_CHIPIDEA \
- CONFIG_USB_CHIPIDEA_HOST=y \
- CONFIG_USB_CHIPIDEA_DEBUG=y
+define KernelPackage/usb-chipidea-imx
+ TITLE:=Support for ChipIdea controllers on i.MX
+ DEPENDS:=+kmod-usb-chipidea @TARGET_imx23
FILES:=\
- $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko
- AUTOLOAD:=$(call AutoLoad,51,ci_hdrc ci13xxx_imx,1)
+ AUTOLOAD:=$(call AutoLoad,52,ci13xxx_imx,1)
$(call AddDepends/usb)
endef
-define KernelPackage/usb-chipidea/description
- Kernel support for USB ChipIdea controllers
+define KernelPackage/usb-chipidea-imx/description
+ Kernel support for USB ChipIdea controllers on i.MX
endef
-$(eval $(call KernelPackage,usb-chipidea,1))
+$(eval $(call KernelPackage,usb-chipidea-imx,1))
define KernelPackage/usb-mxs-phy
TITLE:=Support for Freescale MXS USB PHY controllers
- DEPENDS:=+kmod-usb-chipidea
+ DEPENDS:=+kmod-usb-chipidea-imx
KCONFIG:= \
CONFIG_USB_MXS_PHY
- FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
+ FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1)
$(call AddDepends/usb)
endef
$(eval $(call KernelPackage,usb-net-smsc95xx))
+define KernelPackage/sound-soc-imx23
+ TITLE:=Freescale i.MX233 built-in SoC sound support
+ 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)
+ DEPENDS:=@TARGET_imx23 +kmod-sound-soc-core
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-imx23/description
+ Kernel support for i.MX233 built-in SoC audio
+endef
+
+$(eval $(call KernelPackage,sound-soc-imx23))
+
+define KernelPackage/iio-mxs-lradc
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LRADC driver for i.MX23/28
+ DEPENDS:=@TARGET_imx23
+ 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))