From: "tip-bot2 for Kartik" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Kartik <kkartik@nvidia.com>, Thierry Reding <treding@nvidia.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/core] clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC
Date: Thu, 28 Jul 2022 10:44:17 -0000 [thread overview]
Message-ID: <165900505716.15455.14363041253812722121.tip-bot2@tip-bot2> (raw)
In-Reply-To: <1656922422-25823-4-git-send-email-kkartik@nvidia.com>
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@nvidia.com>
AuthorDate: Mon, 04 Jul 2022 13:43:39 +05:30
Committer: Daniel Lezcano <daniel.lezcano@linaro.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@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/1656922422-25823-4-git-send-email-kkartik@nvidia.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.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);
next prev parent reply other threads:[~2022-07-28 10:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 8:13 [PATCH v3 0/6] Add watchdog timer support for Tegra186/194/234 SoCs Kartik
2022-07-04 8:13 ` [PATCH v3 1/6] dt-bindings: timer: Add Tegra186 & Tegra234 Timer Kartik
2022-07-05 20:47 ` Rob Herring
2022-07-04 8:13 ` [PATCH v3 2/6] clocksource: Add Tegra186 timers support Kartik
2022-07-08 14:47 ` Thierry Reding
2022-07-15 22:39 ` Daniel Lezcano
2022-07-28 10:44 ` [tip: timers/core] " tip-bot2 for Thierry Reding
2022-07-04 8:13 ` [PATCH v3 3/6] clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC Kartik
2022-07-08 14:43 ` Thierry Reding
2022-07-28 10:44 ` tip-bot2 for Kartik [this message]
2022-07-04 8:13 ` [PATCH v3 4/6] arm64: tegra: Enable native timers on Tegra186 Kartik
2022-07-04 8:13 ` [PATCH v3 5/6] arm64: tegra: Enable native timers on Tegra194 Kartik
2022-07-04 8:13 ` [PATCH v3 6/6] arm64: tegra: Enable native timers on Tegra234 Kartik
2022-07-08 14:42 ` [PATCH v3 0/6] Add watchdog timer support for Tegra186/194/234 SoCs Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=165900505716.15455.14363041253812722121.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=daniel.lezcano@linaro.org \
--cc=kkartik@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=treding@nvidia.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®