clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 15 Jun 2016 10:13:26 +0000 (12:13 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:17:10 +0000 (10:17 +0200)
commit89355274e1f7f218186bb15a9f0c4b4a026a84d3
treee09d27abfb8439925b7035c9be59fffabe388ffa
parent1e8567d53d3bbefe3f6e0a27685da1b842f4c1fa
clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer

Add clocksource and clockevent driver from dual RPS timer.
The HW provides a dual one-shot or periodic 24bit timers,
the drivers set the first one as tick event source and the
second as a continuous scheduler clock source.
The timer can use 1, 16 or 256 as pre-dividers, thus the
clocksource uses 16 by default.

CC: Ma Haijun <mahaijuns@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/timer-oxnas-rps.c [new file with mode: 0644]