xref: /openbmc/linux/drivers/thermal/intel/Kconfig (revision 56b77ba1)
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
77	select REGMAP
78	help
79	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
80	  system temperature measurements and alerts.
81	  This driver is used for monitoring the ADC channels of PMIC and handles
82	  the alert trip point interrupts and notifies the thermal framework with
83	  the trip point and temperature details of the zone.
84
85config INTEL_PCH_THERMAL
86	tristate "Intel PCH Thermal Reporting Driver"
87	depends on X86 && PCI
88	select THERMAL_ACPI if ACPI
89	help
90	  Enable this to support thermal reporting on certain intel PCHs.
91	  Thermal reporting device will provide temperature reading,
92	  programmable trip points and other information.
93
94config INTEL_TCC_COOLING
95	tristate "Intel TCC offset cooling Driver"
96	depends on X86
97	select INTEL_TCC
98	help
99	  Enable this to support system cooling by adjusting the effective TCC
100	  activation temperature via the TCC Offset register, which is widely
101	  supported on modern Intel platforms.
102	  Note that, on different platforms, the behavior might be different
103	  on how fast the setting takes effect, and how much the CPU frequency
104	  is reduced.
105
106config INTEL_HFI_THERMAL
107	bool "Intel Hardware Feedback Interface"
108	depends on NET
109	depends on CPU_SUP_INTEL
110	depends on X86_THERMAL_VECTOR
111	select THERMAL_NETLINK
112	help
113	  Select this option to enable the Hardware Feedback Interface. If
114	  selected, hardware provides guidance to the operating system on
115	  the performance and energy efficiency capabilities of each CPU.
116	  These capabilities may change as a result of changes in the operating
117	  conditions of the system such power and thermal limits. If selected,
118	  the kernel relays updates in CPUs' capabilities to userspace.
119