Re: [PATCH] mach-ux500: add devicetree compat nodes
From: Rob Herring <hidden>
Date: 2011-11-11 16:38:17
Also in:
linux-arm-kernel
On 11/11/2011 10:26 AM, Linus Walleij wrote:
On Fri, Nov 11, 2011 at 5:13 PM, Rob Herring [off-list ref] wrote:quoted
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.
I would not hold off. You only need to have a minimal set that's enough to boot.
Is this what everybody else does?
That was the the consensus in Budapest in May. It's much cleaner to start with a new board file and then ultimately just delete the old ones. But it's really up to the board/SOC maintainer. Rob
Thanks, Linus Walleij