2007-09-23 17:14:24 +00:00
|
|
|
#
|
2014-06-17 15:03:05 +00:00
|
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
2007-09-23 17:14:24 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
HWMON_MENU:=Hardware Monitoring Support
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-core
|
|
|
|
SUBMENU:=$(HWMON_MENU)
|
|
|
|
TITLE:=Hardware monitoring support
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_HWMON \
|
|
|
|
CONFIG_HWMON_DEBUG_CHIP=n
|
|
|
|
FILES:= \
|
2010-07-12 14:06:13 +00:00
|
|
|
$(LINUX_DIR)/drivers/hwmon/hwmon.ko
|
2007-09-23 17:14:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-core/description
|
|
|
|
Kernel modules for hardware monitoring
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-core))
|
|
|
|
|
|
|
|
|
2010-04-24 11:42:17 +00:00
|
|
|
define AddDepends/hwmon
|
2009-07-22 11:13:03 +00:00
|
|
|
SUBMENU:=$(HWMON_MENU)
|
2010-01-22 08:18:04 +00:00
|
|
|
DEPENDS:=kmod-hwmon-core $(1)
|
|
|
|
endef
|
|
|
|
|
2012-05-09 10:48:33 +00:00
|
|
|
define KernelPackage/hwmon-vid
|
|
|
|
TITLE:=VID/VRM/VRD voltage conversion module.
|
|
|
|
KCONFIG:=CONFIG_HWMON_VID
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
|
|
|
|
$(call AddDepends/hwmon,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-vid/description
|
2013-07-26 01:09:50 +00:00
|
|
|
VID/VRM/VRD voltage conversion module for hardware monitoring
|
2012-05-09 10:48:33 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-vid))
|
|
|
|
|
|
|
|
|
2013-09-25 18:00:34 +00:00
|
|
|
define KernelPackage/hwmon-adt7410
|
|
|
|
TITLE:=ADT7410 monitoring support
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_SENSORS_ADT7X10 \
|
|
|
|
CONFIG_SENSORS_ADT7410
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
|
|
|
|
$(LINUX_DIR)/drivers/hwmon/adt7410.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
|
2015-01-24 20:02:09 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
2013-09-25 18:00:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-adt7410/description
|
|
|
|
Kernel module for ADT7410/7420 I2C thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-adt7410))
|
|
|
|
|
|
|
|
|
2012-05-09 10:48:36 +00:00
|
|
|
define KernelPackage/hwmon-adt7475
|
|
|
|
TITLE:=ADT7473/7475/7476/7490 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_ADT7475
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,adt7475)
|
2012-05-09 10:48:36 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-adt7475/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
|
2012-05-09 10:48:36 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-adt7475))
|
|
|
|
|
|
|
|
|
2015-11-01 14:37:42 +00:00
|
|
|
define KernelPackage/hwmon-ina209
|
|
|
|
TITLE:=INA209 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_INA209
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,ina209)
|
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-ina209/description
|
|
|
|
Kernel module for ina209 dc power monitor chips
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-ina209))
|
|
|
|
|
|
|
|
|
2013-04-03 10:00:44 +00:00
|
|
|
define KernelPackage/hwmon-ina2xx
|
|
|
|
TITLE:=INA2XX monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_INA2XX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,ina2xx)
|
2015-12-02 22:19:31 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core +LINUX_4_4:kmod-regmap)
|
2013-04-03 10:00:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-ina2xx/description
|
|
|
|
Kernel module for ina2xx dc current monitor chips
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-ina2xx))
|
|
|
|
|
|
|
|
|
2010-10-04 09:17:42 +00:00
|
|
|
define KernelPackage/hwmon-lm63
|
|
|
|
TITLE:=LM63/64 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM63
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm63)
|
2010-10-04 09:17:42 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm63/description
|
|
|
|
Kernel module for lm63 and lm64 thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm63))
|
|
|
|
|
2010-01-22 08:18:04 +00:00
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm75
|
2009-07-22 11:13:03 +00:00
|
|
|
TITLE:=LM75 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM75
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm75)
|
2014-09-14 12:06:38 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
|
2009-07-22 11:13:03 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm75/description
|
|
|
|
Kernel module for lm75 thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm75))
|
|
|
|
|
|
|
|
|
2007-09-23 21:21:51 +00:00
|
|
|
define KernelPackage/hwmon-lm77
|
|
|
|
TITLE:=LM77 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM77
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm77)
|
2010-04-29 04:04:19 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
2007-09-23 21:21:51 +00:00
|
|
|
endef
|
2009-07-22 11:13:03 +00:00
|
|
|
|
2007-09-23 21:21:51 +00:00
|
|
|
define KernelPackage/hwmon-lm77/description
|
2009-07-22 11:13:03 +00:00
|
|
|
Kernel module for LM77 thermal monitor chip
|
2007-09-23 21:21:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm77))
|
|
|
|
|
2010-04-29 04:04:19 +00:00
|
|
|
|
2012-05-09 10:48:34 +00:00
|
|
|
define KernelPackage/hwmon-lm85
|
|
|
|
TITLE:=LM85 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM85
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm85)
|
2012-05-09 10:48:34 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm85/description
|
|
|
|
Kernel module for LM85 thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm85))
|
|
|
|
|
|
|
|
|
2008-07-29 23:49:16 +00:00
|
|
|
define KernelPackage/hwmon-lm90
|
|
|
|
TITLE:=LM90 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM90
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm90)
|
2010-04-29 04:04:19 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
2008-07-29 23:49:16 +00:00
|
|
|
endef
|
2009-07-22 11:13:03 +00:00
|
|
|
|
2008-07-29 23:49:16 +00:00
|
|
|
define KernelPackage/hwmon-lm90/description
|
2009-07-22 11:13:03 +00:00
|
|
|
Kernel module for LM90 thermal monitor chip
|
2008-07-29 23:49:16 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm90))
|
2007-09-23 21:21:51 +00:00
|
|
|
|
2013-04-03 10:00:40 +00:00
|
|
|
define KernelPackage/hwmon-lm92
|
|
|
|
TITLE:=LM92 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM92
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm92)
|
2013-04-03 10:00:40 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm92/description
|
|
|
|
Kernel module for LM92 thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm92))
|
|
|
|
|
2011-09-30 12:55:30 +00:00
|
|
|
define KernelPackage/hwmon-lm95241
|
|
|
|
TITLE:=LM95241 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LM95241
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lm95241)
|
2011-09-30 12:55:30 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-lm95241/description
|
|
|
|
Kernel module for LM95241 thermal monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-lm95241))
|
|
|
|
|
2014-09-26 19:52:49 +00:00
|
|
|
define KernelPackage/hwmon-ltc4151
|
|
|
|
TITLE:=LTC4151 monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_LTC4151
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,ltc4151)
|
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-ltc4151/description
|
|
|
|
Kernel module for Linear Technology LTC4151 current and voltage monitor chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-ltc4151))
|
|
|
|
|
2012-03-18 19:49:17 +00:00
|
|
|
define KernelPackage/hwmon-sht21
|
|
|
|
TITLE:=Sensiron SHT21 and compat. monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_SHT21
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,sht21)
|
2012-03-18 19:49:17 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-sht21/description
|
|
|
|
Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-sht21))
|
2010-04-29 04:04:19 +00:00
|
|
|
|
2007-09-23 17:14:24 +00:00
|
|
|
define KernelPackage/hwmon-pc87360
|
|
|
|
TITLE:=PC87360 monitoring support
|
2012-05-09 10:48:33 +00:00
|
|
|
KCONFIG:=CONFIG_SENSORS_PC87360
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
|
2013-09-17 21:45:17 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,pc87360)
|
2012-05-09 10:48:33 +00:00
|
|
|
$(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
|
2007-09-23 17:14:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-pc87360/description
|
|
|
|
Kernel modules for PC87360 chips
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-pc87360))
|
|
|
|
|
2010-04-29 04:04:19 +00:00
|
|
|
|
2009-05-06 23:50:11 +00:00
|
|
|
define KernelPackage/hwmon-w83627hf
|
|
|
|
TITLE:=Winbond W83627HF monitoring support
|
2012-05-09 10:48:33 +00:00
|
|
|
KCONFIG:=CONFIG_SENSORS_W83627HF
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,50,w83627hf)
|
2016-05-12 15:43:17 +00:00
|
|
|
$(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
|
2009-05-06 23:50:11 +00:00
|
|
|
endef
|
|
|
|
|
2014-09-21 16:42:30 +00:00
|
|
|
define KernelPackage/hwmon-w83627hf/description
|
2009-05-06 23:50:11 +00:00
|
|
|
Kernel module for the Winbond W83627HF chips.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-w83627hf))
|
2013-09-10 22:26:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-gsc
|
|
|
|
TITLE:=Gateworks GSC monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_GSC
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/gsc.ko
|
2013-09-12 23:38:54 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,gsc)
|
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
2013-09-10 22:26:30 +00:00
|
|
|
endef
|
|
|
|
|
2014-09-21 16:42:30 +00:00
|
|
|
define KernelPackage/hwmon-gsc/description
|
2013-09-10 22:26:30 +00:00
|
|
|
Kernel module for the Gateworks System Controller chips.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-gsc))
|
2014-06-17 15:03:05 +00:00
|
|
|
|
2014-06-20 20:42:47 +00:00
|
|
|
|
2014-06-17 15:03:05 +00:00
|
|
|
define KernelPackage/hwmon-tmp421
|
|
|
|
TITLE:=TI TMP421 and compatible monitoring support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_TMP421
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,tmp421)
|
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core)
|
|
|
|
endef
|
|
|
|
|
2014-09-21 16:42:30 +00:00
|
|
|
define KernelPackage/hwmon-tmp421/description
|
2014-06-17 15:03:05 +00:00
|
|
|
Kernel module for the Texas Instruments TMP421 and compatible chips.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-tmp421))
|
2014-06-20 20:42:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-gpiofan
|
|
|
|
TITLE:=Generic GPIO FAN support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_GPIO_FAN
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
|
2015-12-22 19:05:35 +00:00
|
|
|
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
|
2014-06-20 20:42:47 +00:00
|
|
|
endef
|
|
|
|
|
2014-09-21 16:42:30 +00:00
|
|
|
define KernelPackage/hwmon-gpiofan/description
|
2014-06-20 20:42:47 +00:00
|
|
|
Kernel module for GPIO controlled FANs
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-gpiofan))
|
2014-10-22 11:30:07 +00:00
|
|
|
|
|
|
|
|
2015-01-05 13:02:49 +00:00
|
|
|
define KernelPackage/hwmon-pwmfan
|
|
|
|
TITLE:=Generic PWM FAN support
|
|
|
|
KCONFIG:=CONFIG_SENSORS_PWM_FAN
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
|
2015-12-23 11:43:18 +00:00
|
|
|
$(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
|
2015-01-05 13:02:49 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-pwmfan/description
|
|
|
|
Kernel module for PWM controlled FANs
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-pwmfan))
|
|
|
|
|
|
|
|
|
2014-10-22 11:30:07 +00:00
|
|
|
define KernelPackage/hwmon-k10temp
|
|
|
|
TITLE:=AMD Family 10h+ temperature sensor
|
|
|
|
KCONFIG:=CONFIG_SENSORS_K10TEMP
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/k10temp.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,k10temp)
|
2015-05-29 12:03:00 +00:00
|
|
|
$(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86)
|
2014-10-22 11:30:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hwmon-k10temp/description
|
|
|
|
Thermal sensor support for AMD 10h, 11h, 12h (Llano), 14h (Brazos),
|
|
|
|
15h (Bulldozer/Trinity/Kaveri) and 16h (Kabini/Mullins) CPUs
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,hwmon-k10temp))
|