thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
[linux-block.git] / drivers / thermal / intel / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
14 config X86_THERMAL_VECTOR
15         def_bool y
16         depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC
17
18 config INTEL_TCC
19         bool
20         depends on X86
21
22 config 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
35 config 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
46 config 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
60 config 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
70 menu "ACPI INT340X thermal drivers"
71 source "drivers/thermal/intel/int340x_thermal/Kconfig"
72 endmenu
73
74 config 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
85 config 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
94 config 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
106 config INTEL_MENLOW
107         tristate "Thermal Management driver for Intel menlow platform"
108         depends on ACPI_THERMAL
109         help
110           ACPI thermal management enhancement driver on
111           Intel Menlow platform.
112
113           If unsure, say N.
114
115 config INTEL_HFI_THERMAL
116         bool "Intel Hardware Feedback Interface"
117         depends on NET
118         depends on CPU_SUP_INTEL
119         depends on X86_THERMAL_VECTOR
120         select THERMAL_NETLINK
121         help
122           Select this option to enable the Hardware Feedback Interface. If
123           selected, hardware provides guidance to the operating system on
124           the performance and energy efficiency capabilities of each CPU.
125           These capabilities may change as a result of changes in the operating
126           conditions of the system such power and thermal limits. If selected,
127           the kernel relays updates in CPUs' capabilities to userspace.