Skip to content

Commit

Permalink
kernel/modules: Aosong AM2315/AM2320 IIO kernel module support enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Bazalevskiy <rvb@rvb.name>
  • Loading branch information
rvbglas authored and hauke committed Oct 20, 2018
1 parent 858a8ac commit 47e7a39
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package/kernel/linux/modules/iio.mk
Expand Up @@ -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
Expand Down

0 comments on commit 47e7a39

Please sign in to comment.