[openwrt/openwrt] kernel: add kmod-iio-mxs-lradc

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 20 06:19:29 PST 2018


wigyori pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/42845f455093b14fd3cd5b2acc5ff26ed3469c5e

commit 42845f455093b14fd3cd5b2acc5ff26ed3469c5e
Author: Michael Heimpold <mhei at heimpold.de>
AuthorDate: Sun Feb 11 14:19:15 2018 +0100

    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 at heimpold.de>
---
 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 8990e54..b9ab3b4 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)



More information about the lede-commits mailing list