On Fri, Nov 11, 2011 at 5:13 PM, Rob Herring [off-list ref] wrote:
On 11/11/2011 09:59 AM, Linus Walleij wrote:
quoted
So - different .init_machine() calls, needed to simplify the board
files as of now. (Patch from Lee Jones.)
But ultimately I would expect that the init_machine calls to be the same
with a DT based machine. This goes back to do we add DT to existing
boards or create a new clean DT machine and add to it as boards are
converted?
Yes that should be the ultimate goal. So the current per-board
init functions register the I2C, MMC (SDI), SPI, UART and
regulator devices etc. So then these drivers need to be patched to
get their board/platform data from DT first.
In that case we should hold this patch off and only keep it for
internal testing until all necessary drivers are ready and patched
so we can replace all board files with a single DT-based one,
instead of this compromise solution.
Is this what everybody else does?
Thanks,
Linus Walleij