Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 THERMAL_MSM_POPMEM
  20. tristate "Qualcomm MSM POP memory temperature sensor"
  21. depends on THERMAL
  22. default n
  23. help
  24. This enables a thermal sysfs driver for MSM POP memory. It shows up in
  25. sysfs as a thermal zone with one trip point. Due to hardware
  26. limitations, the temperatures are reported as "Low Temperature" (20 C)
  27. "Normal Temperature" (50 C) and "Out of Spec High Temperature" (85 C).
  28. This driver is designed to be used in conjunction with a user space
  29. application to make all policy decisions.
  30. config THERMAL_TSENS
  31. tristate "Qualcomm Tsens Temperature Alarm"
  32. depends on THERMAL
  33. default n
  34. help
  35. This enables the thermal sysfs driver for the Tsens device. It shows
  36. up in Sysfs as a thermal zone with mutiple trip points. Disabling the
  37. thermal zone device via the mode file results in disabling the sensor.
  38. Also able to set threshold temperature for both hot and cold and update
  39. when a threshold is reached.
  40. config THERMAL_TSENS8960
  41. tristate "Qualcomm 8960 Tsens Temperature Alarm"
  42. depends on THERMAL
  43. help
  44. This enables the thermal sysfs driver for the Tsens device. It shows
  45. up in Sysfs as a thermal zone with mutiple trip points. Disabling the
  46. thermal zone device via the mode file results in disabling the sensor.
  47. Also able to set threshold temperature for both hot and cold and update
  48. when a threshold is reached.
  49. config THERMAL_TSENS8974
  50. tristate "Qualcomm 8974 TSENS Temperature driver"
  51. depends on THERMAL
  52. help
  53. This enables the thermal sysfs driver for the TSENS device. It shows
  54. up in Sysfs as a thermal zone with multiple trip points. Also able
  55. to set threshold temperature for both warm and cool and update
  56. thermal userspace client when a threshold is reached. Warm/Cool
  57. temperature thresholds can be set independently for each sensor.
  58. config THERMAL_PM8XXX
  59. tristate "Qualcomm PMIC PM8xxx Temperature Alarm"
  60. depends on THERMAL
  61. depends on MFD_PM8XXX
  62. help
  63. This enables a thermal Sysfs driver for the PMIC PM8xxx devices. It
  64. shows up in Sysfs as a thermal zone with multiple trip points.
  65. Enabling the thermal zone device via the mode file results in
  66. shifting over temperature shutdown control of the PMIC from hardware
  67. to software.
  68. config THERMAL_MONITOR
  69. bool "Monitor thermal state and limit CPU Frequency"
  70. depends on THERMAL_TSENS8960 || THERMAL_TSENS8974
  71. depends on CPU_FREQ_MSM
  72. default n
  73. help
  74. This enables thermal monitoring capability in the kernel in the
  75. absence of a system wide thermal monitoring entity or until such an
  76. entity starts running in the userspace. Monitors TSENS temperature
  77. and limits the max frequency of the cores.
  78. config SPEAR_THERMAL
  79. bool "SPEAr thermal sensor driver"
  80. depends on THERMAL
  81. depends on PLAT_SPEAR
  82. help
  83. Enable this to plug the SPEAr thermal sensor driver into the Linux
  84. thermal framework
  85. config THERMAL_QPNP
  86. tristate "Qualcomm Plug-and-Play PMIC Temperature Alarm"
  87. depends on THERMAL
  88. depends on OF
  89. depends on SPMI
  90. depends on OF_SPMI
  91. help
  92. This enables a thermal Sysfs driver for Qualcomm plug-and-play (QPNP)
  93. PMIC devices. It shows up in Sysfs as a thermal zone with multiple
  94. trip points. The temperature reported by the thermal zone reflects the
  95. real time die temperature if an ADC is present or an estimate of the
  96. temperature based upon the over temperature stage value if no ADC is
  97. available. If allowed via compile time configuration; enabling the
  98. thermal zone device via the mode file results in shifting PMIC over
  99. temperature shutdown control from hardware to software.
  100. config THERMAL_QPNP_ADC_TM
  101. tristate "Qualcomm 8974 Thermal Monitor ADC Driver"
  102. depends on THERMAL && SPMI
  103. help
  104. This enables the thermal Sysfs driver for the ADC thermal monitoring
  105. device. It shows up in Sysfs as a thermal zone with multiple trip points.
  106. Disabling the thermal zone device via the mode file results in disabling
  107. the sensor. Also able to set threshold temperature for both hot and cold
  108. and update when a threshold is reached.