| From: |
| Chris Brandt <chris.brandt-AT-renesas.com> |
| To: |
| Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, Simon Horman <horms-AT-verge.net.au>, Magnus Damm <magnus.damm-AT-gmail.com>, Russell King <linux-AT-armlinux.org.uk>, Daniel Lezcano <daniel.lezcano-AT-linaro.org>, Thomas Gleixner <tglx-AT-linutronix.de>, Geert Uytterhoeven <geert+renesas-AT-glider.be> |
| Subject: |
| [PATCH v3 0/2] clocksource: Add renesas-ostm timer driver |
| Date: |
| Mon, 23 Jan 2017 08:54:21 -0500 |
| Message-ID: |
| <20170123135423.28780-1-chris.brandt@renesas.com> |
| Cc: |
| devicetree-AT-vger.kernel.org, linux-renesas-soc-AT-vger.kernel.org, Chris Brandt <chris.brandt-AT-renesas.com> |
This patch set adds a new clocksource driver that uses the OS Timer
(OSTM) that exists in the R7S72100 (RZ/A1) SoC.
The operation of the driver was tested with a simple user application
that does multiple calls to nanosleep() and gettimeofday().
The purpose of adding this driver is to get better time keeping
accuracy over the default MTU2 clocksource timer.
v3:
* Changed ostm@fcfec000 to timer@fcfec000
* Added power-domains to nodes
v2:
* The biggest change was now the channels are independent of each
other and have separate nodes in the DT. The first probed will
be set up as a clock source, and any additional channels probed
will become a clock event.
Chris Brandt (2):
dt-bindings: document renesas-ostm timer
clocksource: Add renesas-ostm timer driver
.../devicetree/bindings/timer/renesas,ostm.txt | 30 ++
arch/arm/mach-shmobile/Kconfig | 1 +
drivers/clocksource/Kconfig | 12 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/renesas-ostm.c | 349 +++++++++++++++++++++
5 files changed, 393 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/renesas,ostm.txt
create mode 100644 drivers/clocksource/renesas-ostm.c
--
2.10.1