Thread (89 messages) flat view 89 messages, 5 authors, 2011-10-25

[PATCH v2 3/5] regulator: helper routine to extract regulator_init_data

From: tony@atomide.com (Tony Lindgren)
Date: 2011-10-20 17:05:40
Also in: linux-devicetree, linux-omap, lkml

* Mark Brown [off-list ref] [111020 09:05]:
On Thu, Oct 20, 2011 at 09:27:43AM -0700, Tony Lindgren wrote:
quoted
* Mark Brown [off-list ref] [111020 02:07]:
quoted
quoted
We can always start off just completely omitting the data and then see
how we go from there.  If we only cover 50% of users that's still 50%
more than are currently covered with device tree right now and it means
we can then spin round and look at the bits that are hard again without
review fatigue on the bits that are easy.
quoted
We still need to pass the board configuration somehow, otherwise we can
never remove all the platform data glue layers. And if we can't do that,
we'll forever have all the nasty merge conflicts when adding new drivers.
And there's an unnecessary dependency between adding drivers and the
core SoC code.
The current patches cover the overwhelming majority of the existing
board configuration - the stuff that's Linux specific is also relatively
rarely used in actual systems.  For example all the board I work with
regularly would be perfectly happy with the generic stuff - the Linux
specific stuff is relatively rarely used.
Right, but in addition the board specific integration variables still
need to be passed somehow to the driver.

That's where a DT entry specific configuration string might be the best
option as it still allows describing the hardware using DT standards,
while also allowing board specific configuration too.

The issue there is then how do we keep these options from getting out
of control..

BTW, of course this issue is generic to all drivers, not specific to
this patchset. With this patchset leaving out the non-standard entries
is the right way to go to so we can merge it.

Cheers,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help