xref: /linux/drivers/thermal/intel/int340x_thermal/Kconfig (revision 06d07429858317ded2db7986113a9e0129cd599b)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# ACPI INT340x thermal drivers configuration
4#
5
6config INT340X_THERMAL
7	tristate "ACPI INT340X thermal drivers"
8	depends on X86_64 && ACPI && PCI
9	select THERMAL_GOV_USER_SPACE
10	select ACPI_THERMAL_REL
11	select ACPI_FAN
12	select ACPI_THERMAL_LIB
13	select INTEL_SOC_DTS_IOSF_CORE
14	select INTEL_TCC
15	select PROC_THERMAL_MMIO_RAPL if POWERCAP
16	help
17	  Newer laptops and tablets that use ACPI may have thermal sensors and
18	  other devices with thermal control capabilities outside the core
19	  CPU/SOC, for thermal safety reasons.
20	  They are exposed for the OS to use via the INT3400 ACPI device object
21	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
22	  Enable this to expose the temperature information and cooling ability
23	  from these objects to userspace via the normal thermal framework.
24	  This means that a wide range of applications and GUI widgets can show
25	  the information to the user or use this information for making
26	  decisions. For example, the Intel Thermal Daemon can use this
27	  information to allow the user to select his laptop to run without
28	  turning on the fans.
29
30config ACPI_THERMAL_REL
31	tristate
32	depends on ACPI
33
34if INT340X_THERMAL
35
36config INT3406_THERMAL
37	tristate "ACPI INT3406 display thermal driver"
38	depends on ACPI_VIDEO
39	help
40	  The display thermal device represents the LED/LCD display panel
41	  that may or may not include touch support. The main function of
42	  the display thermal device is to allow control of the display
43	  brightness in order to address a thermal condition or to reduce
44	  power consumed by display device.
45
46config PROC_THERMAL_MMIO_RAPL
47	tristate
48	select INTEL_RAPL_CORE
49endif
50