Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-30 Thread Linus Walleij
On Mon, Aug 20, 2012 at 1:02 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 00:42 Sun 19 Aug , Linus Walleij wrote: > no I mean why >> >> + OF_DEV_AUXDATA("arm,primecell", INTEGRATOR_RTC_BASE, >> >> + "rtc", NULL), >> >> + OF_DEV_AUXDATA("arm,primecell", KMI0_BASE, >> >>

Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:42 Sun 19 Aug , Linus Walleij wrote: > On Thu, Aug 16, 2012 at 2:40 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 14:16 Thu 16 Aug , Linus Walleij wrote: > >> +/* For the Device Tree, add in the UART callbacks as AUXDATA */ > >> +static struct of_dev_auxdata ap_auxdata_lookup[

Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-18 Thread Linus Walleij
On Thu, Aug 16, 2012 at 2:40 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 14:16 Thu 16 Aug , Linus Walleij wrote: >> +/* For the Device Tree, add in the UART callbacks as AUXDATA */ >> +static struct of_dev_auxdata ap_auxdata_lookup[] __initdata = { >> + OF_DEV_AUXDATA("arm,primecell",

Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Linus Walleij wrote: > + fpga { > + compatible = "arm,amba-bus", "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + rtc: rtc@1500 { > + c

Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:16 Thu 16 Aug , Linus Walleij wrote: > This converts the AMBA (PrimeCell) devices on the Integrator/AP > and Integrator/CP over to probing from the Device Tree if the > kernel is compiled for Device Tree support. > > We continue to #ifdef out all non-DT code and vice versa on > respectiv

[PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

2012-08-16 Thread Linus Walleij
This converts the AMBA (PrimeCell) devices on the Integrator/AP and Integrator/CP over to probing from the Device Tree if the kernel is compiled for Device Tree support. We continue to #ifdef out all non-DT code and vice versa on respective boot type to get a clean cut. We need to add a bunch of