]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clocksource/drivers/timer-tegra186: Correct num_wdts for Tegra186 and Tegra234
authorKartik Rajput <kkartik@nvidia.com>
Thu, 7 May 2026 15:45:55 +0000 (21:15 +0530)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 10 Jun 2026 05:25:26 +0000 (07:25 +0200)
On Tegra186 and Tegra234, WDT2 is connected to the Audio Processing
Engine (APE) and cannot be accessed from Linux. Only WDT0 and WDT1
are accessible to Linux.

Update num_wdts from 3 to 2 for both Tegra186 and Tegra234 to reflect
the actual number of watchdogs available to Linux.

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-3-kkartik@nvidia.com
drivers/clocksource/timer-tegra186.c

index bfe16d2d5104eba164070c3af6a457e0a9c2ff93..fd82a73ab2d27a45463b0aa8ea30a6be9fd88b7a 100644 (file)
@@ -511,12 +511,12 @@ static SIMPLE_DEV_PM_OPS(tegra186_timer_pm_ops, tegra186_timer_suspend,
 
 static const struct tegra186_timer_soc tegra186_timer = {
        .num_timers = 10,
-       .num_wdts = 3,
+       .num_wdts = 2,
 };
 
 static const struct tegra186_timer_soc tegra234_timer = {
        .num_timers = 16,
-       .num_wdts = 3,
+       .num_wdts = 2,
 };
 
 static const struct of_device_id tegra186_timer_of_match[] = {