linux/drivers/thermal/qcom
David Collins 83049106a3 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-28 16:25:53 +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-14 13:15:15 +01:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
qcom-spmi-temp-alarm.c thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required 2025-08-28 16:25:53 +02:00
tsens-8960.c thermal/drivers/tsens: Drop unused define for msm8960 2021-04-22 14:10:08 +02:00
tsens-v0_1.c thermal/drivers/tsens: limit num_sensors to 9 for msm8939 2023-03-10 09:32:54 +01:00
tsens-v1.c thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-03-10 09:32:54 +01:00
tsens-v2.c drivers: thermal: tsens: Add watchdog support 2020-03-20 12:17:48 +01:00
tsens.c thermal/drivers/tsens: Fix null pointer dereference 2024-06-12 11:03:12 +02:00
tsens.h thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-03-10 09:32:54 +01:00