Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # ACPI INT340x thermal drivers configuration
  4. #
  5. config INT340X_THERMAL
  6. tristate "ACPI INT340X thermal drivers"
  7. depends on X86_64 && ACPI && PCI
  8. select THERMAL_GOV_USER_SPACE
  9. select ACPI_THERMAL_REL
  10. select ACPI_FAN
  11. select INTEL_SOC_DTS_IOSF_CORE
  12. select PROC_THERMAL_MMIO_RAPL if POWERCAP
  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. config ACPI_THERMAL_REL
  27. tristate
  28. depends on ACPI
  29. if INT340X_THERMAL
  30. config INT3406_THERMAL
  31. tristate "ACPI INT3406 display thermal driver"
  32. depends on ACPI_VIDEO
  33. help
  34. The display thermal device represents the LED/LCD display panel
  35. that may or may not include touch support. The main function of
  36. the display thermal device is to allow control of the display
  37. brightness in order to address a thermal condition or to reduce
  38. power consumed by display device.
  39. config PROC_THERMAL_MMIO_RAPL
  40. tristate
  41. select INTEL_RAPL_CORE
  42. endif