[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1b3a1614-698a-6d21-118e-943f6dc992c4@nvidia.com>
Date: Thu, 30 Jun 2022 10:38:11 +0100
From: Jon Hunter <jonathanh@...dia.com>
To: Kartik <kkartik@...dia.com>, daniel.lezcano@...aro.org,
tglx@...utronix.de, robh+dt@...nel.org, krzk+dt@...nel.org,
thierry.reding@...il.com, spujar@...dia.com,
akhilrajeev@...dia.com, rgumasta@...dia.com, pshete@...dia.com,
vidyas@...dia.com, mperttunen@...dia.com, mkumard@...dia.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH v2 3/6] clocksource/drivers/timer-tegra186: Add support
for Tegra234 SoC
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@...dia.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@...dia.com>
Thanks!
Jon
--
nvpublic
Powered by blists - more mailing lists