Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # ACPI INT340x thermal drivers configuration
0004 #
0005 
0006 config INT340X_THERMAL
0007         tristate "ACPI INT340X thermal drivers"
0008         depends on X86_64 && ACPI && PCI
0009         select THERMAL_GOV_USER_SPACE
0010         select ACPI_THERMAL_REL
0011         select ACPI_FAN
0012         select INTEL_SOC_DTS_IOSF_CORE
0013         select PROC_THERMAL_MMIO_RAPL if POWERCAP
0014         help
0015           Newer laptops and tablets that use ACPI may have thermal sensors and
0016           other devices with thermal control capabilities outside the core
0017           CPU/SOC, for thermal safety reasons.
0018           They are exposed for the OS to use via the INT3400 ACPI device object
0019           as the master, and INT3401~INT340B ACPI device objects as the slaves.
0020           Enable this to expose the temperature information and cooling ability
0021           from these objects to userspace via the normal thermal framework.
0022           This means that a wide range of applications and GUI widgets can show
0023           the information to the user or use this information for making
0024           decisions. For example, the Intel Thermal Daemon can use this
0025           information to allow the user to select his laptop to run without
0026           turning on the fans.
0027 
0028 config ACPI_THERMAL_REL
0029         tristate
0030         depends on ACPI
0031 
0032 if INT340X_THERMAL
0033 
0034 config INT3406_THERMAL
0035         tristate "ACPI INT3406 display thermal driver"
0036         depends on ACPI_VIDEO
0037         help
0038           The display thermal device represents the LED/LCD display panel
0039           that may or may not include touch support. The main function of
0040           the display thermal device is to allow control of the display
0041           brightness in order to address a thermal condition or to reduce
0042           power consumed by display device.
0043 
0044 config PROC_THERMAL_MMIO_RAPL
0045         tristate
0046         select INTEL_RAPL_CORE
0047 endif