linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 0/3] ARM: use C pre-processor with dtc
Date: Tue, 25 Sep 2012 21:05:28 +0100	[thread overview]
Message-ID: <20120925200528.GK4428@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1348603151.5565.20@snotra>

On Tue, Sep 25, 2012 at 02:59:11PM -0500, Scott Wood wrote:
> On 09/25/2012 02:51:27 PM, Mark Brown wrote:

> >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.

> Wasn't there a patch for named constant support in dtc a while back?
> Hmm: https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-January/011184.html

> I'm not sure that going down the CPP path is better than the
> possibility of named constants having a different syntax from
> macros/functions.  It would be one thing if someone were actively
> working on the latter, but this paralysis seems to be a case of the
> perfect being the enemy of the good.

I don't know, it doesn't appear to have been integrated (and we still
need to be able to or things together).

  reply	other threads:[~2012-09-25 20:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 19:06 [RFC PATCH 0/3] ARM: use C pre-processor with dtc Stephen Warren
2012-09-25 19:06 ` [RFC PATCH 1/3] kbuild: introduce cmd_dtc_cpp Stephen Warren
2012-09-27  5:44   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-27 15:39     ` Stephen Warren
2012-09-27 17:40       ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-25 19:06 ` [RFC PATCH 2/3] ARM: use cmd_dtc_cpp for compilation of *.dts-cpp to *.dtb Stephen Warren
2012-09-27  5:47   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-27 15:40     ` Stephen Warren
2012-09-25 19:06 ` [RFC PATCH 3/3] ARM: tegra: compile all DT files with cpp Stephen Warren
2012-09-25 19:35 ` [RFC PATCH 0/3] ARM: use C pre-processor with dtc Scott Wood
2012-09-25 19:51   ` Mark Brown
2012-09-25 19:59     ` Scott Wood
2012-09-25 20:05       ` Mark Brown [this message]
2012-09-25 20:05       ` Stephen Warren
2012-09-25 19:51   ` Stephen Warren
2012-09-25 23:46     ` Tony Lindgren
2012-09-27  5:40 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-27 15:38   ` Stephen Warren
2012-09-27 17:27     ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120925200528.GK4428@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).