]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: sh_cmt: 32-bit control register support
authorMagnus Damm <damm@opensource.se>
Mon, 17 Jun 2013 06:40:52 +0000 (15:40 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 5 Aug 2013 01:47:04 +0000 (10:47 +0900)
commitcffd4c0aedd16c47379b84478377d6e3c9818813
tree2a11655c123303c9f14d1b477ce954d242c0478b
parentad81f0545ef01ea651886dddac4bef6cec930092
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