aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2015-11-01 15:37:42 +0100
committerDaniel Golle <daniel@makrotopia.org>2016-05-16 18:00:34 +0200
commit449aba4fe849ce51c54c32689546e8d99da7f756 (patch)
tree772d38adf8ccd141698d001dc30c8469ceec4e17 /package/kernel
parent910d9ba454c40b6d7c229a0bd48462f1c86c5419 (diff)
downloadupstream-449aba4fe849ce51c54c32689546e8d99da7f756.tar.gz
upstream-449aba4fe849ce51c54c32689546e8d99da7f756.tar.bz2
upstream-449aba4fe849ce51c54c32689546e8d99da7f756.zip
modules: hwmon: package driver for INA209 power monitor
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/hwmon.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index d9186879ce..69aaacd92f 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -78,6 +78,21 @@ endef
$(eval $(call KernelPackage,hwmon-adt7475))
+define KernelPackage/hwmon-ina209
+ TITLE:=INA209 monitoring support
+ KCONFIG:=CONFIG_SENSORS_INA209
+ FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
+ AUTOLOAD:=$(call AutoProbe,ina209)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-ina209/description
+ Kernel module for ina209 dc power monitor chips
+endef
+
+$(eval $(call KernelPackage,hwmon-ina209))
+
+
define KernelPackage/hwmon-ina2xx
TITLE:=INA2XX monitoring support
KCONFIG:=CONFIG_SENSORS_INA2XX