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