xref: /linux/drivers/thermal/intel/int340x_thermal/Kconfig (revision ec2e0fb07d789976c601bec19ecced7a501c3705)
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 && NET
9	select THERMAL_NETLINK
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 ACPI_PLATFORM_PROFILE
16	select PROC_THERMAL_MMIO_RAPL if POWERCAP
17	help
18	  Newer laptops and tablets that use ACPI may have thermal sensors and
19	  other devices with thermal control capabilities outside the core
20	  CPU/SOC, for thermal safety reasons.
21	  They are exposed for the OS to use via the INT3400 ACPI device object
22	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
23	  Enable this to expose the temperature information and cooling ability
24	  from these objects to userspace via the normal thermal framework.
25	  This means that a wide range of applications and GUI widgets can show
26	  the information to the user or use this information for making
27	  decisions. For example, the Intel Thermal Daemon can use this
28	  information to allow the user to select his laptop to run without
29	  turning on the fans.
30
31config ACPI_THERMAL_REL
32	tristate
33	depends on ACPI
34
35if INT340X_THERMAL
36
37config INT3406_THERMAL
38	tristate "ACPI INT3406 display thermal driver"
39	depends on ACPI_VIDEO
40	help
41	  The display thermal device represents the LED/LCD display panel
42	  that may or may not include touch support. The main function of
43	  the display thermal device is to allow control of the display
44	  brightness in order to address a thermal condition or to reduce
45	  power consumed by display device.
46
47config PROC_THERMAL_MMIO_RAPL
48	tristate
49	select INTEL_RAPL_CORE
50endif
51