Kconfig 6.1 KB

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