]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92cf1a11cf310efc1c9ba56f6d45e6f042af9e91
treee21c7bcc1666f7bbb1c8699ae019f6bfb83640fe
parent3433727c2eeaae708ab116edb22f4ecae6d21740
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]