kernel: add kmod-hwmon-max6697 support

Add package for Maxim MAX6697 I2C based temperature sensor.

Signed-off-by: Christian Svensson <blue@cmd.nu>
This commit is contained in:
Christian Svensson 2023-07-03 00:00:07 +02:00 committed by Hauke Mehrtens
parent 75505c5ec7
commit 0ea8264189

View File

@ -369,6 +369,21 @@ endef
$(eval $(call KernelPackage,hwmon-max6642)) $(eval $(call KernelPackage,hwmon-max6642))
define KernelPackage/hwmon-max6697
TITLE:=MAX6697 monitoring support
KCONFIG:=CONFIG_SENSORS_MAX6697
FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
AUTOLOAD:=$(call AutoProbe,max6697)
$(call AddDepends/hwmon,+kmod-i2c-core)
endef
define KernelPackage/hwmon-max6697/description
Kernel module for Maxim MAX6697 temperature monitor
endef
$(eval $(call KernelPackage,hwmon-max6697))
define KernelPackage/hwmon-mcp3021 define KernelPackage/hwmon-mcp3021
TITLE:=MCP3021/3221 monitoring support TITLE:=MCP3021/3221 monitoring support
KCONFIG:=CONFIG_SENSORS_MCP3021 KCONFIG:=CONFIG_SENSORS_MCP3021