44 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config QCOM_TSENS3 tristate "Qualcomm TSENS Temperature Alarm"4 depends on NVMEM_QCOM_QFPROM5 depends on ARCH_QCOM || COMPILE_TEST6 help7 This enables the thermal sysfs driver for the TSENS device. It shows8 up in Sysfs as a thermal zone with multiple trip points. Disabling the9 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 update11 when a threshold is reached.12 13config QCOM_SPMI_ADC_TM514 tristate "Qualcomm SPMI PMIC Thermal Monitor ADC5"15 depends on OF && SPMI && IIO16 select REGMAP_SPMI17 select QCOM_VADC_COMMON18 help19 This enables the thermal driver for the ADC thermal monitoring20 device. It shows up as a thermal zone with multiple trip points.21 Thermal client sets threshold temperature for both warm and cool and22 gets updated when a threshold is reached.23 24config QCOM_SPMI_TEMP_ALARM25 tristate "Qualcomm SPMI PMIC Temperature Alarm"26 depends on OF && SPMI && IIO27 select REGMAP_SPMI28 help29 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 multiple31 trip points. The temperature reported by the thermal sensor reflects the32 real time die temperature if an ADC is present or an estimate of the33 temperature based upon the over temperature stage value.34 35config QCOM_LMH36 tristate "Qualcomm Limits Management Hardware"37 depends on ARCH_QCOM && QCOM_SCM38 help39 This enables initialization of Qualcomm limits management40 hardware(LMh). LMh allows for hardware-enforced mitigation for cpus based on41 input from temperature and current sensors. On many newer Qualcomm SoCs42 LMh is configured in the firmware and this feature need not be enabled.43 However, on certain SoCs like sdm845 LMh has to be configured from kernel.44