Linux Tegra architecture development
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/timer-tegra186: Use NOIRQ suspend/resume
@ 2026-11-16  9:18 Jon Hunter
  0 siblings, 0 replies; only message in thread
From: Jon Hunter @ 2026-11-16  9:18 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Thierry Reding
  Cc: linux-kernel, linux-tegra, Pohsun Su, Jon Hunter

From: Pohsun Su <pohsuns@nvidia.com>

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@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 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@nvidia.com>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-16  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  9:18 [PATCH] clocksource/drivers/timer-tegra186: Use NOIRQ suspend/resume Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox