clocksource: Sched clock source for Versatile Express
authorPawel Moll <pawel.moll@arm.com>
Wed, 16 Apr 2014 17:22:59 +0000 (18:22 +0100)
committerPawel Moll <pawel.moll@arm.com>
Thu, 15 May 2014 16:02:20 +0000 (17:02 +0100)
commit220e2a8d22cd57d5ec8111465923c6c25691394d
treeec0f82e350f4add4dddb542a9a76a14ab9d026fc
parent5ee2b877793d89f1d73338d08af12f73fbbfed4a
clocksource: Sched clock source for Versatile Express

This patch adds a trival sched clock source using free
running, 24MHz clocked counter present in the ARM Ltd.
reference platforms (Versatile, RealView, Versatile
Express) System Registers block.

This code replaces the call in the VE machine code.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-vexpress/v2m.c
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/versatile.c [new file with mode: 0644]