[PATCH] cpuidle: kirkwood: Move out of mach directory, add DT.

Andrew Lunn andrew at lunn.ch
Sat Dec 29 01:37:13 EST 2012


On Fri, Dec 28, 2012 at 03:32:08PM +0100, Florian Fainelli wrote:
> Hello Andrew,
> 
> Le 12/28/12 13:47, Andrew Lunn a ??crit :
> >Move the Kirkwood cpuidle driver out of arch/arm/mach-kirkwood and
> >into drivers/cpuidle. Convert the driver into a platform driver and
> >add a device tree binding. Add a DT node to instantiate the driver for
> >boards converted to DT, and a platform data for old style boards.
> >
> >Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> >---
> 
> [snip]
> 
> >
> >+/*****************************************************************************
> >+ * CPU idle
> >+ ****************************************************************************/
> >+static struct resource kirkwood_cpuidle_resource[] = {
> >+	{
> >+		.flags	= IORESOURCE_MEM,
> >+		.start	= DDR_OPERATION_BASE,
> >+		.end	= 3,
> 
> Should not this be DDR_OPERATION_BASE + 3?

Yes it should.

Thanks
	Andrew


More information about the devicetree-discuss mailing list