[PATCH] clocksource/drivers/timer-tegra186: Use NOIRQ suspend/resume
From: Jon Hunter
Date: Mon Nov 16 2026 - 04:19:31 EST
From: Pohsun Su <pohsuns@xxxxxxxxxx>
Update the Tegra186 Timer driver to use NOIRQ suspend/resume so that the
watchdog is kept active during normal and late suspend/resume phases.
This allows the watchdog to reset the device if any issues occurs during
these suspend/resume phases.
Signed-off-by: Pohsun Su <pohsuns@xxxxxxxxxx>
Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
---
drivers/clocksource/timer-tegra186.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c
index 7938fc4eb1a8..5ac724b83159 100644
--- a/drivers/clocksource/timer-tegra186.c
+++ b/drivers/clocksource/timer-tegra186.c
@@ -589,8 +589,9 @@ static int __maybe_unused tegra186_timer_resume(struct device *dev)
return 0;
}
-static SIMPLE_DEV_PM_OPS(tegra186_timer_pm_ops, tegra186_timer_suspend,
- tegra186_timer_resume);
+static const struct dev_pm_ops tegra186_timer_pm_ops = {
+ SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(tegra186_timer_suspend, tegra186_timer_resume)
+};
static const struct tegra186_timer_soc tegra186_timer = {
.num_timers = 10,
---
base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
change-id: 20261116-tegra-clocksource-870a4fab36f1
Best regards,
--
Jon Hunter <jonathanh@xxxxxxxxxx>