Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-17 Thread Geert Uytterhoeven
Hi Olof, On Mon, May 15, 2017 at 6:09 PM, Olof Johansson wrote: >> The only other comment I would have is at some point, we're going to >> have overlays that aren't tied to any arch. Where are we going to put >> those? Maybe they are tied to some vendor which tends to have most

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-17 Thread Geert Uytterhoeven
Hi Olof, On Mon, May 15, 2017 at 6:09 PM, Olof Johansson wrote: >> The only other comment I would have is at some point, we're going to >> have overlays that aren't tied to any arch. Where are we going to put >> those? Maybe they are tied to some vendor which tends to have most >> stuff in $arch

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-17 Thread Masahiro Yamada
2017-05-16 2:04 GMT+09:00 Olof Johansson : > On Mon, May 15, 2017 at 8:48 AM, Russell King - ARM Linux > wrote: >> On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: >>> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote:

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-17 Thread Masahiro Yamada
2017-05-16 2:04 GMT+09:00 Olof Johansson : > On Mon, May 15, 2017 at 8:48 AM, Russell King - ARM Linux > wrote: >> On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: >>> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >>> > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 8:48 AM, Russell King - ARM Linux wrote: > On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: >> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >> > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >> >

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 8:48 AM, Russell King - ARM Linux wrote: > On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: >> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >> > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >> > wrote: >> >> Maybe what we should do is:

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 11:09 AM, Olof Johansson wrote: > On Mon, May 15, 2017 at 8:52 AM, Rob Herring wrote: >> On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: >>> On Mon, May 15, 2017 at 7:47 AM, Rob Herring

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 11:09 AM, Olof Johansson wrote: > On Mon, May 15, 2017 at 8:52 AM, Rob Herring wrote: >> On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: >>> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 8:52 AM, Rob Herring wrote: > On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: >> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >>> On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >>>

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 8:52 AM, Rob Herring wrote: > On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: >> On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >>> On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >>> wrote: On Mon, May 15, 2017 at 08:01:07AM -0500, Rob

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: > On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >> On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >> wrote: >>> On Mon, May 15, 2017 at 08:01:07AM -0500, Rob

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 10:27 AM, Olof Johansson wrote: > On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: >> On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux >> wrote: >>> On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: I'd prefer not to mix things in scripts/dtc

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: > On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: > > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > > wrote: > >> Maybe what we should do is: > >> > >> mkdir include/dt >

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 08:27:54AM -0700, Olof Johansson wrote: > On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: > > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > > wrote: > >> Maybe what we should do is: > >> > >> mkdir include/dt > >> git mv include/dt-bindings include/dt >

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > wrote: >> On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: >>> I'd prefer not to mix things in scripts/dtc that aren't the

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Olof Johansson
On Mon, May 15, 2017 at 7:47 AM, Rob Herring wrote: > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > wrote: >> On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: >>> I'd prefer not to mix things in scripts/dtc that aren't the import of >>> dtc (yes, we do have a few other

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 09:47:40AM -0500, Rob Herring wrote: > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > wrote: > > Maybe what we should do is: > > > > mkdir include/dt > > git mv include/dt-bindings include/dt > > for arch in arch/*; do > >

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 09:47:40AM -0500, Rob Herring wrote: > On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux > wrote: > > Maybe what we should do is: > > > > mkdir include/dt > > git mv include/dt-bindings include/dt > > for arch in arch/*; do > > dts=$arch/boot/dts > > if [ -d

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux wrote: > On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: >> I'd prefer not to mix things in scripts/dtc that aren't the import of >> dtc (yes, we do have a few other things already, but they are at least

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Mon, May 15, 2017 at 9:26 AM, Russell King - ARM Linux wrote: > On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: >> I'd prefer not to mix things in scripts/dtc that aren't the import of >> dtc (yes, we do have a few other things already, but they are at least >> scripts). Couldn't

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: > I'd prefer not to mix things in scripts/dtc that aren't the import of > dtc (yes, we do have a few other things already, but they are at least > scripts). Couldn't this go in include/dt-bindings/ instead? I don't think that works.

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Russell King - ARM Linux
On Mon, May 15, 2017 at 08:01:07AM -0500, Rob Herring wrote: > I'd prefer not to mix things in scripts/dtc that aren't the import of > dtc (yes, we do have a few other things already, but they are at least > scripts). Couldn't this go in include/dt-bindings/ instead? I don't think that works.

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Fri, May 12, 2017 at 10:34 PM, Olof Johansson wrote: > We use a directory under arch/$ARCH/boot/dts as an include path > that has links outside of the subtree to find dt-bindings from under > include/dt-bindings. That's been working well, but new DT architectures > haven't been

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-15 Thread Rob Herring
On Fri, May 12, 2017 at 10:34 PM, Olof Johansson wrote: > We use a directory under arch/$ARCH/boot/dts as an include path > that has links outside of the subtree to find dt-bindings from under > include/dt-bindings. That's been working well, but new DT architectures > haven't been adding them by

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-13 Thread Heiko Stuebner
Hi Olof, Am Freitag, 12. Mai 2017, 20:34:31 CEST schrieb Olof Johansson: > We use a directory under arch/$ARCH/boot/dts as an include path > that has links outside of the subtree to find dt-bindings from under > include/dt-bindings. That's been working well, but new DT architectures > haven't

Re: [PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-13 Thread Heiko Stuebner
Hi Olof, Am Freitag, 12. Mai 2017, 20:34:31 CEST schrieb Olof Johansson: > We use a directory under arch/$ARCH/boot/dts as an include path > that has links outside of the subtree to find dt-bindings from under > include/dt-bindings. That's been working well, but new DT architectures > haven't

[PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-12 Thread Olof Johansson
We use a directory under arch/$ARCH/boot/dts as an include path that has links outside of the subtree to find dt-bindings from under include/dt-bindings. That's been working well, but new DT architectures haven't been adding them by default. Recently there's been a desire to share some of the DT

[PATCH] devicetree: Move include prefixes from arch to separate directory

2017-05-12 Thread Olof Johansson
We use a directory under arch/$ARCH/boot/dts as an include path that has links outside of the subtree to find dt-bindings from under include/dt-bindings. That's been working well, but new DT architectures haven't been adding them by default. Recently there's been a desire to share some of the DT