[PATCH RFC 1/7] platform: add a device node

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Feb 10 04:37:08 EST 2013


On Sun, Feb 10, 2013 at 02:49:21AM +0100, Javier Martinez Canillas wrote:
> I knew this would be controversial and that's why I didn't mean it to be a patch
> but a RFC :)
> 
> The problem basically is that you have to associate the platform device with its
> corresponding DT device node because it can be used in the driver probe function.

When DT is being used, doesn't DT create the platform devices for you,
with the device node already set correctly?

Manually creating platform devices and adding DT nodes to it sounds like
the wrong thing to be doing.



More information about the linux-arm-kernel mailing list