1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
23e8c4d31SAmit Kucheria#
33e8c4d31SAmit Kucheria# ACPI INT340x thermal drivers configuration
43e8c4d31SAmit Kucheria#
53e8c4d31SAmit Kucheria
63e8c4d31SAmit Kucheriaconfig INT340X_THERMAL
73e8c4d31SAmit Kucheria	tristate "ACPI INT340X thermal drivers"
8994a04a2SArnd Bergmann	depends on X86_64 && ACPI && PCI
93e8c4d31SAmit Kucheria	select THERMAL_GOV_USER_SPACE
103e8c4d31SAmit Kucheria	select ACPI_THERMAL_REL
113e8c4d31SAmit Kucheria	select ACPI_FAN
123e8c4d31SAmit Kucheria	select INTEL_SOC_DTS_IOSF_CORE
13*d91a4714SZhang Rui	select INTEL_TCC
14994a04a2SArnd Bergmann	select PROC_THERMAL_MMIO_RAPL if POWERCAP
153e8c4d31SAmit Kucheria	help
163e8c4d31SAmit Kucheria	  Newer laptops and tablets that use ACPI may have thermal sensors and
173e8c4d31SAmit Kucheria	  other devices with thermal control capabilities outside the core
183e8c4d31SAmit Kucheria	  CPU/SOC, for thermal safety reasons.
193e8c4d31SAmit Kucheria	  They are exposed for the OS to use via the INT3400 ACPI device object
203e8c4d31SAmit Kucheria	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
213e8c4d31SAmit Kucheria	  Enable this to expose the temperature information and cooling ability
223e8c4d31SAmit Kucheria	  from these objects to userspace via the normal thermal framework.
233e8c4d31SAmit Kucheria	  This means that a wide range of applications and GUI widgets can show
243e8c4d31SAmit Kucheria	  the information to the user or use this information for making
253e8c4d31SAmit Kucheria	  decisions. For example, the Intel Thermal Daemon can use this
263e8c4d31SAmit Kucheria	  information to allow the user to select his laptop to run without
273e8c4d31SAmit Kucheria	  turning on the fans.
283e8c4d31SAmit Kucheria
293e8c4d31SAmit Kucheriaconfig ACPI_THERMAL_REL
303e8c4d31SAmit Kucheria	tristate
313e8c4d31SAmit Kucheria	depends on ACPI
323e8c4d31SAmit Kucheria
333e8c4d31SAmit Kucheriaif INT340X_THERMAL
343e8c4d31SAmit Kucheria
353e8c4d31SAmit Kucheriaconfig INT3406_THERMAL
363e8c4d31SAmit Kucheria	tristate "ACPI INT3406 display thermal driver"
373e8c4d31SAmit Kucheria	depends on ACPI_VIDEO
383e8c4d31SAmit Kucheria	help
393e8c4d31SAmit Kucheria	  The display thermal device represents the LED/LCD display panel
403e8c4d31SAmit Kucheria	  that may or may not include touch support. The main function of
413e8c4d31SAmit Kucheria	  the display thermal device is to allow control of the display
423e8c4d31SAmit Kucheria	  brightness in order to address a thermal condition or to reduce
433e8c4d31SAmit Kucheria	  power consumed by display device.
443e8c4d31SAmit Kucheria
45555c45feSZhang Ruiconfig PROC_THERMAL_MMIO_RAPL
46a5923b6cSSrinivas Pandruvada	tristate
47555c45feSZhang Rui	select INTEL_RAPL_CORE
483e8c4d31SAmit Kucheriaendif
49