From: Jon Hunter <jonathanh@nvidia.com>
To: Kartik <kkartik@nvidia.com>,
daniel.lezcano@linaro.org, tglx@linutronix.de,
robh+dt@kernel.org, krzk+dt@kernel.org, thierry.reding@gmail.com,
spujar@nvidia.com, akhilrajeev@nvidia.com, rgumasta@nvidia.com,
pshete@nvidia.com, vidyas@nvidia.com, mperttunen@nvidia.com,
mkumard@nvidia.com, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH v2 3/6] clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC
Date: Thu, 30 Jun 2022 10:38:11 +0100 [thread overview]
Message-ID: <1b3a1614-698a-6d21-118e-943f6dc992c4@nvidia.com> (raw)
In-Reply-To: <1656527344-28861-4-git-send-email-kkartik@nvidia.com>
On 29/06/2022 19:29, Kartik wrote:
> 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>
> ---
> 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 4515517c87a5..ea742889ee06 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);
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Thanks!
Jon
--
nvpublic
next prev parent reply other threads:[~2022-06-30 9:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 18:28 [PATCH v2 0/6] Add watchdog timer support for Tegra186/194/234 SoCs Kartik
2022-06-29 18:28 ` [PATCH v2 1/6] dt-bindings: timer: Add Tegra186 & Tegra234 Timer Kartik
2022-06-30 9:13 ` Thierry Reding
2022-07-01 19:37 ` Rob Herring
2022-06-30 9:33 ` Jon Hunter
2022-07-01 18:46 ` Rob Herring
2022-06-29 18:29 ` [PATCH v2 2/6] clocksource: Add Tegra186 timers support Kartik
2022-06-30 9:14 ` Thierry Reding
2022-06-30 9:37 ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 3/6] clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC Kartik
2022-06-30 9:14 ` Thierry Reding
2022-06-30 9:38 ` Jon Hunter [this message]
2022-06-29 18:29 ` [PATCH v2 4/6] arm64: tegra: Enable native timers on Tegra186 Kartik
2022-06-30 9:38 ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 5/6] arm64: tegra: Enable native timers on Tegra194 Kartik
2022-06-30 9:38 ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 6/6] arm64: tegra: Enable native timers on Tegra234 Kartik
2022-06-30 9:38 ` Jon Hunter
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=1b3a1614-698a-6d21-118e-943f6dc992c4@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=akhilrajeev@nvidia.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=kkartik@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mkumard@nvidia.com \
--cc=mperttunen@nvidia.com \
--cc=pshete@nvidia.com \
--cc=rgumasta@nvidia.com \
--cc=robh+dt@kernel.org \
--cc=spujar@nvidia.com \
--cc=tglx@linutronix.de \
--cc=thierry.reding@gmail.com \
--cc=vidyas@nvidia.com \
/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®