Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-14 Thread Arnd Bergmann
On Thursday 14 June 2012, Andrew Lunn wrote: > We either have auxdata and clean clock code, or no auxdata and messy > clock code with lots of aliases. > > The auxdata is also not limited to the name of the clocks. It allows > me to diff the kernel log for a DT boot and a none DT boot of the same >

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-14 Thread Andrew Lunn
On Wed, Jun 13, 2012 at 09:10:30PM +, Arnd Bergmann wrote: > On Sunday 10 June 2012, Andrew Lunn wrote: > > @@ -26,6 +26,11 @@ static struct of_device_id kirkwood_dt_match_table[] > > __initdata = { > > { } > > }; > > > > +struct of_dev_auxdata kirkwood_auxdata_lookup[] __initdata =

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-13 Thread Arnd Bergmann
On Sunday 10 June 2012, Andrew Lunn wrote: > @@ -26,6 +26,11 @@ static struct of_device_id kirkwood_dt_match_table[] > __initdata = { > { } > }; > > +struct of_dev_auxdata kirkwood_auxdata_lookup[] __initdata = { > + OF_DEV_AUXDATA("marvell,orion-spi", 0xf1010600, "orion_spi.0", N

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-12 Thread Jason Cooper
On Tue, Jun 12, 2012 at 02:04:33PM +0200, Andrew Lunn wrote: > > > + spi@10600 { > > > + compatible = "marvell,orion-spi"; > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > + cell-index = <0>; > > > +

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-12 Thread Andrew Lunn
> > + spi@10600 { > > + compatible = "marvell,orion-spi"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + cell-index = <0>; > > + reg = <0x10600 0x28>; > > + status = "di

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:57PM +0200, Andrew Lunn wrote: > From: Michael Walle > > Populate the devices with auxdata to set the device names which are used by > clkdev to lookup the clocks. > > Signed-off-by: Michael Walle > Signed-off-by: Andrew Lunn > --- > arch/arm/boot/dts/kirkwood.dt

[PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-10 Thread Andrew Lunn
From: Michael Walle Populate the devices with auxdata to set the device names which are used by clkdev to lookup the clocks. Signed-off-by: Michael Walle Signed-off-by: Andrew Lunn --- arch/arm/boot/dts/kirkwood.dtsi |9 + arch/arm/mach-kirkwood/board-dt.c |8 +++- 2 fil