This series refines how TSENS threshold IRQs are used as wake sources
across suspend/resume.
Patch 1 moves IRQ wake control from registration time into PM callbacks,
so wakeup configuration follows the actual suspend state instead of being
left enabled during normal runtime.
Patch 2 adds a platform-data opt-out for wake IRQ setup and uses it for
automotive TSENS compatibles (SA8775P/SA8255P), where parking suspend
should not be exited repeatedly due to TSENS threshold wake events.
Series highlights:
- store and manage TSENS IRQ wake state in suspend/resume paths
- keep existing runtime monitoring behavior unchanged
- disable TSENS wake IRQ setup for selected automotive targets
Signed-off-by: Priyansh Jain <priyansh.jain@oss.qualcomm.com>
---
Priyansh Jain (2):
thermal: qcom: tsens: switch wake IRQ handling to PM callbacks
thermal: qcom: tsens: Disable wakeup interrupt setup on automotive targets
drivers/thermal/qcom/tsens-v2.c | 9 ++++-
drivers/thermal/qcom/tsens.c | 78 ++++++++++++++++++++++++++++++++++-------
drivers/thermal/qcom/tsens.h | 23 +++++++++++-
3 files changed, 95 insertions(+), 15 deletions(-)
---
base-commit: e8c2f9fdadee7cbc75134dc463c1e0d856d6e5c7
change-id: 20260526-tsens_interrupt_wake_control-08be7b86591d
Best regards,
--
Priyansh Jain <priyansh.jain@oss.qualcomm.com>