# SPDX-License-Identifier: GPL-2.0-only config [31mCONFIG_QCOM_TSENS[0m tristate "Qualcomm TSENS Temperature Alarm" depends on [31mCONFIG_QCOM_QFPROM[0m depends on [31mCONFIG_ARCH_QCOM[0m || [31mCONFIG_COMPILE_TEST[0m help This enables the thermal sysfs driver for the TSENS device. It shows up in Sysfs as a thermal zone with multiple trip points. Disabling the thermal zone device via the mode file results in disabling the sensor. Also able to set threshold temperature for both hot and cold and update when a threshold is reached. config [31mCONFIG_QCOM_SPMI_TEMP_ALARM[0m tristate "Qualcomm SPMI PMIC Temperature Alarm" depends on [31mCONFIG_OF[0m && [31mCONFIG_SPMI[0m && [31mCONFIG_IIO[0m select [31mCONFIG_REGMAP_SPMI[0m help This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP) PMIC devices. It shows up in sysfs as a thermal sensor with multiple trip points. The temperature reported by the thermal sensor reflects the real time die temperature if an ADC is present or an estimate of the temperature based upon the over temperature stage value. |