On Mon, Jan 7, 2013 at 3:59 PM, Rob Herring <[email protected]> wrote:

> You could make the platform code create the platform device in the DT
> case as well. Not all platform devices have to come from a DT node and
> putting virtual devices in DT is wrong.

For the ux500 cpufreq we do exactly this.

When the PRCMU probes in drivers/mfd/db8500-prcmu.c it spawns
a db8500-cpufreq MFD child, and the db8500-cpufreq driver then
probes as a platform device.

Yours,
Linus Walleij
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to