summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorDavid Collins <david.collins@oss.qualcomm.com>2025-07-10 15:45:51 -0700
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-07-13 18:00:51 +0200
commitf8e157ff2df46ddabd930815d196895976227831 (patch)
treeb95ee78ecd9ac7f4e6e04734021aeb3b75bfe2f6 /rust/helpers/build_bug.c
parentd7b8f8e20813f0179d8ef519541a3527e7661d3a (diff)
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: 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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions