[PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

Ezequiel Garcia elezegarcia at gmail.com
Wed Mar 6 06:58:45 EST 2013


Jon,

On Tue, Mar 5, 2013 at 6:34 PM, Jon Hunter <jon-hunter at ti.com> wrote:
>
> By the way, with this version you should remove "simple-bus" from your
> gpmc node compatible strings. I now call of_platform_device_create() to
> create the child device during the GPMC probe. I think that this is a
> safer approach.
>

FWIW, using of_platform_device_create() works for my driver.
It seems as simple as using a compatible 'simple-bus',
with the advantage that it allows to create and probe the
child device from its parent.

I'll submit this driver by the end of this week, in case you want
to take a look at it.

Thanks a lot,
-- 
    Ezequiel



More information about the linux-arm-kernel mailing list