162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# ACPI INT340x thermal drivers configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig INT340X_THERMAL
762306a36Sopenharmony_ci	tristate "ACPI INT340X thermal drivers"
862306a36Sopenharmony_ci	depends on X86_64 && ACPI && PCI
962306a36Sopenharmony_ci	select THERMAL_GOV_USER_SPACE
1062306a36Sopenharmony_ci	select ACPI_THERMAL_REL
1162306a36Sopenharmony_ci	select ACPI_FAN
1262306a36Sopenharmony_ci	select THERMAL_ACPI
1362306a36Sopenharmony_ci	select INTEL_SOC_DTS_IOSF_CORE
1462306a36Sopenharmony_ci	select INTEL_TCC
1562306a36Sopenharmony_ci	select PROC_THERMAL_MMIO_RAPL if POWERCAP
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Newer laptops and tablets that use ACPI may have thermal sensors and
1862306a36Sopenharmony_ci	  other devices with thermal control capabilities outside the core
1962306a36Sopenharmony_ci	  CPU/SOC, for thermal safety reasons.
2062306a36Sopenharmony_ci	  They are exposed for the OS to use via the INT3400 ACPI device object
2162306a36Sopenharmony_ci	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
2262306a36Sopenharmony_ci	  Enable this to expose the temperature information and cooling ability
2362306a36Sopenharmony_ci	  from these objects to userspace via the normal thermal framework.
2462306a36Sopenharmony_ci	  This means that a wide range of applications and GUI widgets can show
2562306a36Sopenharmony_ci	  the information to the user or use this information for making
2662306a36Sopenharmony_ci	  decisions. For example, the Intel Thermal Daemon can use this
2762306a36Sopenharmony_ci	  information to allow the user to select his laptop to run without
2862306a36Sopenharmony_ci	  turning on the fans.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig ACPI_THERMAL_REL
3162306a36Sopenharmony_ci	tristate
3262306a36Sopenharmony_ci	depends on ACPI
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciif INT340X_THERMAL
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig INT3406_THERMAL
3762306a36Sopenharmony_ci	tristate "ACPI INT3406 display thermal driver"
3862306a36Sopenharmony_ci	depends on ACPI_VIDEO
3962306a36Sopenharmony_ci	help
4062306a36Sopenharmony_ci	  The display thermal device represents the LED/LCD display panel
4162306a36Sopenharmony_ci	  that may or may not include touch support. The main function of
4262306a36Sopenharmony_ci	  the display thermal device is to allow control of the display
4362306a36Sopenharmony_ci	  brightness in order to address a thermal condition or to reduce
4462306a36Sopenharmony_ci	  power consumed by display device.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig PROC_THERMAL_MMIO_RAPL
4762306a36Sopenharmony_ci	tristate
4862306a36Sopenharmony_ci	select INTEL_RAPL_CORE
4962306a36Sopenharmony_ciendif
50