aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2018-02-11 14:19:15 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2018-02-20 13:24:57 +0100
commit42845f455093b14fd3cd5b2acc5ff26ed3469c5e (patch)
treef94918bb8d75edc7c469e8bb49761b8466ab689e /package/kernel/linux
parent4812a3d1b500369c746b0c6f082d06d27221dc0c (diff)
downloadupstream-42845f455093b14fd3cd5b2acc5ff26ed3469c5e.tar.gz
upstream-42845f455093b14fd3cd5b2acc5ff26ed3469c5e.tar.bz2
upstream-42845f455093b14fd3cd5b2acc5ff26ed3469c5e.zip
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 <mhei@heimpold.de>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/iio.mk15
1 files changed, 15 insertions, 0 deletions
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)