From 42845f455093b14fd3cd5b2acc5ff26ed3469c5e Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Sun, 11 Feb 2018 14:19:15 +0100 Subject: [PATCH] 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 --- package/kernel/linux/modules/iio.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index 8990e5481340..b9ab3b4df840 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) -- 2.30.2