[PATCH] Use MMIO clocksource for 32kHz counter

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jul 10 10:15:37 EDT 2011


On Mon, Jun 27, 2011 at 12:11:02PM -0700, Tony Lindgren wrote:
> * Tony Lindgren <tony at atomide.com> [110627 05:33]:
> > * Russell King - ARM Linux <linux at arm.linux.org.uk> [110627 05:28]:
> > > --- a/arch/arm/plat-omap/counter_32k.c
> > > +++ b/arch/arm/plat-omap/counter_32k.c
> > > +#ifdef CONFIG_ARCH_OMAP16XX
> > > +		else if (cpu_is_omap16xx())
> > > +			base = OMAP2_L4_IO_ADDRESS(OMAP16XX_TIMER_32K_SYNCHRONIZED);
> 
> BTW, the above should have been OMAP1_IO_ADDRESS instead..
>   
> > You should be able to replace the above with just ioremap as we now
> > have the static mappings.
> 
> ..here's a patch to use ioremap with comment added about the static
> mapping requirements.
> 
> Thanks for getting rid of hopefully the last remaining omap_readl
> for omap2+ BTW :)

What're we doing with this patch and your follow-up patch?



More information about the linux-arm-kernel mailing list