Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config QCOM_TSENS
0003         tristate "Qualcomm TSENS Temperature Alarm"
0004         depends on QCOM_QFPROM
0005         depends on ARCH_QCOM || COMPILE_TEST
0006         help
0007           This enables the thermal sysfs driver for the TSENS device. It shows
0008           up in Sysfs as a thermal zone with multiple trip points. Disabling the
0009           thermal zone device via the mode file results in disabling the sensor.
0010           Also able to set threshold temperature for both hot and cold and update
0011           when a threshold is reached.
0012 
0013 config QCOM_SPMI_ADC_TM5
0014         tristate "Qualcomm SPMI PMIC Thermal Monitor ADC5"
0015         depends on OF && SPMI && IIO
0016         select REGMAP_SPMI
0017         select QCOM_VADC_COMMON
0018         help
0019           This enables the thermal driver for the ADC thermal monitoring
0020           device. It shows up as a thermal zone with multiple trip points.
0021           Thermal client sets threshold temperature for both warm and cool and
0022           gets updated when a threshold is reached.
0023 
0024 config QCOM_SPMI_TEMP_ALARM
0025         tristate "Qualcomm SPMI PMIC Temperature Alarm"
0026         depends on OF && SPMI && IIO
0027         select REGMAP_SPMI
0028         help
0029           This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)
0030           PMIC devices. It shows up in sysfs as a thermal sensor with multiple
0031           trip points. The temperature reported by the thermal sensor reflects the
0032           real time die temperature if an ADC is present or an estimate of the
0033           temperature based upon the over temperature stage value.
0034 
0035 config QCOM_LMH
0036         tristate "Qualcomm Limits Management Hardware"
0037         depends on ARCH_QCOM && QCOM_SCM
0038         help
0039           This enables initialization of Qualcomm limits management
0040           hardware(LMh). LMh allows for hardware-enforced mitigation for cpus based on
0041           input from temperature and current sensors.  On many newer Qualcomm SoCs
0042           LMh is configured in the firmware and this feature need not be enabled.
0043           However, on certain SoCs like sdm845 LMh has to be configured from kernel.