From: Kartik Rajput Date: Thu, 7 May 2026 15:45:55 +0000 (+0530) Subject: clocksource/drivers/timer-tegra186: Correct num_wdts for Tegra186 and Tegra234 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=341305ea9c89a55c55c0d6252541e5d01098a00a;p=thirdparty%2Flinux.git clocksource/drivers/timer-tegra186: Correct num_wdts for Tegra186 and Tegra234 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 Signed-off-by: Daniel Lezcano Reviewed-by: Jon Hunter Link: https://patch.msgid.link/20260507154557.2082697-3-kkartik@nvidia.com --- diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c index bfe16d2d5104..fd82a73ab2d2 100644 --- a/drivers/clocksource/timer-tegra186.c +++ b/drivers/clocksource/timer-tegra186.c @@ -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[] = {