clocksource: sh_cmt: 32-bit control register support
authorMagnus Damm <damm@opensource.se>
Mon, 17 Jun 2013 06:40:52 +0000 (15:40 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 21 Aug 2013 22:18:45 +0000 (00:18 +0200)
commit8874c5e3b92fc23af4fd4da8830f7d4de41d03a0
tree167b35941bbf6c3ece56c99ec97a10620480fe14
parent1745e696e174b54e37c057882970e50af1e80a7f
clocksource: sh_cmt: 32-bit control register support

Add support for CMT hardware with 32-bit control and counter
registers, as found on r8a73a4 and r8a7790. To use the CMT
with 32-bit hardware a second I/O memory resource needs to
point out the CMSTR register and it needs to be 32 bit wide.

Signed-off-by: Magnus Damm <damm@opensource.se>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_cmt.c