Thread (29 messages) 29 messages, 4 authors, 2012-06-26

[PATCHv8 03/13] I2C: OMAP: Remove reset at init

From: tony@atomide.com (Tony Lindgren)
Date: 2012-06-21 07:20:00
Also in: linux-i2c, linux-omap

* Shubhrajyoti [off-list ref] [120621 00:08]:
On Wednesday 20 June 2012 03:59 PM, Tony Lindgren wrote:
quoted
See the comments regarding driver specific resets in hwmod code.
you mean omap_hwmod.c
quoted
The way to set this up is to have a shared inline function in
i2c-omap.h that both the driver and hwmod code can use.
hwmod reset function uses oh (omap_hwmod).

How could the driver also pass oh ?
Could we keep a local copy in driver data?
quoted
Eventually hwmod code will do the reset only in late initcall
if no driver is loaded for the device in question.
There's no need for the driver to know anything about oh.
The driver just needs to know the iobase.

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help