Commit 07385a60 authored by Kartik's avatar Kartik Committed by Daniel Lezcano

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: default avatarKartik <kkartik@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/1656922422-25823-4-git-send-email-kkartik@nvidia.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 42cee19a
...@@ -486,8 +486,14 @@ static const struct tegra186_timer_soc tegra186_timer = { ...@@ -486,8 +486,14 @@ static const struct tegra186_timer_soc tegra186_timer = {
.num_wdts = 3, .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[] = { static const struct of_device_id tegra186_timer_of_match[] = {
{ .compatible = "nvidia,tegra186-timer", .data = &tegra186_timer }, { .compatible = "nvidia,tegra186-timer", .data = &tegra186_timer },
{ .compatible = "nvidia,tegra234-timer", .data = &tegra234_timer },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, tegra186_timer_of_match); MODULE_DEVICE_TABLE(of, tegra186_timer_of_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment