diff options
author | Roman Bazalevskiy <rvb@rvb.name> | 2018-10-12 15:16:42 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-10-20 16:24:29 +0200 |
commit | 47e7a3904df6e0556fa9cd29206e9b8228e4d943 (patch) | |
tree | fbeb5842f349d63f9fdeb24043b8933fb3ae35f1 /package | |
parent | 858a8acf3ec786348f6d347cf9e7afcf4888fee1 (diff) | |
download | upstream-47e7a3904df6e0556fa9cd29206e9b8228e4d943.tar.gz upstream-47e7a3904df6e0556fa9cd29206e9b8228e4d943.tar.bz2 upstream-47e7a3904df6e0556fa9cd29206e9b8228e4d943.zip |
kernel/modules: Aosong AM2315/AM2320 IIO kernel module support enabled.
Signed-off-by: Roman Bazalevskiy <rvb@rvb.name>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/iio.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index b7eb048516..f2c82e7de5 100644 --- a/package/kernel/linux/modules/iio.mk +++ b/package/kernel/linux/modules/iio.mk @@ -52,6 +52,19 @@ endef $(eval $(call KernelPackage,iio-ad799x)) +define KernelPackage/iio-am2315 + SUBMENU:=$(IIO_MENU) + DEPENDS:=+kmod-i2c-core +kmod-iio-core + TITLE:=Asong AM2315 humidity/temperature sensor + KCONFIG:= CONFIG_AM2315 + FILES:=$(LINUX_DIR)/drivers/iio/humidity/am2315.ko + AUTOLOAD:=$(call AutoLoad,56,am2315) +endef +define KernelPackage/iio-am2315/description + Aosong AM2315 humidity/temperature sensor (I2C bus) +endef +$(eval $(call KernelPackage,iio-am2315)) + define KernelPackage/iio-mxs-lradc SUBMENU:=$(IIO_MENU) DEPENDS:=@TARGET_mxs +kmod-iio-core |