All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] OMAP: McBSP not working if CONFIG_PM_RUNTIME not set
@ 2011-06-07 19:18 Janusz Krzysztofik
  2011-06-07 21:17 ` Kevin Hilman
  2011-06-07 21:17 ` Kevin Hilman
  0 siblings, 2 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2011-06-07 19:18 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org; +Cc: linux-pm

Hi,

While solving this problem:
http://www.spinics.net/lists/linux-omap/msg52011.html,
I found that since commit e95496d4acadd0b72c4947be61e8d44700fdaae7, 
"OMAP: McBSP: Add pm runtime support", McBSP ports, or at least McBSP1 
on my Amstrad Delta, no longer work when CONFIG_PM_RUNTIME is not set. 
Even if I don't use such setup and always select CONFIG_PM_RUNTIME, I 
think current behaviour is wrong and should be corrected.

Before I come out with a patch, please advise if and how you think this 
should be solved. Should CONFIG_OMAP_MCBSP depend on CONFIG_PM_RUNTIME?
Or should it select CONFIG_PM_RUNTIME? Or maybe an old code which 
manipulated clocks directly should be restored for no CONFIG_PM_RUNTIME 
case? Or should arch/arm/mach-omap1/pm_bus.c be always built in and 
pm_runtime_clk_add_notifier() called from there in order to enable 
clocks on device initialization even if CONFIG_PM_RUNTIME is not set? Or 
still a better solution?

Thanks,
Janusz

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [RFC] OMAP: McBSP not working if CONFIG_PM_RUNTIME not set
@ 2011-06-07 19:18 Janusz Krzysztofik
  0 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2011-06-07 19:18 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org; +Cc: linux-pm

Hi,

While solving this problem:
http://www.spinics.net/lists/linux-omap/msg52011.html,
I found that since commit e95496d4acadd0b72c4947be61e8d44700fdaae7, 
"OMAP: McBSP: Add pm runtime support", McBSP ports, or at least McBSP1 
on my Amstrad Delta, no longer work when CONFIG_PM_RUNTIME is not set. 
Even if I don't use such setup and always select CONFIG_PM_RUNTIME, I 
think current behaviour is wrong and should be corrected.

Before I come out with a patch, please advise if and how you think this 
should be solved. Should CONFIG_OMAP_MCBSP depend on CONFIG_PM_RUNTIME?
Or should it select CONFIG_PM_RUNTIME? Or maybe an old code which 
manipulated clocks directly should be restored for no CONFIG_PM_RUNTIME 
case? Or should arch/arm/mach-omap1/pm_bus.c be always built in and 
pm_runtime_clk_add_notifier() called from there in order to enable 
clocks on device initialization even if CONFIG_PM_RUNTIME is not set? Or 
still a better solution?

Thanks,
Janusz

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

end of thread, other threads:[~2011-06-07 23:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 19:18 [RFC] OMAP: McBSP not working if CONFIG_PM_RUNTIME not set Janusz Krzysztofik
2011-06-07 21:17 ` Kevin Hilman
2011-06-07 21:17 ` Kevin Hilman
2011-06-07 22:16   ` Janusz Krzysztofik
2011-06-07 22:16   ` Janusz Krzysztofik
2011-06-07 23:48     ` Kevin Hilman
2011-06-07 23:48     ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2011-06-07 19:18 Janusz Krzysztofik

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.