| Subject | Re: [RFC] [PATCH] Device Tree on ARM platform | From | Benjamin Herrenschmidt <> | Date | Thu, 28 May 2009 17:38:41 +1000 |
| |
On Wed, 2009-05-27 at 14:08 -0500, Scott Wood wrote: > But to restate, having external glue to create platform devices from the > device tree is fine if that's what you want to do. We used to do that, > but it was a pain compared to keeping everything in one place. Your > experience may differ.
This is a non-solved debate as to what is best. If an existing driver already has fairly complete platform_device support, it might be best to just create a glue that fills up the data structure from the DT...
In any case, all the approaches are possible, the DT stuff doesn't corner you into a specific one.
Cheers, Ben.
|