Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config QCOM_TSENS
  3. tristate "Qualcomm TSENS Temperature Alarm"
  4. depends on NVMEM_QCOM_QFPROM
  5. depends on ARCH_QCOM || COMPILE_TEST
  6. help
  7. This enables the thermal sysfs driver for the TSENS device. It shows
  8. up in Sysfs as a thermal zone with multiple trip points. Disabling the
  9. thermal zone device via the mode file results in disabling the sensor.
  10. Also able to set threshold temperature for both hot and cold and update
  11. when a threshold is reached.
  12. config QCOM_SPMI_ADC_TM5
  13. tristate "Qualcomm SPMI PMIC Thermal Monitor ADC5"
  14. depends on OF && SPMI && IIO
  15. select REGMAP_SPMI
  16. select QCOM_VADC_COMMON
  17. help
  18. This enables the thermal driver for the ADC thermal monitoring
  19. device. It shows up as a thermal zone with multiple trip points.
  20. Thermal client sets threshold temperature for both warm and cool and
  21. gets updated when a threshold is reached.
  22. config QCOM_SPMI_TEMP_ALARM
  23. tristate "Qualcomm SPMI PMIC Temperature Alarm"
  24. depends on OF && SPMI && IIO
  25. select REGMAP_SPMI
  26. help
  27. This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)
  28. PMIC devices. It shows up in sysfs as a thermal sensor with multiple
  29. trip points. The temperature reported by the thermal sensor reflects the
  30. real time die temperature if an ADC is present or an estimate of the
  31. temperature based upon the over temperature stage value.
  32. config QCOM_LMH
  33. tristate "Qualcomm Limits Management Hardware"
  34. depends on ARCH_QCOM || COMPILE_TEST
  35. select QCOM_SCM
  36. help
  37. This enables initialization of Qualcomm limits management
  38. hardware(LMh). LMh allows for hardware-enforced mitigation for cpus based on
  39. input from temperature and current sensors. On many newer Qualcomm SoCs
  40. LMh is configured in the firmware and this feature need not be enabled.
  41. However, on certain SoCs like sdm845 LMh has to be configured from kernel.