[PATCH v4 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-15 Thread Omar Ramirez Luna
From: Felipe Contreras Remove static platform_device and resource data within omap mailbox driver; use the one defined in the hwmod database along with omap_device framework for device build and registration. Add device latency functions to be used, so clock can be enabled and sysconfig is confi

Re: [PATCH v4 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-16 Thread Varadarajan, Charulatha
couple of comments. On Thu, Dec 16, 2010 at 12:17, Omar Ramirez Luna wrote: > From: Felipe Contreras > > Remove static platform_device and resource data within > omap mailbox driver; use the one defined in the hwmod > database along with omap_device framework for device > build and registration.

Re: [PATCH v4 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-16 Thread Russell King - ARM Linux
On Thu, Dec 16, 2010 at 02:08:11PM +0530, Varadarajan, Charulatha wrote: > > +       oh = omap_hwmod_lookup("mailbox"); > > +       if (!oh) { > > +               pr_err("%s: unable to find hwmod\n", __func__); > > +               return; > > +       } > > + > > +       od = omap_device_build("omap

Re: [PATCH v4 4/5] OMAP: mailbox: build device using omap_device/omap_hwmod

2010-12-16 Thread Ramirez Luna, Omar
On Thu, Dec 16, 2010 at 2:44 AM, Russell King - ARM Linux wrote: > On Thu, Dec 16, 2010 at 02:08:11PM +0530, Varadarajan, Charulatha wrote: >> > +       oh = omap_hwmod_lookup("mailbox"); >> > +       if (!oh) { >> > +               pr_err("%s: unable to find hwmod\n", __func__); >> > +