Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-11-09 Thread Kevin Hilman
Ben Dooks writes: > On Thu, Oct 07, 2010 at 10:37:03AM -0700, Kevin Hilman wrote: >> Ben Dooks writes: >> >> [...] >> >> > As such, I should really go and read up all about this new runtime-pm >> > and hwmod stuff before further commentign on the changes. >> >> ping >> >> >From the drivers p

Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-10-27 Thread Ben Dooks
On Thu, Oct 07, 2010 at 10:37:03AM -0700, Kevin Hilman wrote: > Ben Dooks writes: > > [...] > > > As such, I should really go and read up all about this new runtime-pm > > and hwmod stuff before further commentign on the changes. > > ping > > >From the drivers perspective, you don't neet to kn

Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-10-07 Thread Kevin Hilman
Ben Dooks writes: [...] > As such, I should really go and read up all about this new runtime-pm > and hwmod stuff before further commentign on the changes. ping >From the drivers perspective, you don't neet to know anything about omap_hwmod. You can think of this change as simply using the ru

RE: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-28 Thread Nayak, Rajendra
ger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime > api's > > On Tue, Sep 28, 2010 at 12:29:01PM +0530, Nayak, Rajendra wrote: > > ... > > > > > > > > > > sta

Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-28 Thread Ben Dooks
On Tue, Sep 28, 2010 at 12:29:01PM +0530, Nayak, Rajendra wrote: > ... > > > > > > > > static int omap_i2c_init(struct omap_i2c_dev *dev) > > > > @@ -356,6 +333,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev) > > > > unsigned long fclk_rate = 1200; > > > > unsigned long

RE: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-28 Thread Nayak, Rajendra
fr.org; linux- > o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime > api's > > On Tue, Sep 28, 2010 at 12:29:01PM +0530, Nayak, Rajendra wrote: > > ... > > > > > &

Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-28 Thread Russell King - ARM Linux
On Tue, Sep 28, 2010 at 12:29:01PM +0530, Nayak, Rajendra wrote: > ... > > > > > > > > static int omap_i2c_init(struct omap_i2c_dev *dev) > > > > @@ -356,6 +333,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev) > > > > unsigned long fclk_rate = 1200; > > > > unsigned long

RE: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-27 Thread Nayak, Rajendra
... > > > > > > static int omap_i2c_init(struct omap_i2c_dev *dev) > > > @@ -356,6 +333,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev) > > > unsigned long fclk_rate = 1200; > > > unsigned long timeout; > > > unsigned long internal_clk = 0; > > > + struct clk *fclk; > > > > > >

RE: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-27 Thread Nayak, Rajendra
.@linux-fr.org; Kevin Hilman; Paul Walmsley > Subject: Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime > api's > > On Tue, Sep 21, 2010 at 07:37:16PM +0530, Rajendra Nayak wrote: > > This patch converts the i2c driver to use PM runtime apis > > >

Re: [PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-27 Thread Ben Dooks
On Tue, Sep 21, 2010 at 07:37:16PM +0530, Rajendra Nayak wrote: > This patch converts the i2c driver to use PM runtime apis > > Signed-off-by: Rajendra Nayak > Cc: Kevin Hilman > Cc: Paul Walmsley > --- > drivers/i2c/busses/i2c-omap.c | 67 > + > 1 fi

[PATCH v3 5/5] OMAP: I2C: Convert i2c driver to use PM runtime api's

2010-09-21 Thread Rajendra Nayak
This patch converts the i2c driver to use PM runtime apis Signed-off-by: Rajendra Nayak Cc: Kevin Hilman Cc: Paul Walmsley --- drivers/i2c/busses/i2c-omap.c | 67 + 1 files changed, 21 insertions(+), 46 deletions(-) diff --git a/drivers/i2c/busses/i2c