Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Benoit Cousson
+ more DT maintainers folks Hi all, I know this is mostly boring user space code, but I was expecting a little bit of comments about at least the bindings syntax:-( I'd like to know if this is the right direction and if it worth pursuing in that direction. The idea was to have at least som

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Rob Herring
On 10/01/2013 03:06 AM, Benoit Cousson wrote: > + more DT maintainers folks > > Hi all, > > I know this is mostly boring user space code, but I was expecting a > little bit of comments about at least the bindings syntax:-( > > I'd like to know if this is the right direction and if it worth pursu

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Benoit Cousson
Hi Rob, On 01/10/2013 15:17, Rob Herring wrote: On 10/01/2013 03:06 AM, Benoit Cousson wrote: + more DT maintainers folks Hi all, I know this is mostly boring user space code, but I was expecting a little bit of comments about at least the bindings syntax:-( I'd like to know if this is the r

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Jon Loeliger
> Hi Rob, > > On 01/10/2013 15:17, Rob Herring wrote: > > On 10/01/2013 03:06 AM, Benoit Cousson wrote: > >> + more DT maintainers folks > >> > >> Hi all, > >> > >> I know this is mostly boring user space code, but I was expecting a > >> little bit of comments about at least the bindings syntax:-(

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Rob Herring
On Tue, Oct 1, 2013 at 10:06 AM, Benoit Cousson wrote: > Hi Rob, > > > On 01/10/2013 15:17, Rob Herring wrote: >> >> On 10/01/2013 03:06 AM, Benoit Cousson wrote: >>> >>> + more DT maintainers folks >>> >>> Hi all, >>> >>> I know this is mostly boring user space code, but I was expecting a >>> lit

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-01 Thread Stephen Warren
On 09/24/2013 10:52 AM, Benoit Cousson wrote: > Hi All, > > Following the discussion that happened during LCE-2013 and the email > thread started by Tomasz few months ago [1], here is a first attempt > to introduce: > - a schema language to define the bindings accurately > - DTS validation during

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread David Gibson
On Tue, Oct 01, 2013 at 10:17:53AM -0500, Jon Loeliger wrote: > > Hi Rob, > > > > On 01/10/2013 15:17, Rob Herring wrote: > > > On 10/01/2013 03:06 AM, Benoit Cousson wrote: > > >> + more DT maintainers folks > > >> > > >> Hi all, > > >> > > >> I know this is mostly boring user space code, but I w

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread Benoit Cousson
Hi Jon, On 01/10/2013 17:17, Jon Loeliger wrote: Hi Rob, On 01/10/2013 15:17, Rob Herring wrote: On 10/01/2013 03:06 AM, Benoit Cousson wrote: + more DT maintainers folks Hi all, I know this is mostly boring user space code, but I was expecting a little bit of comments about at least the bi

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread Jon Loeliger
> > > > Benoit, > > > > Sorry, I meant to ask earlier but forgot. > > Shouldn't this development be based on the > > upstream DTC repository and not the in-kernel > > copy of the DTC? > > Eventually, yes, We should *start* there, though. > but here the main point is to discuss the schema that >

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread David Gibson
On Tue, Oct 01, 2013 at 03:54:20PM -0500, Rob Herring wrote: > On Tue, Oct 1, 2013 at 10:06 AM, Benoit Cousson wrote: > > Hi Rob, > > > > > > On 01/10/2013 15:17, Rob Herring wrote: > >> > >> On 10/01/2013 03:06 AM, Benoit Cousson wrote: > >>> > >>> + more DT maintainers folks > >>> > >>> Hi all,

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread David Gibson
On Tue, Oct 01, 2013 at 08:17:42AM -0500, Rob Herring wrote: > On 10/01/2013 03:06 AM, Benoit Cousson wrote: > > + more DT maintainers folks > > > > Hi all, > > > > I know this is mostly boring user space code, but I was expecting a > > little bit of comments about at least the bindings syntax:-(

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread David Gibson
On Tue, Oct 01, 2013 at 04:22:24PM -0600, Stephen Warren wrote: > On 09/24/2013 10:52 AM, Benoit Cousson wrote: > > Hi All, > > > > Following the discussion that happened during LCE-2013 and the email > > thread started by Tomasz few months ago [1], here is a first attempt > > to introduce: > > -

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread Mark Brown
On Wed, Oct 02, 2013 at 11:54:50PM +1000, David Gibson wrote: > On Tue, Oct 01, 2013 at 03:54:20PM -0500, Rob Herring wrote: > > I would expect the schema to replace > > Documentation/devicetree/bindings/* over time. I think the thing that > > needs to be worked out here is how to add free form mu

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread David Gibson
On Wed, Oct 02, 2013 at 07:08:41PM +0100, Mark Brown wrote: > On Wed, Oct 02, 2013 at 11:54:50PM +1000, David Gibson wrote: > > On Tue, Oct 01, 2013 at 03:54:20PM -0500, Rob Herring wrote: > > > > I would expect the schema to replace > > > Documentation/devicetree/bindings/* over time. I think the

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-02 Thread Benoit Cousson
On 02/10/2013 15:54, David Gibson wrote: On Tue, Oct 01, 2013 at 03:54:20PM -0500, Rob Herring wrote: On Tue, Oct 1, 2013 at 10:06 AM, Benoit Cousson wrote: Hi Rob, On 01/10/2013 15:17, Rob Herring wrote: On 10/01/2013 03:06 AM, Benoit Cousson wrote: + more DT maintainers folks Hi all,

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-03 Thread Benoit Cousson
Hi Stephen, On 02/10/2013 00:22, Stephen Warren wrote: On 09/24/2013 10:52 AM, Benoit Cousson wrote: Hi All, Following the discussion that happened during LCE-2013 and the email thread started by Tomasz few months ago [1], here is a first attempt to introduce: - a schema language to define the

Re: [RFC 00/15] Device Tree schemas and validation

2013-10-03 Thread Benoit Cousson
Hi David, On 02/10/2013 16:29, David Gibson wrote: On Tue, Oct 01, 2013 at 04:22:24PM -0600, Stephen Warren wrote: On 09/24/2013 10:52 AM, Benoit Cousson wrote: Hi All, Following the discussion that happened during LCE-2013 and the email thread started by Tomasz few months ago [1], here is a

RE: [RFC 00/15] Device Tree schemas and validation

2013-10-05 Thread Chaiken, Alison
Rob Herring in devicetree/msg06598.html > This is interesting approach using the dts syntax, Benoit Cousson in devicetree/msg06617.html > it has the big advantage of re-using the parser already included in DTC for > free. In term or readability, it avoids to re-defining a brand new syntax for > pe