public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] omap_wdt: fix interface clock handling
@ 2011-03-08 13:06 Kalle Jokiniemi
  2011-03-08 13:06 ` [PATCH 1/2] Revert "OMAP: WDT: Use PM runtime APIs instead of clk FW APIs" Kalle Jokiniemi
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Kalle Jokiniemi @ 2011-03-08 13:06 UTC (permalink / raw)
  To: linux-omap, khilman, tony; +Cc: ilkka.koskinen, wim, Kalle Jokiniemi

The runtime PM does not offer enough granularity to control
individual clocks separately as needed. Current pm implementation
of omap_wdt blocks the CORE power domain from idling in
OMAP SoC, as it keeps the interface clock of the watchdog always
on. This causes severe power leakage in devices where 
the omap watchdog is in active use.

This patch set reverts the omap_wdt move to runtime_pm and
introduces a tight control of the interface clock in the driver
to only enable it when registers are accessed. The patch is
based on earlier patch by Atal Shargorodsky.

If anyone has good suggestions how to fix this with runtime_pm,
feel free to propose patches. Otherwise I suggest we revert
back to something that works.

Tested with RX-51 S4.0 Macroboard, linux-omap-pm/pm branch and
MeeGo armv7l release.

Kalle Jokiniemi (2):
  Revert "OMAP: WDT: Use PM runtime APIs instead of clk FW APIs"
  Watchdog: omap_wdt: fix interface clock handling

 drivers/watchdog/omap_wdt.c |   64 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 55 insertions(+), 9 deletions(-)


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

end of thread, other threads:[~2011-03-10  8:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 13:06 [PATCH 0/2] omap_wdt: fix interface clock handling Kalle Jokiniemi
2011-03-08 13:06 ` [PATCH 1/2] Revert "OMAP: WDT: Use PM runtime APIs instead of clk FW APIs" Kalle Jokiniemi
2011-03-08 13:06 ` [PATCH 2/2] Watchdog: omap_wdt: fix interface clock handling Kalle Jokiniemi
2011-03-08 23:04   ` Paul Walmsley
2011-03-08 17:08 ` [PATCH 0/2] " Kevin Hilman
2011-03-08 23:01   ` Paul Walmsley
2011-03-08 23:10     ` Paul Walmsley
2011-03-09  9:02       ` kalle.jokiniemi
2011-03-09 10:02         ` Cousson, Benoit
2011-03-09 10:40           ` kalle.jokiniemi
2011-03-09 11:33           ` kalle.jokiniemi
2011-03-09 14:06           ` kalle.jokiniemi
2011-03-10  8:20           ` kalle.jokiniemi
2011-03-09  6:35     ` kalle.jokiniemi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox