[PATCH 0/8] Implement a new DTS Source Language

Kumar Gala galak at kernel.crashing.org
Wed Sep 24 12:34:38 EST 2008


On Sep 23, 2008, at 2:04 PM, Jon Loeliger wrote:

> This series of patches enhances the DTS source language to
> support a fullly interpreted language for generating nodes
> and properties.  It is backward compatible with V1 sources.
>
> The main features implemented by this patch set support
> function definitions, 'if', 'for', 'return' and assignment
> statements.  Local variables, global constants and
> almost complete C-like expressions are also supported.
>
> Enhancements to the source position and error/warning
> reporting now support source column positions too.
>
> Jon Loeliger (8):
>  Remove support for the legacy DTS source file format.
>  Add conditionalized debug() print macro.
>  Enhance source position implementation.
>  Add header files for new Internal Representation form.
>  Add most of the new IR implementation files.
>  Add the main IR evaluation implementation
>  Introduce new DTS language.
>  Add documentation for the new DTS language.

Any examples/tests of all the cool new features?

- k



More information about the devicetree-discuss mailing list