[PATCH v2 REPOST] dtc: Add support for named integer constants

David VomLehn (dvomlehn) dvomlehn at cisco.com
Thu Jan 12 09:10:52 EST 2012


Even if everyone can't make it, how about a BoF session at ELC 2012? I
haven't had any time to contribute recently, but am tremendously
interested in moving this forward.

> -----Original Message-----
> From: devicetree-discuss-bounces+dvomlehn=cisco.com at lists.ozlabs.org
>
[mailto:devicetree-discuss-bounces+dvomlehn=cisco.com at lists.ozlabs.org]
> On Behalf Of Jon Loeliger
> Sent: Wednesday, January 11, 2012 6:38 AM
> To: David Gibson
> Cc: Devicetree Discuss
> Subject: Re: [PATCH v2 REPOST] dtc: Add support for named integer
> constants
> 
> > On Tue, Jan 10, 2012 at 01:54:30PM -0800, Stephen Warren wrote:
> > > John, David,
> > >
> > > What can we do to reach consensus on expanding dtc to handle named
> > > constants, or in general any future direction to extend the syntax
> with
> > > expressions etc.?
> >
> > Hrm, so, I'm not at all keen to add a named constant syntax without
> at
> > least having an outline of what a future macro/function syntax would
> > look like.
> 
> Which is where I thought it was left earlier...? :-)
> And it's not just what the macro/function syntax will look like,
> but also how these will play into a more generalized expression
> handling mechanism.  Defining something one-off now that doesn't
> fit well into a long term plan is less than ideal.
> 
> Yes, I know that is tantamount to requiring the whole, larger
> picture be solved first.  But Dave is right -- at least an outline
> of the direction.  Seriously, the lexical problems can form some
> of the nastiest gotchas if we're not careful from the onset.
> 
> > The latter is almost certain to permit the former as a subcase, and
> > I'd really rather not end up with two different syntaxes for
> > constants.
> 
> Exactly.
> 
> > Unfortunately, much as I'd like to get all these extended features
> > into dtc,
> 
> Agreed....
> 
> > > Will either of you be attending Linaro Connect or ELC 2012 in
> February
> > > by any chance? We could get together and talk this through in
> person if
> > > you are...
> >
> > Not for me, I'm afraid.
> 
> Only if they are in Austin. :-)  Which is to say "Sorry, no."
> 
> jdl
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss


More information about the devicetree-discuss mailing list