clocksource: Add driver for the Ingenic JZ47xx OST
authorMaarten ter Huurne <maarten@treewalker.org>
Wed, 12 Feb 2020 18:04:08 +0000 (15:04 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 27 Feb 2020 08:37:29 +0000 (09:37 +0100)
commitca7b72b5a5f248b72c88441a93bdcee22f42b9b3
treee21c7bcc1666f7bbb1c8699ae019f6bfb83640fe
parent5be8badcb64be4c6ac5b0e8b882eca8eb175ec2d
clocksource: Add driver for the Ingenic JZ47xx OST

OST is the OS Timer, a 64-bit timer/counter with buffered reading.

SoCs before the JZ4770 had (if any) a 32-bit OST; the JZ4770 and
JZ4780 have a 64-bit OST.

This driver will register both a clocksource and a sched_clock to the
system.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200212180408.30872-1-paul@crapouillou.net
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/ingenic-ost.c [new file with mode: 0644]