]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
clocksource/drivers/tegra: Unify timer code
authorDmitry Osipenko <digetx@gmail.com>
Mon, 3 Jun 2019 18:59:40 +0000 (21:59 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Jun 2019 17:49:18 +0000 (19:49 +0200)
commitaf8d9129eced348c699cca73b1c52e3855df063e
treeeb68b3d85d1297b38f656ddfa04a3caf613fe414
parentf6d50ec5f85c98d191d8dda032557ab297c14401
clocksource/drivers/tegra: Unify timer code

Tegra132 is 64bit platform and it has the tegra20-timer hardware unit.
Right now the corresponding timer code isn't compiled for ARM64, remove
ifdef'iness from the code and compile tegra20-timer for both 32 and 64 bit
platforms. Also note that like the older generations, Tegra210 has the
microseconds counter, hence the timer_us clocksource is now made available
for Tegra210 as well.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra20.c