Re: [RFC PATCH 3/3] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-09-02 Thread Cousson, Benoit
On 9/2/2011 1:40 AM, Hilman, Kevin wrote: Benoit Coussonb-cous...@ti.com writes: Add a notifier called during device_add phase. If a of_node is present, retrieve the hwmod entry in order to populate propely the omap_device structure. For the moment the resource from the device-tree are

Re: [RFC PATCH 3/3] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-09-01 Thread Kevin Hilman
Benoit Cousson b-cous...@ti.com writes: Add a notifier called during device_add phase. If a of_node is present, retrieve the hwmod entry in order to populate propely the omap_device structure. For the moment the resource from the device-tree are overloaded. DT does not support named resource

Re: [RFC PATCH 3/3] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-08-30 Thread Cousson, Benoit
Kevin, Some self-review... On 8/22/2011 8:22 PM, Cousson, Benoit wrote: Add a notifier called during device_add phase. If a of_node is present, retrieve the hwmod entry in order to populate propely the omap_device typo structure. For the moment the resource from the device-tree are

[RFC PATCH 3/3] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-08-22 Thread Benoit Cousson
Add a notifier called during device_add phase. If a of_node is present, retrieve the hwmod entry in order to populate propely the omap_device structure. For the moment the resource from the device-tree are overloaded. DT does not support named resource yet, and thus, most driver will not work