aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRoman Bazalevsky <rvb@rvb.name>2018-11-05 05:27:30 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2018-11-25 19:26:56 +0100
commite26a55e7499c1601c5285f3e1be4da76e739f53d (patch)
tree3a635fe4dcbfb8749284674e1fb3bd9dfed518db /package
parent392eea392cdae42d4e388e9f1a89bb6fb4e849b6 (diff)
downloadupstream-e26a55e7499c1601c5285f3e1be4da76e739f53d.tar.gz
upstream-e26a55e7499c1601c5285f3e1be4da76e739f53d.tar.bz2
upstream-e26a55e7499c1601c5285f3e1be4da76e739f53d.zip
kernel/modules: ROHM BH1750 ALS IIO kernel module support enabled.
Signed-off-by: Roman Bazalevsky <rvb@rvb.name>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/iio.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index 510329ff3f..a2ce821e74 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-bh1750
+ SUBMENU:=$(IIO_MENU)
+ DEPENDS:=+kmod-i2c-core +kmod-iio-core
+ TITLE:=ROHM BH1750 ambient light sensor
+ KCONFIG:= CONFIG_BH1750
+ FILES:=$(LINUX_DIR)/drivers/iio/light/bh1750.ko
+ AUTOLOAD:=$(call AutoLoad,56,bh1750)
+endef
+define KernelPackage/iio-bh1750/description
+ ROHM BH1750 ambient light sensor (i2c bus)
+endef
+$(eval $(call KernelPackage,iio-bh1750))
+
define KernelPackage/iio-am2315
SUBMENU:=$(IIO_MENU)
DEPENDS:=+kmod-i2c-core +kmod-iio-core