diff options
author | Tim Harvey <tharvey@gateworks.com> | 2023-02-27 16:13:07 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-03-05 16:45:25 +0100 |
commit | 8298270b6003ba852d15dc35e3abe9ed46d6879f (patch) | |
tree | 22f9fed1316c0b79f3360348fb5a156db5723dd2 | |
parent | 11822d8be2dffb249b4d09a641ffcf0b884203a7 (diff) | |
download | upstream-8298270b6003ba852d15dc35e3abe9ed46d6879f.tar.gz upstream-8298270b6003ba852d15dc35e3abe9ed46d6879f.tar.bz2 upstream-8298270b6003ba852d15dc35e3abe9ed46d6879f.zip |
kernel: add kmod-hwmon-max6642 support
Add package for Maxim MAX6642 i2c based temperature sensor.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-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 79df0471ed..29392548d4 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -354,6 +354,21 @@ endef $(eval $(call KernelPackage,hwmon-ltc4151)) +define KernelPackage/hwmon-max6642 + TITLE:=MAX6642 monitoring support + KCONFIG:=CONFIG_SENSORS_MAX6642 + FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko + AUTOLOAD:=$(call AutoLoad,60,max6642 max6642) + $(call AddDepends/hwmon,+kmod-i2c-core) +endef + +define KernelPackage/hwmon-max6642/description + Kernel module for Maxim MAX6642 temperature monitor +endef + +$(eval $(call KernelPackage,hwmon-max6642)) + + define KernelPackage/hwmon-mcp3021 TITLE:=MCP3021/3221 monitoring support KCONFIG:=CONFIG_SENSORS_MCP3021 |