[RFC 0/2] clocksource: davinci-timer: new driver
From: Bartosz Golaszewski
Date: Wed Apr 17 2019 - 10:47:18 EST
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
Hi Daniel,
as discussed - this is the davinci timer driver split into the clockevent
and clocksource parts.
Since it won't work without all the other (left out for now) changes, I'm
marking it as RFC.
The code has been simplified as requested, the duplicated enums and the
davinci_timer structure have been removed.
Please let me know if that's better. I retested it on da850-lcdk, da830-evm
and dm365-evm.
Bartosz Golaszewski (2):
clocksource: davinci-timer: add support for clockevents
clocksource: timer-davinci: add support for clocksource
drivers/clocksource/Kconfig | 5 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-davinci.c | 342 ++++++++++++++++++++++++++++
include/clocksource/timer-davinci.h | 44 ++++
4 files changed, 392 insertions(+)
create mode 100644 drivers/clocksource/timer-davinci.c
create mode 100644 include/clocksource/timer-davinci.h
--
2.21.0