DTS language enhancements
Jon Loeliger
jdl at freescale.com
Sat Oct 4 00:07:53 EST 2008
Kumar Gala wrote:
>> e.g. /merge/({foo = "abc";}, {bar = <17>;}) == {foo = "abc"; bar=<17>;}
>> (this would recurse down subnodes with identical names)
>> - get subnode
>> e.g. /getnode/({ subnode { foo = "bar"; }; }, "subnode") ==
>> { foo = "bar"; }
>> - get property (result of this is a bytestring, not a
>> node-content expression)
>> e.g. /getprop/({ foo = "bar"; }, "foo") = "bar"
>
> This is very interesting and seems to address some functionality I've
> talked to Jon about us needing to modify and update nodes.
>
> - k
And Kumar, to be fair finish our conversation some more:
I *agreed* that we should get to that level of functionality as well,
and even said we'd work towards having it over time. But, that we
wanted to make a first step towards a framework with something usable.
Feh.
I am *not* the bad-guy here. For 3 years folks have been saying
"We need _something_...." and for three years no one did jack shit.
In the Open Source development world, the motto right behing
"post early, post often" is most assuredly "Show me the code".
Well, talk is cheap and proposing a vacuous and arguable something
has always been just that -- arguable. So I am showing you the code
and giving you something to shoot at.
It's more than anyone else has done on this front.
jdl
More information about the devicetree-discuss
mailing list