Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #
  2. # Generic thermal sysfs drivers configuration
  3. #
  4. menuconfig THERMAL
  5. tristate "Generic Thermal sysfs driver"
  6. help
  7. Generic Thermal Sysfs driver offers a generic mechanism for
  8. thermal management. Usually it's made up of one or more thermal
  9. zone and cooling device.
  10. Each thermal zone contains its own temperature, trip points,
  11. cooling devices.
  12. All platforms with ACPI thermal support can use this driver.
  13. If you want this support, you should say Y or M here.
  14. config THERMAL_HWMON
  15. bool
  16. depends on THERMAL
  17. depends on HWMON=y || HWMON=THERMAL
  18. default y
  19. config CPU_THERMAL
  20. bool "generic cpu cooling support"
  21. depends on THERMAL && CPU_FREQ
  22. select CPU_FREQ_TABLE
  23. help
  24. This implements the generic cpu cooling mechanism through frequency
  25. reduction, cpu hotplug and any other ways of reducing temperature. An
  26. ACPI version of this already exists(drivers/acpi/processor_thermal.c).
  27. This will be useful for platforms using the generic thermal interface
  28. and not the ACPI interface.
  29. If you want this support, you should say Y here.
  30. config SPEAR_THERMAL
  31. bool "SPEAr thermal sensor driver"
  32. depends on THERMAL
  33. depends on PLAT_SPEAR
  34. depends on OF
  35. help
  36. Enable this to plug the SPEAr thermal sensor driver into the Linux
  37. thermal framework
  38. config RCAR_THERMAL
  39. tristate "Renesas R-Car thermal driver"
  40. depends on THERMAL
  41. depends on ARCH_SHMOBILE
  42. help
  43. Enable this to plug the R-Car thermal sensor driver into the Linux
  44. thermal framework
  45. config EXYNOS_THERMAL
  46. tristate "Temperature sensor on Samsung EXYNOS"
  47. depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && THERMAL
  48. select CPU_FREQ_TABLE
  49. help
  50. If you say yes here you get support for TMU (Thermal Managment
  51. Unit) on SAMSUNG EXYNOS series of SoC.
  52. config FAIR_SHARE
  53. bool "Fair-share thermal governor"
  54. depends on THERMAL
  55. help
  56. Enable this to manage platform thermals using fair-share governor.
  57. config STEP_WISE
  58. bool "Step_wise thermal governor"
  59. depends on THERMAL
  60. help
  61. Enable this to manage platform thermals using a simple linear
  62. config USER_SPACE
  63. bool "User_space thermal governor"
  64. depends on THERMAL
  65. help
  66. Enable this to let the user space manage the platform thermals.
  67. choice
  68. prompt "Default Thermal governor"
  69. depends on THERMAL
  70. default THERMAL_DEFAULT_GOV_STEP_WISE
  71. help
  72. This option sets which thermal governor shall be loaded at
  73. startup. If in doubt, select 'step_wise'.
  74. config THERMAL_DEFAULT_GOV_STEP_WISE
  75. bool "step_wise"
  76. select STEP_WISE
  77. help
  78. Use the step_wise governor as default. This throttles the
  79. devices one step at a time.
  80. config THERMAL_DEFAULT_GOV_FAIR_SHARE
  81. bool "fair_share"
  82. select FAIR_SHARE
  83. help
  84. Use the fair_share governor as default. This throttles the
  85. devices based on their 'contribution' to a zone. The
  86. contribution should be provided through platform data.
  87. config THERMAL_DEFAULT_GOV_USER_SPACE
  88. bool "user_space"
  89. select USER_SPACE
  90. help
  91. Select this if you want to let the user space manage the
  92. platform thermals.
  93. endchoice