aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/Kconfig
diff options
context:
space:
mode:
authorWu Hao <hao.wu@intel.com>2019-10-14 13:42:02 +0800
committerMoritz Fischer <mdf@kernel.org>2019-10-16 19:18:27 -0700
commit4284c65a9fda9d31f45209062f1b7f9bb438fc04 (patch)
tree843062eb4dff213196f3e45fa8e4b39eb348918c /drivers/fpga/Kconfig
parentDocumentation: fpga: dfl: add descriptions for thermal/power management interfaces (diff)
downloadlinux-dev-4284c65a9fda9d31f45209062f1b7f9bb438fc04.tar.xz
linux-dev-4284c65a9fda9d31f45209062f1b7f9bb438fc04.zip
fpga: dfl: fme: add thermal management support
This patch adds support to thermal management private feature for DFL FPGA Management Engine (FME). This private feature driver registers a hwmon for thermal/temperature monitoring (hwmon temp1_input). If hardware automatic throttling is supported by this hardware, then driver also exposes sysfs interfaces under hwmon for thresholds (temp1_max/ crit/ emergency), threshold alarms (temp1_max_alarm/ temp1_crit_alarm) and throttling policy (temp1_max_policy). Signed-off-by: Luwei Kang <luwei.kang@intel.com> Signed-off-by: Russ Weight <russell.h.weight@intel.com> Signed-off-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Wu Hao <hao.wu@intel.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/fpga/Kconfig')
-rw-r--r--drivers/fpga/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index 73c779e920ed..72380e1d31c7 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -156,7 +156,7 @@ config FPGA_DFL
config FPGA_DFL_FME
tristate "FPGA DFL FME Driver"
- depends on FPGA_DFL
+ depends on FPGA_DFL && HWMON
help
The FPGA Management Engine (FME) is a feature device implemented
under Device Feature List (DFL) framework. Select this option to