mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:46:45 +07:00
9066073c6c
TSENS is Qualcomms' thermal temperature sensor device. It supports reading temperatures from multiple thermal sensors present on various QCOM SoCs. Calibration data is generally read from a non-volatile memory (eeprom) device. Add a skeleton driver with all the necessary abstractions so a variety of qcom device families which support TSENS can add driver extensions. Also add the required device tree bindings which can be used to describe the TSENS device in DT. Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Reviewed-by: Lina Iyer <lina.iyer@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
12 lines
478 B
Plaintext
12 lines
478 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.
|