From 42845f455093b14fd3cd5b2acc5ff26ed3469c5e Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Sun, 11 Feb 2018 14:19:15 +0100 Subject: 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(+) (limited to 'package/kernel/linux/modules/iio.mk') 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) -- cgit v1.2.3