[GIT PULL] ARM: OMAP: I2C: prepare to use hwmod reset in driver

Tony Lindgren tony at atomide.com
Fri Dec 16 15:41:23 EST 2011


* Paul Walmsley <paul at pwsan.com> [111216 11:45]:
> Hi
> 
> On Fri, 16 Dec 2011, Tony Lindgren wrote:
> 
> > * Paul Walmsley <paul at pwsan.com> [111216 01:24]:
> > > The following changes since commit dc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50:
> > > 
> > >   Linux 3.2-rc5 (2011-12-09 15:09:32 -0800)
> > > 
> > > are available in the git repository at:
> > >   git://git.pwsan.com/linux-2.6 i2c_reset_devel_3.3
> > > 
> > > Shubhrajyoti D (2):
> > >       ARM: OMAP: omap_device: add omap_device_reset to reset all the hwmods in the device
> > >       ARM: OMAP: I2C: Reset support
> > > 
> > >  arch/arm/plat-omap/i2c.c                      |    2 ++
> > >  arch/arm/plat-omap/include/plat/omap_device.h |    1 +
> > >  arch/arm/plat-omap/omap_device.c              |   22 ++++++++++++++++++++++
> > >  include/linux/i2c-omap.h                      |    1 +
> > >  4 files changed, 26 insertions(+), 0 deletions(-)
> > 
> > Can you please update shi to leave out the extra callback
> > function int (*device_reset) (struct device *dev) as I'd
> > rather see that happen with pm_runtime calls?
> 
> What PM runtime call is used to reset a device?

Hmm how about pm_runtime_disable? Or do we need a new
call for reset?

Tony



More information about the linux-arm-kernel mailing list