[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50749441.8030307@wwwdotorg.org>
Date: Tue, 09 Oct 2012 15:16:49 -0600
From: Stephen Warren <swarren@...dotorg.org>
To: Jon Loeliger <jdl@....com>
CC: Rob Herring <robherring2@...il.com>, Michal Marek <mmarek@...e.cz>,
David Gibson <david@...son.dropbear.id.au>,
devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Stephen Warren <swarren@...dia.com>
Subject: Re: dtc: import latest upstream dtc
On 10/01/2012 12:39 PM, Jon Loeliger wrote:
>>
>> What more do you think needs discussion re: dtc+cpp?
>
> How not to abuse the ever-loving shit out of it? :-)
Perhaps we can just handle this through the regular patch review
process; I think it may be difficult to define and agree upon exactly
what "abuse" means ahead of time, but it's probably going to be easy
enough to recognize it when one sees it?
I imagine the most common usage will simply be a bunch of:
#define TEGRA_GPIO_PB0 32
#define TEGRA_GPIO_INT_LEVEL_LOW 8
/ {
xxx {
interrupts = <TEGRA_GPIO_PB0 TEGRA_GPIO_INT_LEVEL_LOW>;
and similarly, simple math:
something = <((FOO << XXX_SHIFT) | (BAR << YYY_SHIFT))>;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists