]> asedeno.scripts.mit.edu Git - linux.git/commit
clocksource/drivers/tegra: Add Tegra210 timer support
authorJoseph Lo <josephl@nvidia.com>
Thu, 21 Feb 2019 07:21:44 +0000 (15:21 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 23 Feb 2019 11:13:45 +0000 (12:13 +0100)
commitb4822dc7564f007e7a9b5188b791b7a923e34104
tree2fccd827cac735555f00bb4820d23392762782a6
parent87e0a455960a383a60d9af49ba74fb1c87b20016
clocksource/drivers/tegra: Add Tegra210 timer support

Add support for the Tegra210 timer that runs at oscillator clock
(TMR10-TMR13). We need these timers to work as clock event device and to
replace the ARMv8 architected timer due to it can't survive across the
power cycle of the CPU core or CPUPORESET signal. So it can't be a wake-up
source when CPU suspends in power down state.

Also convert the original driver to use timer-of API.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig
drivers/clocksource/timer-tegra20.c
include/linux/cpuhotplug.h