[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <165900505716.15455.14363041253812722121.tip-bot2@tip-bot2>
Date: Thu, 28 Jul 2022 10:44:17 -0000
From: "tip-bot2 for Kartik" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Kartik <kkartik@...dia.com>, Thierry Reding <treding@...dia.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: timers/core] clocksource/drivers/timer-tegra186: Add support
for Tegra234 SoC
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 07385a6055a8649593052703b1bfd6aef49db02a
Gitweb: https://git.kernel.org/tip/07385a6055a8649593052703b1bfd6aef49db02a
Author: Kartik <kkartik@...dia.com>
AuthorDate: Mon, 04 Jul 2022 13:43:39 +05:30
Committer: Daniel Lezcano <daniel.lezcano@...aro.org>
CommitterDate: Sat, 16 Jul 2022 00:38:50 +02:00
clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC
The timer IP block present on Tegra234 SoC supports watchdog timer
functionality that can be used to recover from system hangs. The
watchdog timer uses a timer in the background for countdown.
Signed-off-by: Kartik <kkartik@...dia.com>
Acked-by: Thierry Reding <treding@...dia.com>
Link: https://lore.kernel.org/r/1656922422-25823-4-git-send-email-kkartik@nvidia.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
drivers/clocksource/timer-tegra186.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c
index 4515517..ea74288 100644
--- a/drivers/clocksource/timer-tegra186.c
+++ b/drivers/clocksource/timer-tegra186.c
@@ -486,8 +486,14 @@ static const struct tegra186_timer_soc tegra186_timer = {
.num_wdts = 3,
};
+static const struct tegra186_timer_soc tegra234_timer = {
+ .num_timers = 16,
+ .num_wdts = 3,
+};
+
static const struct of_device_id tegra186_timer_of_match[] = {
{ .compatible = "nvidia,tegra186-timer", .data = &tegra186_timer },
+ { .compatible = "nvidia,tegra234-timer", .data = &tegra234_timer },
{ }
};
MODULE_DEVICE_TABLE(of, tegra186_timer_of_match);
Powered by blists - more mailing lists