Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 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 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 USER_SPACE
  41. help
  42. Select this if you want to let the user space manage the
  43. lpatform thermals.
  44. endchoice
  45. config FAIR_SHARE
  46. bool "Fair-share thermal governor"
  47. help
  48. Enable this to manage platform thermals using fair-share governor.
  49. config STEP_WISE
  50. bool "Step_wise thermal governor"
  51. help
  52. Enable this to manage platform thermals using a simple linear
  53. config 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. tristate "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, cpu hotplug and any other ways of reducing temperature. An
  64. ACPI version of this already exists(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 SPEAR_THERMAL
  69. bool "SPEAr thermal sensor driver"
  70. depends on PLAT_SPEAR
  71. depends on OF
  72. help
  73. Enable this to plug the SPEAr thermal sensor driver into the Linux
  74. thermal framework
  75. config RCAR_THERMAL
  76. tristate "Renesas R-Car thermal driver"
  77. depends on ARCH_SHMOBILE
  78. help
  79. Enable this to plug the R-Car thermal sensor driver into the Linux
  80. thermal framework
  81. config EXYNOS_THERMAL
  82. tristate "Temperature sensor on Samsung EXYNOS"
  83. depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5)
  84. depends on CPU_THERMAL
  85. help
  86. If you say yes here you get support for TMU (Thermal Management
  87. Unit) on SAMSUNG EXYNOS series of SoC.
  88. config DB8500_THERMAL
  89. bool "DB8500 thermal management"
  90. depends on ARCH_U8500
  91. default y
  92. help
  93. Adds DB8500 thermal management implementation according to the thermal
  94. management framework. A thermal zone with several trip points will be
  95. created. Cooling devices can be bound to the trip points to cool this
  96. thermal zone if trip points reached.
  97. config DB8500_CPUFREQ_COOLING
  98. tristate "DB8500 cpufreq cooling"
  99. depends on ARCH_U8500
  100. depends on CPU_THERMAL
  101. default y
  102. help
  103. Adds DB8500 cpufreq cooling devices, and these cooling devices can be
  104. bound to thermal zone trip points. When a trip point reached, the
  105. bound cpufreq cooling device turns active to set CPU frequency low to
  106. cool down the CPU.
  107. endif