]> git.baikalelectronics.ru Git - kernel.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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 21 Aug 2013 22:18:45 +0000 (00:18 +0200)
commitcd9c3e15152986d8d085602bf337bc5c5b4962dd
tree167b35941bbf6c3ece56c99ec97a10620480fe14
parent9afa34b703200af29a931b3cbfdf9b3e5eab6cba
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