An alternative device-tree source language
An alternative device-tree source language
Posted Aug 10, 2017 9:23 UTC (Thu) by grawity (subscriber, #80596)Parent article: An alternative device-tree source language
If there was a "dts2yaml" tool, wouldn't that improve the situation a bit without requiring to officially add a new format? Validators could just as easily read from a pipe.
Posted Aug 10, 2017 11:17 UTC (Thu)
by pantoniou (subscriber, #85257)
[Link]
Now this converts the generated output file, it does not do anything about the sources.
Since DTS input is preprocessed and DTC throws away type information while parsing it is hard to do an accurate translation.
Manual inspection will be needed.
An alternative device-tree source language
Source files are not particularly complicated though, so someone might write a tool that works on a source level and gets most of it right.
