Re: [PATCH v2 2/6] clocksource: Add Tegra186 timers support

From: Jon Hunter
Date: Thu Jun 30 2022 - 05:38:46 EST




On 29/06/2022 19:29, Kartik wrote:
From: Thierry Reding <treding@xxxxxxxxxx>

Currently this only supports a single watchdog, which uses a timer in
the background for countdown. Eventually the timers could be used for
various time-keeping tasks, but by default the architected timer will
already provide that functionality.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
Signed-off-by: Kartik <kkartik@xxxxxxxxxx>
---
drivers/clocksource/Kconfig | 8 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-tegra186.c | 508 +++++++++++++++++++++++++++
3 files changed, 517 insertions(+)
create mode 100644 drivers/clocksource/timer-tegra186.c
Reviewed-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Thanks!
Jon
--
nvpublic