]> git.hungrycats.org Git - linux/commit
clocksource/drivers/timer-tegra186: Register all accessible watchdog timers
authorKartik Rajput <kkartik@nvidia.com>
Thu, 7 May 2026 15:45:56 +0000 (21:15 +0530)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 10 Jun 2026 05:25:40 +0000 (07:25 +0200)
commit5eb5d8eaeacf09f924458dacd590b7f9b1607cea
treeb32c85ea499085df8cb68f0d25f86f1446ef8994
parent341305ea9c89a55c55c0d6252541e5d01098a00a
clocksource/drivers/timer-tegra186: Register all accessible watchdog timers

Tegra186+ SoCs expose multiple watchdog timers, but the driver only
registers WDT(0).

Iterate over num_wdts and, for each WDT, check the SCR (firewall) registers
in the TKE block to determine whether Linux has read and write access.
Register the watchdogs that are accessible.

Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260507154557.2082697-4-kkartik@nvidia.com
drivers/clocksource/timer-tegra186.c