18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# ACPI INT340x thermal drivers configuration 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig INT340X_THERMAL 78c2ecf20Sopenharmony_ci tristate "ACPI INT340X thermal drivers" 88c2ecf20Sopenharmony_ci depends on X86 && ACPI && PCI 98c2ecf20Sopenharmony_ci select THERMAL_GOV_USER_SPACE 108c2ecf20Sopenharmony_ci select ACPI_THERMAL_REL 118c2ecf20Sopenharmony_ci select ACPI_FAN 128c2ecf20Sopenharmony_ci select INTEL_SOC_DTS_IOSF_CORE 138c2ecf20Sopenharmony_ci help 148c2ecf20Sopenharmony_ci Newer laptops and tablets that use ACPI may have thermal sensors and 158c2ecf20Sopenharmony_ci other devices with thermal control capabilities outside the core 168c2ecf20Sopenharmony_ci CPU/SOC, for thermal safety reasons. 178c2ecf20Sopenharmony_ci They are exposed for the OS to use via the INT3400 ACPI device object 188c2ecf20Sopenharmony_ci as the master, and INT3401~INT340B ACPI device objects as the slaves. 198c2ecf20Sopenharmony_ci Enable this to expose the temperature information and cooling ability 208c2ecf20Sopenharmony_ci from these objects to userspace via the normal thermal framework. 218c2ecf20Sopenharmony_ci This means that a wide range of applications and GUI widgets can show 228c2ecf20Sopenharmony_ci the information to the user or use this information for making 238c2ecf20Sopenharmony_ci decisions. For example, the Intel Thermal Daemon can use this 248c2ecf20Sopenharmony_ci information to allow the user to select his laptop to run without 258c2ecf20Sopenharmony_ci turning on the fans. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciconfig ACPI_THERMAL_REL 288c2ecf20Sopenharmony_ci tristate 298c2ecf20Sopenharmony_ci depends on ACPI 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciif INT340X_THERMAL 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciconfig INT3406_THERMAL 348c2ecf20Sopenharmony_ci tristate "ACPI INT3406 display thermal driver" 358c2ecf20Sopenharmony_ci depends on ACPI_VIDEO 368c2ecf20Sopenharmony_ci help 378c2ecf20Sopenharmony_ci The display thermal device represents the LED/LCD display panel 388c2ecf20Sopenharmony_ci that may or may not include touch support. The main function of 398c2ecf20Sopenharmony_ci the display thermal device is to allow control of the display 408c2ecf20Sopenharmony_ci brightness in order to address a thermal condition or to reduce 418c2ecf20Sopenharmony_ci power consumed by display device. 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciconfig PROC_THERMAL_MMIO_RAPL 448c2ecf20Sopenharmony_ci bool 458c2ecf20Sopenharmony_ci depends on 64BIT 468c2ecf20Sopenharmony_ci depends on POWERCAP 478c2ecf20Sopenharmony_ci select INTEL_RAPL_CORE 488c2ecf20Sopenharmony_ci default y 498c2ecf20Sopenharmony_ciendif 50