Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Rajendra Nayak | 9066073 | 2016-05-05 14:21:39 +0530 | [diff] [blame] | 2 | config QCOM_TSENS |
| 3 | tristate "Qualcomm TSENS Temperature Alarm" |
Rajendra Nayak | 9066073 | 2016-05-05 14:21:39 +0530 | [diff] [blame] | 4 | depends on 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. |
Amit Kucheria | 72e9baf | 2018-12-07 12:25:27 +0530 | [diff] [blame] | 12 | |
Dmitry Baryshkov | ca66dca | 2021-02-05 03:01:18 +0300 | [diff] [blame] | 13 | config QCOM_SPMI_ADC_TM5 |
| 14 | tristate "Qualcomm SPMI PMIC Thermal Monitor ADC5" |
| 15 | depends on OF && SPMI && IIO |
| 16 | select REGMAP_SPMI |
| 17 | select QCOM_VADC_COMMON |
| 18 | help |
| 19 | This enables the thermal driver for the ADC thermal monitoring |
| 20 | device. It shows up as a thermal zone with multiple trip points. |
| 21 | Thermal client sets threshold temperature for both warm and cool and |
| 22 | gets updated when a threshold is reached. |
| 23 | |
Amit Kucheria | 72e9baf | 2018-12-07 12:25:27 +0530 | [diff] [blame] | 24 | config QCOM_SPMI_TEMP_ALARM |
| 25 | tristate "Qualcomm SPMI PMIC Temperature Alarm" |
| 26 | depends on OF && SPMI && IIO |
| 27 | select REGMAP_SPMI |
| 28 | help |
| 29 | This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP) |
| 30 | PMIC devices. It shows up in sysfs as a thermal sensor with multiple |
| 31 | trip points. The temperature reported by the thermal sensor reflects the |
| 32 | real time die temperature if an ADC is present or an estimate of the |
| 33 | temperature based upon the over temperature stage value. |