From 8f342a39de09f53f8686bf87e40916e9b3270b88 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Thu, 2 Apr 2020 14:17:00 +0300 Subject: [PATCH] kernel: hwmon: add dme1737 driver SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support Signed-off-by: Lucian Cristian --- package/kernel/linux/modules/hwmon.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 2552a32a56..159c0eac9a 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -77,6 +77,22 @@ endef $(eval $(call KernelPackage,hwmon-adt7475)) +define KernelPackage/hwmon-dme1737 + TITLE:=SMSC DME1737 and compatible monitoring support + KCONFIG:=CONFIG_SENSORS_DME1737 + FILES:= \ + $(LINUX_DIR)/drivers/hwmon/dme1737.ko + AUTOLOAD:=$(call AutoProbe,dme1737) + $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) +endef + +define KernelPackage/hwmon-dme1737/description + SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support +endef + +$(eval $(call KernelPackage,hwmon-dme1737)) + + define KernelPackage/hwmon-drivetemp TITLE:=Hard disk drives with temperature sensor KCONFIG:=CONFIG_SENSORS_DRIVETEMP -- 2.30.2