linux/drivers/thermal/qcom
David Collins f740ee4a07 thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required
[ Upstream commit f8e157ff2d ]

Certain TEMP_ALARM GEN2 PMIC peripherals need over-temperature stage 2
automatic PMIC partial shutdown. This will ensure that in the event of
reaching the hotter stage 3 over-temperature threshold, repeated faults
will be avoided during the automatic PMIC hardware full shutdown.
Modify the stage 2 shutdown control logic to ensure that stage 2
shutdown is enabled on all affected PMICs. Read the digital major
and minor revision registers to identify these PMICs.

Signed-off-by: David Collins <david.collins@oss.qualcomm.com>
Signed-off-by: Anjelique Melendez <anjelique.melendez@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250710224555.3047790-2-anjelique.melendez@oss.qualcomm.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-20 18:30:23 +02:00
..
Kconfig nvmem: prefix all symbols with NVMEM_ 2022-09-24 14:54:38 +02:00
lmh.c thermal/drivers/qcom/lmh: Remove false lockdep backtrace 2024-11-04 15:38:29 +01:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
qcom-spmi-temp-alarm.c thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required 2025-08-20 18:30:23 +02:00
tsens-8960.c thermal/drivers/tsens: Allow configuring min and max trips 2022-12-14 15:25:40 +01:00
tsens-v0_1.c thermal/qcom/tsens: Drop ops_v0_1 2023-10-19 17:13:12 +02:00
tsens-v1.c thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens 2024-12-14 20:04:02 +01:00
tsens-v2.c thermal/drivers/tsens: Add suspend to RAM support for tsens 2024-04-23 12:40:29 +02:00
tsens.c thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens 2024-12-14 20:04:02 +01:00
tsens.h thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens 2024-12-14 20:04:02 +01:00