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