[RFC PATCH 0/3] ARM: use C pre-processor with dtc

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Sep 25 15:51:27 EDT 2012


On Tue, Sep 25, 2012 at 02:35:46PM -0500, Scott Wood wrote:

> Do you have an example of where you'd actually benefit from this?
> I'd think most things could either be done reasonably well with
> what's built into DTC (see what we've done in
> arch/powerpc/boot/dts/fsl), or would need math expression support in
> DTC (or has that been added?).

The constant example is the magic numbers we need to embed into DTs for
things like interrupt modes, making them human readable would be a real
win.



More information about the linux-arm-kernel mailing list