[PATCH v3 4/4] mmc: sdhci-esdhc-imx: add device tree probe support

Anton Vorontsov cbouatmailru at gmail.com
Thu Jul 14 02:28:12 EST 2011


On Wed, Jul 13, 2011 at 11:09:40AM -0500, Scott Wood wrote:
[...]
> > - You can't automatically convert named resources into 'struct
> >   resource *', as we do for platform devices now;
> 
> So add named resource support to platform devices. :-)

There are surely no technical difficulties, it's more about 'type
safety', and as a consequence -- resources being discoverable.

If we want to use named resources, I think we should explicitly reserve
the *-{regs,interrupts,gpios} suffixes for such purposes. And once such
a reservation is done, we're safe again -- resources become discoverable.

Thanks,

-- 
Anton Vorontsov
Email: cbouatmailru at gmail.com


More information about the devicetree-discuss mailing list