From: Michael Heimpold Date: Sun, 11 Feb 2018 13:19:15 +0000 (+0100) Subject: kernel: add kmod-iio-mxs-lradc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=42845f455093b14fd3cd5b2acc5ff26ed3469c5e;p=openwrt%2Fstaging%2Fynezz.git kernel: add kmod-iio-mxs-lradc This adds support for the Freescale i.MX23/28 SoC's Low-Resolution ADC. Signed-off-by: Michael Heimpold --- diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index 8990e54813..b9ab3b4df8 100644 --- a/package/kernel/linux/modules/iio.mk +++ b/package/kernel/linux/modules/iio.mk @@ -52,6 +52,21 @@ endef $(eval $(call KernelPackage,iio-ad799x)) +define KernelPackage/iio-mxs-lradc + SUBMENU:=$(IIO_MENU) + DEPENDS:=+kmod-iio-core + TITLE:=Freescale i.MX23/i.MX28 LRADC ADC driver + KCONFIG:= \ + CONFIG_MXS_LRADC_ADC + FILES:=$(LINUX_DIR)/drivers/iio/adc/mxs-lradc-adc.ko + AUTOLOAD:=$(call AutoLoad,56,mxs-lradc-adc) +endef + +define KernelPackage/iio-mxs-lradc/description + Support for Freescale's i.MX23/i.MX28 SoC internal Low-Resolution ADC +endef + +$(eval $(call KernelPackage,iio-mxs-lradc)) define KernelPackage/iio-dht11 SUBMENU:=$(IIO_MENU)