clocksource: Add a new timer-ingenic driver
authorPaul Cercueil <paul@crapouillou.net>
Wed, 24 Jul 2019 17:16:09 +0000 (13:16 -0400)
committerPaul Burton <paul.burton@mips.com>
Thu, 8 Aug 2019 22:30:08 +0000 (15:30 -0700)
commit34e9368301d534a9c5cded879f277791194fdb31
tree1c97dca4a25a5a27426fbd5b37150ece400e34d8
parent9536eba03ec7f64fc65144b1323aef7c5e9aafcd
clocksource: Add a new timer-ingenic driver

This driver handles the TCU (Timer Counter Unit) present on the Ingenic
JZ47xx SoCs, and provides the kernel with a system timer, a clocksource
and a sched_clock.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Cc: od@zcrc.me
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/ingenic-timer.c [new file with mode: 0644]