On Wednesday 24 August 2011, Jamie Iles wrote: > On Wed, Aug 24, 2011 at 04:45:16PM +0200, Arnd Bergmann wrote: > > When go go to such length, I think the approach I initially advocated > > (making 8250_dw a standalone platform_driver like of_serial) will be > > nicer. > > For a separate driver, is it okay to make it depend on CONFIG_OF, and > only have device tree bindings, or should this still support being > registered as a static platform device with platform data? I'm not sure > what the consensus is on creating device tree only platform drivers. Do only what is necessary. If the devices are all probed using device tree, then support only that. If someone else really needs static platform_data instead, they can add support for that later. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html