[PATCH 2/2 v3] [RFC] ARM: shmobile: r8a7779: Add TMU02 platform device

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Sun Feb 17 20:33:39 EST 2013


Hi Simon

> This is intended primarily to exercise the TMUO2 clock definition
> in clock-r8a7779.c. I would appreciate review before I queue it up or
> drop it.
> 
> With this patch and "ARM: shmobile: r8a7779: Correct TMU clock support
> again" in place I see the following tmu related portions of the
> bootlog on the Marzen board.
> 
>  sh_tmu.0: used for clock events
>  sh_tmu.0: used for periodic clock events
>  sh_tmu.1: used as clock source
> Switching to clocksource sh_tmu.1
> sh_tmu sh_tmu.0: kept as earlytimer
> sh_tmu sh_tmu.1: kept as earlytimer
> sh_tmu sh_tmu.2: used as clock source
> 
> Cc: Denis Oliver Kropp <dok at directfb.org>
> Cc: Magnus Damm <damm at opensource.se>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Cc: Paul Mundt <lethal at linux-sh.org>
> Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> ---

(snip)

> +static struct resource tmu02_resources[] = {
> +	[0] = {
> +		.name	= "TMU02",
> +		.start	= 0xffd80020,
> +		.end	= 0xffd81003,
> +		.flags	= IORESOURCE_MEM,

It seems not wrong, but
.end = 0xffd8002b seems very enough ?

Best regards
---
Kuninori Morimoto



More information about the linux-arm-kernel mailing list