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"
8*994a04a2SArnd 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*994a04a2SArnd Bergmann	select PROC_THERMAL_MMIO_RAPL if POWERCAP
143e8c4d31SAmit Kucheria	help
153e8c4d31SAmit Kucheria	  Newer laptops and tablets that use ACPI may have thermal sensors and
163e8c4d31SAmit Kucheria	  other devices with thermal control capabilities outside the core
173e8c4d31SAmit Kucheria	  CPU/SOC, for thermal safety reasons.
183e8c4d31SAmit Kucheria	  They are exposed for the OS to use via the INT3400 ACPI device object
193e8c4d31SAmit Kucheria	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
203e8c4d31SAmit Kucheria	  Enable this to expose the temperature information and cooling ability
213e8c4d31SAmit Kucheria	  from these objects to userspace via the normal thermal framework.
223e8c4d31SAmit Kucheria	  This means that a wide range of applications and GUI widgets can show
233e8c4d31SAmit Kucheria	  the information to the user or use this information for making
243e8c4d31SAmit Kucheria	  decisions. For example, the Intel Thermal Daemon can use this
253e8c4d31SAmit Kucheria	  information to allow the user to select his laptop to run without
263e8c4d31SAmit Kucheria	  turning on the fans.
273e8c4d31SAmit Kucheria
283e8c4d31SAmit Kucheriaconfig ACPI_THERMAL_REL
293e8c4d31SAmit Kucheria	tristate
303e8c4d31SAmit Kucheria	depends on ACPI
313e8c4d31SAmit Kucheria
323e8c4d31SAmit Kucheriaif INT340X_THERMAL
333e8c4d31SAmit Kucheria
343e8c4d31SAmit Kucheriaconfig INT3406_THERMAL
353e8c4d31SAmit Kucheria	tristate "ACPI INT3406 display thermal driver"
363e8c4d31SAmit Kucheria	depends on ACPI_VIDEO
373e8c4d31SAmit Kucheria	help
383e8c4d31SAmit Kucheria	  The display thermal device represents the LED/LCD display panel
393e8c4d31SAmit Kucheria	  that may or may not include touch support. The main function of
403e8c4d31SAmit Kucheria	  the display thermal device is to allow control of the display
413e8c4d31SAmit Kucheria	  brightness in order to address a thermal condition or to reduce
423e8c4d31SAmit Kucheria	  power consumed by display device.
433e8c4d31SAmit Kucheria
44555c45feSZhang Ruiconfig PROC_THERMAL_MMIO_RAPL
45a5923b6cSSrinivas Pandruvada	tristate
46555c45feSZhang Rui	select INTEL_RAPL_CORE
473e8c4d31SAmit Kucheriaendif
48