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

2011-09-29 Thread Grant Likely
On Wed, Sep 28, 2011 at 10:47:32AM -0700, Kevin Hilman wrote: Cousson, Benoit b-cous...@ti.com writes: Hi Grant, Kevin, Should I go ahead with this version and repost the series with that third patch? Fine with me. Grant let me know if you prefer if I merge it (with your ack) with

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

2011-09-29 Thread Kevin Hilman
Grant Likely grant.lik...@secretlab.ca writes: On Wed, Sep 28, 2011 at 10:47:32AM -0700, Kevin Hilman wrote: Cousson, Benoit b-cous...@ti.com writes: Hi Grant, Kevin, Should I go ahead with this version and repost the series with that third patch? Fine with me. Grant let me know

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

2011-09-28 Thread Cousson, Benoit
Hi Grant, Kevin, Should I go ahead with this version and repost the series with that third patch? Thanks, Benoit On 9/27/2011 6:04 PM, Cousson, Benoit wrote: [...] From 4403f8a00090e5ea1814a5242947b81c348947a1 Mon Sep 17 00:00:00 2001 From: Benoit Coussonb-cous...@ti.com Date: Tue, 27

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

2011-09-28 Thread Kevin Hilman
Cousson, Benoit b-cous...@ti.com writes: Hi Grant, Kevin, Should I go ahead with this version and repost the series with that third patch? Fine with me. Grant let me know if you prefer if I merge it (with your ack) with the rest of the series or if you want to take it to avoid conflicts.

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

2011-09-27 Thread Cousson, Benoit
On 9/27/2011 3:46 AM, Grant Likely wrote: On Thu, Sep 22, 2011 at 10:52:25PM +0200, Benoit Cousson wrote: [...] +Required properties: +- compatible: Every devices present in OMAP SoC should be in the + form: ti,XXX +- ti,hwmods: list of hwmods attached to a device. Must contain at least +

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

2011-09-26 Thread Grant Likely
On Thu, Sep 22, 2011 at 10:52:25PM +0200, Benoit Cousson wrote: Add a notifier called during device_add phase. If an of_node is present, retrieve the hwmod entry in order to populate properly the omap_device structure. For the moment the resource from the device-tree are overloaded. DT does

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

2011-09-22 Thread Benoit Cousson
Add a notifier called during device_add phase. If an of_node is present, retrieve the hwmod entry in order to populate properly 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