Skip to content

Commit

Permalink
kernel: add kmod-hwmon-max6697 support
Browse files Browse the repository at this point in the history
Add package for Maxim MAX6697 I2C based temperature sensor.

Signed-off-by: Christian Svensson <blue@cmd.nu>
  • Loading branch information
bluecmd authored and pull[bot] committed Aug 25, 2023
1 parent bee2cd3 commit 4f8722f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package/kernel/linux/modules/hwmon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,21 @@ endef
$(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
TITLE:=MCP3021/3221 monitoring support
KCONFIG:=CONFIG_SENSORS_MCP3021
Expand Down

0 comments on commit 4f8722f

Please sign in to comment.