linux/drivers/thermal/qcom
Priyansh Jain 968098b4ca
thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets
Add a no_irq_wake flag to struct tsens_plat_data to allow platforms
to control whether TSENS interrupts should be configured as wakeup
sources.

Create a new data_automotive structure and add compatible strings for
automotive TSENS variants (SA8775P, SA8255P) with wakeup interrupts
disabled.

Automotive platforms can enter a low-power parking suspend state where the
application processors and thermal mitigation paths are not active. In this
state, waking the system due to TSENS threshold interrupts does not enable
useful thermal action, but it does repeatedly break suspend residency and
increase battery drain.

Allow these automotive variants to keep TSENS monitoring enabled during
normal runtime while opting out of TSENS wakeup interrupts during suspend,
so the system can remain in low power until ignition/resume.

Signed-off-by: Priyansh Jain <priyansh.jain@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260601-tsens_interrupt_wake_control-v2-2-ce9570946abd@oss.qualcomm.com
2026-06-03 09:13:04 +02:00
..
Kconfig thermal/drivers/qcom: Make LMH select QCOM_SCM 2025-09-25 22:10:59 +02:00
lmh.c thermal/qcom/lmh: Replace IRQF_ONESHOT with IRQF_NO_THREAD 2026-02-01 17:37:16 +01:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c thermal: qcom-spmi-adc-tm5: Simplify with scoped for each OF child loop 2024-11-26 13:28:43 +01:00
qcom-spmi-temp-alarm.c thermal/drivers/qcom-spmi-temp-alarm: Add support for LITE PMIC peripherals 2025-07-13 18:01:30 +02:00
tsens-8960.c thermal/drivers/tsens: Allow configuring min and max trips 2022-12-14 15:25:40 +01:00
tsens-v1.c thermal: qcom: ipq5018: make ops_ipq5018 struct static 2025-05-23 17:18:05 +02:00
tsens-v2.c thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets 2026-06-03 09:13:04 +02:00
tsens-v0_1.c thermal/qcom/tsens: Drop ops_v0_1 2023-10-19 17:13:12 +02:00
tsens.c thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets 2026-06-03 09:13:04 +02:00
tsens.h thermal/drivers/qcom/tsens: Disable wakeup interrupt setup on automotive targets 2026-06-03 09:13:04 +02:00