public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with DSS clocks & accessing registers
@ 2011-03-07  8:22 Tomi Valkeinen
  2011-03-07 13:51 ` Cousson, Benoit
  0 siblings, 1 reply; 7+ messages in thread
From: Tomi Valkeinen @ 2011-03-07  8:22 UTC (permalink / raw)
  To: Paul Walmsley, Hilman, Kevin; +Cc: linux-omap, Taneja, Archit, Semwal, Sumit

Hi Kevin, Paul,

We currently have a small problem with OMAP4 DSS. When we enable the DSS
clocks, it seems that the DSS registers are not always accessible right
after the clock enable.

I understood that on OMAP4 the clock framework doesn't guarantee that
the registers are accessible after enabling clocks, and pm_runtime will
handle this. Is this correct?

I have made a small hack fix for this. I added udelay(10) in the DSS
code which enables the clocks and this seem to remove the problem. The
delay is only called when DSS thinks the clocks have been off, so in
practice the delay shouldn't be visible. Is this fix acceptable for now,
until we get pm_runtime support to DSS? 

 Tomi



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-07  8:22 Problem with DSS clocks & accessing registers Tomi Valkeinen
2011-03-07 13:51 ` Cousson, Benoit
2011-03-07 14:05   ` Santosh Shilimkar
2011-03-07 14:52     ` Cousson, Benoit
2011-03-07 15:03   ` Tomi Valkeinen
2011-03-08 10:22     ` Cousson, Benoit
2011-03-10 15:07       ` Paul Walmsley

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