All of lore.kernel.org
 help / color / mirror / Atom feed
* Query: EHCI clock management approach
@ 2009-10-08  1:21 Gadiyar, Anand
  2009-10-08 23:32 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Gadiyar, Anand @ 2009-10-08  1:21 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org, Paul Walmsley, Kevin Hilman

Hi all,

I'd like to post a patch in a couple of days to refactor the EHCI clock
management code. This would be useful to do aggressive clock
management in the idle path.

A current implementation I have is to simply factor out the clock_enable/disable
calls out. Does it make sense to move this out to mach-omap2/* and provide
the function pointer through platform data? Does the driver need to be aware
of the clocks that it needs, or is it sufficient for it to just call a platform-specific
function that turns on/off all the clocks needed by the driver?

The reason I ask is, in a future OMAP, we may need to enable a different set of
clocks, but we should be able to re-use the rest of the code directly.


- Anand

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-08 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08  1:21 Query: EHCI clock management approach Gadiyar, Anand
2009-10-08 23:32 ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.