diff options
author | Daniel Golle <daniel@makrotopia.org> | 2015-11-01 15:37:42 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-05-16 18:00:34 +0200 |
commit | 449aba4fe849ce51c54c32689546e8d99da7f756 (patch) | |
tree | 772d38adf8ccd141698d001dc30c8469ceec4e17 /package/kernel | |
parent | 910d9ba454c40b6d7c229a0bd48462f1c86c5419 (diff) | |
download | mtk-20170518-449aba4fe849ce51c54c32689546e8d99da7f756.zip mtk-20170518-449aba4fe849ce51c54c32689546e8d99da7f756.tar.gz mtk-20170518-449aba4fe849ce51c54c32689546e8d99da7f756.tar.bz2 |
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.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index d918687..69aaacd 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 |