Commit f8e157ff authored by David Collins's avatar David Collins Committed by Daniel Lezcano
Browse files

thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required



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: default avatarDavid Collins <david.collins@oss.qualcomm.com>
Signed-off-by: default avatarAnjelique Melendez <anjelique.melendez@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250710224555.3047790-2-anjelique.melendez@oss.qualcomm.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent d7b8f8e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment