diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-02-02 17:47:38 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-02-02 17:49:20 +0200 |
commit | 2699ccd08490e441bdf3f6036c4f20419631e9cb (patch) | |
tree | f96d161b267103f0d9880738dabda896434831d9 /package/kernel | |
parent | 4897bf0ca5986663bae1086f12f7d76b860a7df3 (diff) | |
download | upstream-2699ccd08490e441bdf3f6036c4f20419631e9cb.tar.gz upstream-2699ccd08490e441bdf3f6036c4f20419631e9cb.tar.bz2 upstream-2699ccd08490e441bdf3f6036c4f20419631e9cb.zip |
kernel: hwmon: package mcp3021 module
Package kernel module for Linear Technology MCP3021/3221 I2C connected
current and voltage monitor chips.
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 e79304b4fe..31836fbceb 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -257,6 +257,21 @@ endef $(eval $(call KernelPackage,hwmon-ltc4151)) +define KernelPackage/hwmon-mcp3021 + TITLE:=MCP3021/3221 monitoring support + KCONFIG:=CONFIG_SENSORS_MCP3021 + FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko + AUTOLOAD:=$(call AutoProbe,mcp3021) + $(call AddDepends/hwmon,+kmod-i2c-core) +endef + +define KernelPackage/hwmon-mcp3021/description + Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip +endef + +$(eval $(call KernelPackage,hwmon-mcp3021)) + + define KernelPackage/hwmon-nct6775 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support KCONFIG:=CONFIG_SENSORS_NCT6775 |