Add INA2XX current sensor module.

This is a I2C current/voltage/power sensor.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36182
This commit is contained in:
John Crispin 2013-04-03 10:00:44 +00:00
parent 7852c48ffd
commit 219313833a

View file

@ -60,6 +60,21 @@ endef
$(eval $(call KernelPackage,hwmon-adt7475)) $(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 define KernelPackage/hwmon-lm63
TITLE:=LM63/64 monitoring support TITLE:=LM63/64 monitoring support
KCONFIG:=CONFIG_SENSORS_LM63 KCONFIG:=CONFIG_SENSORS_LM63