[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120603120506.GG4258@opensource.wolfsonmicro.com>
Date: Sun, 3 Jun 2012 13:05:06 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Rob Herring <robherring2@...il.com>
Cc: Olof Johansson <olof@...om.net>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
devicetree-discuss@...ts.ozlabs.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Rob Herring <rob.herring@...xeda.com>,
Laxman Dewangan <ldewangan@...dia.com>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>
Subject: Re: [PATCH 2/2] ARM: dt: tegra: cardhu: register core regulator
tps65911
On Sat, Jun 02, 2012 at 09:45:10PM -0500, Rob Herring wrote:
> I tend to agree with Steven's and Olof's comments in this thread. As the
> node names generally don't have much meaning, I don't think we should
> start now. We've already got multiple styles of bindings and I don't
> think we need more.
Well, if we're going to go with an existing idiom the normal thing would
be an ordered array which is absolutely abysmal from a usability
standpoint. Compatible properties don't work as the whole reason we
have an issue here is that people want to have a single node
representing a group of regulators - for regulators which we can add a
compatible property to we're already doing that and have no issue.
What device tree seems to need rather badly is a way of representing
key/value pairs - aside from the legacy bindings that seems to be the
major source of pain when trying to contort things into DT.
Using the "regulator" string that we have to put in the binding (which
is currently totally meaningless) does seem like a good way forward
here.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists