forked from Minki/linux
72e9baf997
This cleans up the directory a bit allowing just one place to look for thermal related drivers for QCOM platforms instead of being scattered in the root directory and the qcom/ subdirectory. Compile-tested with ARCH=arm64 defconfig and the driver explicitly enabled with menuconfig. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
23 lines
965 B
Plaintext
23 lines
965 B
Plaintext
config QCOM_TSENS
|
|
tristate "Qualcomm TSENS Temperature Alarm"
|
|
depends on THERMAL
|
|
depends on QCOM_QFPROM
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
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 QCOM_SPMI_TEMP_ALARM
|
|
tristate "Qualcomm SPMI PMIC Temperature Alarm"
|
|
depends on OF && SPMI && IIO
|
|
select REGMAP_SPMI
|
|
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.
|