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