xref: /OK3568_Linux_fs/kernel/drivers/thermal/intel/int340x_thermal/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# ACPI INT340x thermal drivers configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig INT340X_THERMAL
7*4882a593Smuzhiyun	tristate "ACPI INT340X thermal drivers"
8*4882a593Smuzhiyun	depends on X86 && ACPI && PCI
9*4882a593Smuzhiyun	select THERMAL_GOV_USER_SPACE
10*4882a593Smuzhiyun	select ACPI_THERMAL_REL
11*4882a593Smuzhiyun	select ACPI_FAN
12*4882a593Smuzhiyun	select INTEL_SOC_DTS_IOSF_CORE
13*4882a593Smuzhiyun	help
14*4882a593Smuzhiyun	  Newer laptops and tablets that use ACPI may have thermal sensors and
15*4882a593Smuzhiyun	  other devices with thermal control capabilities outside the core
16*4882a593Smuzhiyun	  CPU/SOC, for thermal safety reasons.
17*4882a593Smuzhiyun	  They are exposed for the OS to use via the INT3400 ACPI device object
18*4882a593Smuzhiyun	  as the master, and INT3401~INT340B ACPI device objects as the slaves.
19*4882a593Smuzhiyun	  Enable this to expose the temperature information and cooling ability
20*4882a593Smuzhiyun	  from these objects to userspace via the normal thermal framework.
21*4882a593Smuzhiyun	  This means that a wide range of applications and GUI widgets can show
22*4882a593Smuzhiyun	  the information to the user or use this information for making
23*4882a593Smuzhiyun	  decisions. For example, the Intel Thermal Daemon can use this
24*4882a593Smuzhiyun	  information to allow the user to select his laptop to run without
25*4882a593Smuzhiyun	  turning on the fans.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig ACPI_THERMAL_REL
28*4882a593Smuzhiyun	tristate
29*4882a593Smuzhiyun	depends on ACPI
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunif INT340X_THERMAL
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig INT3406_THERMAL
34*4882a593Smuzhiyun	tristate "ACPI INT3406 display thermal driver"
35*4882a593Smuzhiyun	depends on ACPI_VIDEO
36*4882a593Smuzhiyun	help
37*4882a593Smuzhiyun	  The display thermal device represents the LED/LCD display panel
38*4882a593Smuzhiyun	  that may or may not include touch support. The main function of
39*4882a593Smuzhiyun	  the display thermal device is to allow control of the display
40*4882a593Smuzhiyun	  brightness in order to address a thermal condition or to reduce
41*4882a593Smuzhiyun	  power consumed by display device.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig PROC_THERMAL_MMIO_RAPL
44*4882a593Smuzhiyun	bool
45*4882a593Smuzhiyun	depends on 64BIT
46*4882a593Smuzhiyun	depends on POWERCAP
47*4882a593Smuzhiyun	select INTEL_RAPL_CORE
48*4882a593Smuzhiyun	default y
49*4882a593Smuzhiyunendif
50