xref: /openbmc/linux/drivers/thermal/intel/Kconfig (revision 84cc6674)
1# SPDX-License-Identifier: GPL-2.0-only
2config INTEL_POWERCLAMP
3	tristate "Intel PowerClamp idle injection driver"
4	depends on X86
5	depends on CPU_SUP_INTEL
6	depends on CPU_IDLE
7	select POWERCAP
8	select IDLE_INJECT
9	help
10	  Enable this to enable Intel PowerClamp idle injection driver. This
11	  enforce idle time which results in more package C-state residency. The
12	  user interface is exposed via generic thermal framework.
13
14config X86_THERMAL_VECTOR
15	def_bool y
16	depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC
17
18config INTEL_TCC
19	bool
20	depends on X86
21
22config X86_PKG_TEMP_THERMAL
23	tristate "X86 package temperature thermal driver"
24	depends on X86_THERMAL_VECTOR
25	select THERMAL_GOV_USER_SPACE
26	select THERMAL_WRITABLE_TRIPS
27	select INTEL_TCC
28	default m
29	help
30	  Enable this to register CPU digital sensor for package temperature as
31	  thermal zone. Each package will have its own thermal zone. There are
32	  two trip points which can be set by user to get notifications via thermal
33	  notification methods.
34
35config INTEL_SOC_DTS_IOSF_CORE
36	tristate
37	depends on X86 && PCI
38	select IOSF_MBI
39	select INTEL_TCC
40	help
41	  This is becoming a common feature for Intel SoCs to expose the additional
42	  digital temperature sensors (DTSs) using side band interface (IOSF). This
43	  implements the common set of helper functions to register, get temperature
44	  and get/set thresholds on DTSs.
45
46config INTEL_SOC_DTS_THERMAL
47	tristate "Intel SoCs DTS thermal driver"
48	depends on X86 && PCI && ACPI
49	select INTEL_SOC_DTS_IOSF_CORE
50	select THERMAL_WRITABLE_TRIPS
51	help
52	  Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
53	  temperature sensor (DTS). These SoCs have two additional DTSs in
54	  addition to DTSs on CPU cores. Each DTS will be registered as a
55	  thermal zone. There are two trip points. One of the trip point can
56	  be set by user mode programs to get notifications via Linux thermal
57	  notification methods.The other trip is a critical trip point, which
58	  was set by the driver based on the TJ MAX temperature.
59
60config INTEL_QUARK_DTS_THERMAL
61	tristate "Intel Quark DTS thermal driver"
62	depends on X86_INTEL_QUARK
63	help
64	  Enable this to register Intel Quark SoC (e.g. X1000) platform digital
65	  temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
66	  The DTS will be registered as a thermal zone. There are two trip points:
67	  hot & critical. The critical trip point default value is set by
68	  underlying BIOS/Firmware.
69
70menu "ACPI INT340X thermal drivers"
71source "drivers/thermal/intel/int340x_thermal/Kconfig"
72endmenu
73
74config INTEL_BXT_PMIC_THERMAL
75	tristate "Intel Broxton PMIC thermal driver"
76	depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP
77	help
78	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
79	  system temperature measurements and alerts.
80	  This driver is used for monitoring the ADC channels of PMIC and handles
81	  the alert trip point interrupts and notifies the thermal framework with
82	  the trip point and temperature details of the zone.
83
84config INTEL_PCH_THERMAL
85	tristate "Intel PCH Thermal Reporting Driver"
86	depends on X86 && PCI
87	select THERMAL_ACPI if ACPI
88	help
89	  Enable this to support thermal reporting on certain intel PCHs.
90	  Thermal reporting device will provide temperature reading,
91	  programmable trip points and other information.
92
93config INTEL_TCC_COOLING
94	tristate "Intel TCC offset cooling Driver"
95	depends on X86
96	select INTEL_TCC
97	help
98	  Enable this to support system cooling by adjusting the effective TCC
99	  activation temperature via the TCC Offset register, which is widely
100	  supported on modern Intel platforms.
101	  Note that, on different platforms, the behavior might be different
102	  on how fast the setting takes effect, and how much the CPU frequency
103	  is reduced.
104
105config INTEL_MENLOW
106	tristate "Thermal Management driver for Intel menlow platform"
107	depends on ACPI_THERMAL
108	help
109	  ACPI thermal management enhancement driver on
110	  Intel Menlow platform.
111
112	  If unsure, say N.
113
114config INTEL_HFI_THERMAL
115	bool "Intel Hardware Feedback Interface"
116	depends on NET
117	depends on CPU_SUP_INTEL
118	depends on X86_THERMAL_VECTOR
119	select THERMAL_NETLINK
120	help
121	  Select this option to enable the Hardware Feedback Interface. If
122	  selected, hardware provides guidance to the operating system on
123	  the performance and energy efficiency capabilities of each CPU.
124	  These capabilities may change as a result of changes in the operating
125	  conditions of the system such power and thermal limits. If selected,
126	  the kernel relays updates in CPUs' capabilities to userspace.
127