aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:44 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:44 +0000
commit7a320b8ae57552c50216b6d74dabf0be7ef734f8 (patch)
treed7d5b35b39f1d7a6867827c7893dc69f685e1687 /package/kernel/modules
parent69cd56f5712239699a9092aeb9ca5008050ee981 (diff)
downloadmaster-187ad058-7a320b8ae57552c50216b6d74dabf0be7ef734f8.tar.gz
master-187ad058-7a320b8ae57552c50216b6d74dabf0be7ef734f8.tar.bz2
master-187ad058-7a320b8ae57552c50216b6d74dabf0be7ef734f8.zip
[kernel] Add INA2XX current sensor module.
This is a I2C current/voltage/power sensor. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36182 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/hwmon.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk
index bc1f65281d..969e8fa3aa 100644
--- a/package/kernel/modules/hwmon.mk
+++ b/package/kernel/modules/hwmon.mk
@@ -60,6 +60,21 @@ endef
$(eval $(call KernelPackage,hwmon-adt7475))
+define KernelPackage/hwmon-ina2xx
+ TITLE:=INA2XX monitoring support
+ KCONFIG:=CONFIG_SENSORS_INA2XX
+ FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
+ AUTOLOAD:=$(call AutoLoad,60,ina2xx)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-ina2xx/description
+ Kernel module for ina2xx dc current monitor chips
+endef
+
+$(eval $(call KernelPackage,hwmon-ina2xx))
+
+
define KernelPackage/hwmon-lm63
TITLE:=LM63/64 monitoring support
KCONFIG:=CONFIG_SENSORS_LM63