[Ksummit-discuss] [TECH TOPIC] ARM legacy board DT conversion finalization

Arnd Bergmann arnd at arndb.de
Tue May 20 01:08:21 PDT 2014


On Monday 19 May 2014 18:06:02 Rob Herring wrote:
> > On Friday 16 May 2014 23:20:42 Ben Hutchings wrote:
> >> On Fri, 2014-05-16 at 14:42 -0400, Jason Cooper wrote:
> >> > On Fri, May 16, 2014 at 07:31:51PM +0100, Ben Hutchings wrote:
> >> > > Our 'legacy' (which I take to mean pre-v7) configurations are now
> >> > > kirkwood, mv78xx0, orion5x (all about to converge to mvebu) and
> >> > > versatile.
> >> >
> >> > I'm not familiar with versatile, the others I've seen a few times.
> >>
> >> Versatile is one of ARM's own development boards, but more importantly
> >> it's something QEMU can emulate.
> >
> > We should really have this in multiplatform soon, I think the last issue
> > for versatile is common clock support, but Linus Walleij may have more
> > details about what remains here.
> 
> While not necessarily the same thing, but does move versatile in the
> right direction, I've got patches in progress which fully move
> versatile over to DT. The main issues there are:
> 
> common clock
> irq cntlr init from DT
> Move PCI to DT and platform driver
> 
> I'd like to do this all in one step to avoid doing things like non-DT
> common clock init. 

Sounds good, yes.

> It's blocked on the common DT PCI code and my free
> time.
> 
> There are then a few bits related to mach/plat headers needed move
> versatile to multiplatform. I think these issues are mostly the same
> changes that have been done or are needed on integrator which is what
> Linus has been working on.

Ah, right. I see these two includes from mach-versatile to plat/*.h headers:

arch/arm/mach-versatile/core.c:#include <plat/clcd.h>
arch/arm/mach-versatile/core.c:#include <plat/sched_clock.h>

We can deal with those by adding

ccflags-y := -I$(srctree)/arch/arm/plat-versatile/include

to mach-versatile/Makefile, or we can rearrange the code. The opposite
direction would be harder, but I don't see any remaining dependencies
there.

	Arnd



More information about the linux-arm-kernel mailing list