]> 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>
Thu, 20 Jun 2013 12:28:26 +0000 (21:28 +0900)
commitb635f57293b6262bb97508ed70e350bae73a71cc
tree1cf47805b73854945bf061e13dbce80f64397ce6
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75
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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_cmt.c