Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-15 Thread Warner Losh
> On Jun 15, 2016, at 4:23 AM, Pantelis Antoniou > wrote: > The correct way is to get cracking on the machine readable yaml based bindings > and enforce it through there. Machine readable bindings with enforcement would be enabling technology to solve a lot of different problems (both technica

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-15 Thread Pantelis Antoniou
Hi David, > On Jun 15, 2016, at 13:19 , David Gibson wrote: > > On Wed, Jun 15, 2016 at 12:34:00PM +0300, Pantelis Antoniou wrote: >> Hi David, >> >>> On Jun 15, 2016, at 06:14 , David Gibson >>> wrote: >>> >>> On Tue, Jun 14, 2016 at 12:22:23PM +0300, Pantelis Antoniou wrote: Hi David,

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-15 Thread David Gibson
On Wed, Jun 15, 2016 at 12:34:00PM +0300, Pantelis Antoniou wrote: > Hi David, > > > On Jun 15, 2016, at 06:14 , David Gibson > > wrote: > > > > On Tue, Jun 14, 2016 at 12:22:23PM +0300, Pantelis Antoniou wrote: > >> Hi David, > >>> On Jun 14, 2016, at 03:25 , David Gibson > >>> wrote: > >>>

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-15 Thread Pantelis Antoniou
Hi David, > On Jun 15, 2016, at 06:14 , David Gibson wrote: > > On Tue, Jun 14, 2016 at 12:22:23PM +0300, Pantelis Antoniou wrote: >> Hi David, >>> On Jun 14, 2016, at 03:25 , David Gibson >>> wrote: >>> On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: > [snip] > +static

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread David Gibson
On Tue, Jun 14, 2016 at 12:22:23PM +0300, Pantelis Antoniou wrote: > Hi David, > > On Jun 14, 2016, at 03:25 , David Gibson > > wrote: > > On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: [snip] > >>> +static int fdt_overlay_merge(void *dt, void *dto) > >>> +{ > >>> + int root,

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread Pantelis Antoniou
Hi David, > On Jun 14, 2016, at 03:25 , David Gibson wrote: > > On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: >> Hi Maxime, >> >>> On May 27, 2016, at 12:13 , Maxime Ripard >>> wrote: >>> >>> The device tree overlays are a good way to deal with user-modifyable >>> boards

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread David Gibson
On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: > Hi Maxime, > > > On May 27, 2016, at 12:13 , Maxime Ripard > > wrote: > > > > The device tree overlays are a good way to deal with user-modifyable > > boards or boards with some kind of an expansion mechanism where we can > >

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-13 Thread Maxime Ripard
Hi Pantelis, On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: > Hi Maxime, > > > On May 27, 2016, at 12:13 , Maxime Ripard > > wrote: > > > > The device tree overlays are a good way to deal with user-modifyable > > boards or boards with some kind of an expansion mechanism whe

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-10 Thread Pantelis Antoniou
Hi Maxime, > On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > The device tree overlays are a good way to deal with user-modifyable > boards or boards with some kind of an expansion mechanism where we can > easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). > > Add a n

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-09 Thread Stefan Agner
On 2016-05-27 02:13, Maxime Ripard wrote: > The device tree overlays are a good way to deal with user-modifyable > boards or boards with some kind of an expansion mechanism where we can > easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). > > Add a new function to merge overlay

[U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-05-27 Thread Maxime Ripard
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). Add a new function to merge overlays with a base device tree. Signed-off-by: Maxime Ri