Kconfig 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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. if THERMAL
  15. config THERMAL_HWMON
  16. bool
  17. depends on HWMON=y || HWMON=THERMAL
  18. default y
  19. choice
  20. prompt "Default Thermal governor"
  21. default THERMAL_DEFAULT_GOV_STEP_WISE
  22. help
  23. This option sets which thermal governor shall be loaded at
  24. startup. If in doubt, select 'step_wise'.
  25. config THERMAL_DEFAULT_GOV_STEP_WISE
  26. bool "step_wise"
  27. select THERMAL_GOV_STEP_WISE
  28. help
  29. Use the step_wise governor as default. This throttles the
  30. devices one step at a time.
  31. config THERMAL_DEFAULT_GOV_FAIR_SHARE
  32. bool "fair_share"
  33. select THERMAL_GOV_FAIR_SHARE
  34. help
  35. Use the fair_share governor as default. This throttles the
  36. devices based on their 'contribution' to a zone. The
  37. contribution should be provided through platform data.
  38. config THERMAL_DEFAULT_GOV_USER_SPACE
  39. bool "user_space"
  40. select THERMAL_GOV_USER_SPACE
  41. help
  42. Select this if you want to let the user space manage the
  43. lpatform thermals.
  44. endchoice
  45. config THERMAL_GOV_FAIR_SHARE
  46. bool "Fair-share thermal governor"
  47. help
  48. Enable this to manage platform thermals using fair-share governor.
  49. config THERMAL_GOV_STEP_WISE
  50. bool "Step_wise thermal governor"
  51. help
  52. Enable this to manage platform thermals using a simple linear
  53. config THERMAL_GOV_USER_SPACE
  54. bool "User_space thermal governor"
  55. help
  56. Enable this to let the user space manage the platform thermals.
  57. config CPU_THERMAL
  58. bool "generic cpu cooling support"
  59. depends on CPU_FREQ
  60. select CPU_FREQ_TABLE
  61. help
  62. This implements the generic cpu cooling mechanism through frequency
  63. reduction. An ACPI version of this already exists
  64. (drivers/acpi/processor_thermal.c).
  65. This will be useful for platforms using the generic thermal interface
  66. and not the ACPI interface.
  67. If you want this support, you should say Y here.
  68. config THERMAL_EMULATION
  69. bool "Thermal emulation mode support"
  70. help
  71. Enable this option to make a emul_temp sysfs node in thermal zone
  72. directory to support temperature emulation. With emulation sysfs node,
  73. user can manually input temperature and test the different trip
  74. threshold behaviour for simulation purpose.
  75. WARNING: Be careful while enabling this option on production systems,
  76. because userland can easily disable the thermal policy by simply
  77. flooding this sysfs node with low temperature values.
  78. config SPEAR_THERMAL
  79. bool "SPEAr thermal sensor driver"
  80. depends on PLAT_SPEAR
  81. depends on OF
  82. help
  83. Enable this to plug the SPEAr thermal sensor driver into the Linux
  84. thermal framework
  85. config RCAR_THERMAL
  86. tristate "Renesas R-Car thermal driver"
  87. depends on ARCH_SHMOBILE
  88. help
  89. Enable this to plug the R-Car thermal sensor driver into the Linux
  90. thermal framework
  91. config KIRKWOOD_THERMAL
  92. tristate "Temperature sensor on Marvell Kirkwood SoCs"
  93. depends on ARCH_KIRKWOOD
  94. depends on OF
  95. help
  96. Support for the Kirkwood thermal sensor driver into the Linux thermal
  97. framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
  98. config DOVE_THERMAL
  99. tristate "Temperature sensor on Marvell Dove SoCs"
  100. depends on ARCH_DOVE
  101. depends on OF
  102. help
  103. Support for the Dove thermal sensor driver in the Linux thermal
  104. framework.
  105. config DB8500_THERMAL
  106. bool "DB8500 thermal management"
  107. depends on ARCH_U8500
  108. default y
  109. help
  110. Adds DB8500 thermal management implementation according to the thermal
  111. management framework. A thermal zone with several trip points will be
  112. created. Cooling devices can be bound to the trip points to cool this
  113. thermal zone if trip points reached.
  114. config ARMADA_THERMAL
  115. tristate "Armada 370/XP thermal management"
  116. depends on ARCH_MVEBU
  117. depends on OF
  118. help
  119. Enable this option if you want to have support for thermal management
  120. controller present in Armada 370 and Armada XP SoC.
  121. config DB8500_CPUFREQ_COOLING
  122. tristate "DB8500 cpufreq cooling"
  123. depends on ARCH_U8500
  124. depends on CPU_THERMAL
  125. default y
  126. help
  127. Adds DB8500 cpufreq cooling devices, and these cooling devices can be
  128. bound to thermal zone trip points. When a trip point reached, the
  129. bound cpufreq cooling device turns active to set CPU frequency low to
  130. cool down the CPU.
  131. config INTEL_POWERCLAMP
  132. tristate "Intel PowerClamp idle injection driver"
  133. depends on THERMAL
  134. depends on X86
  135. depends on CPU_SUP_INTEL
  136. help
  137. Enable this to enable Intel PowerClamp idle injection driver. This
  138. enforce idle time which results in more package C-state residency. The
  139. user interface is exposed via generic thermal framework.
  140. config X86_PKG_TEMP_THERMAL
  141. tristate "X86 package temperature thermal driver"
  142. depends on X86_THERMAL_VECTOR
  143. select THERMAL_GOV_USER_SPACE
  144. default m
  145. help
  146. Enable this to register CPU digital sensor for package temperature as
  147. thermal zone. Each package will have its own thermal zone. There are
  148. two trip points which can be set by user to get notifications via thermal
  149. notification methods.
  150. menu "Texas Instruments thermal drivers"
  151. source "drivers/thermal/ti-soc-thermal/Kconfig"
  152. endmenu
  153. menu "Samsung thermal drivers"
  154. depends on PLAT_SAMSUNG
  155. source "drivers/thermal/samsung/Kconfig"
  156. endmenu
  157. endif