From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Paul Walmsley <paul@pwsan.com>, "Hilman, Kevin" <khilman@ti.com>
Cc: linux-omap <linux-omap@vger.kernel.org>,
"Taneja, Archit" <archit@ti.com>,
"Semwal, Sumit" <sumit.semwal@ti.com>
Subject: Problem with DSS clocks & accessing registers
Date: Mon, 7 Mar 2011 10:22:29 +0200 [thread overview]
Message-ID: <1299486149.2281.77.camel@deskari> (raw)
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
next reply other threads:[~2011-03-07 8:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 8:22 Tomi Valkeinen [this message]
2011-03-07 13:51 ` Problem with DSS clocks & accessing registers 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299486149.2281.77.camel@deskari \
--to=tomi.valkeinen@ti.com \
--cc=archit@ti.com \
--cc=khilman@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=sumit.semwal@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox