From: Paul Walmsley <paul@pwsan.com>
To: Roger Quadros <rogerq@ti.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>,
Lee Jones <lee.jones@linaro.org>,
sameo@linux.intel.com, tomi.valkeinen@ti.com,
Felipe Balbi <balbi@ti.com>, Stefan Roese <sr@denx.de>,
ljkenny.mailinglists@gmail.com,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
USB list <linux-usb@vger.kernel.org>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Benoit Cousson <bcousson@baylibre.com>,
"tony@atomide.com" <tony@atomide.com>
Subject: Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda
Date: Mon, 2 Dec 2013 15:00:03 +0000 (UTC) [thread overview]
Message-ID: <alpine.DEB.2.02.1312021444530.18363@utopia.booyaka.com> (raw)
In-Reply-To: <529C5537.3080300@ti.com>
On Mon, 2 Dec 2013, Roger Quadros wrote:
> It won't be done by omap_hwmod as we set HWMOD_INIT_NO_RESET flag in the
> hwmod data [1].
>
> Question is do we do it in the driver of leave it to hwmod?
It should be done by hwmod (or more broadly, some OMAP bus code). That
way the device can be brought to a known state even if there's no driver
present (e.g., if the driver was built as a module).
> The other concern about i660 is in this comment [1]
>
> /*
> * During system boot; If the hwmod framework resets the module
> * the module will have smart idle settings; which can lead to deadlock
> * (above Errata Id:i660); so, dont reset the module during boot;
> * Use HWMOD_INIT_NO_RESET.
> */
>
> But if you look at the errata document [2], Advisory 1.108, it doesn't
> say that we can't be in smart-idle, but only that we should put the
> module in force-idle, before cutting the module's functional clock.
Yes, that looks to be correct. There shouldn't be any problem with the
module being in smart-idle mode if the PRCM doesn't try to put it into a
low-power mode. It already has the HWMOD_SWSUP_SIDLE flag set, so seems
to me it should work fine without HWMOD_INIT_NO_RESET, if i660 is the only
issue.
Most of the IP blocks that are marked with HWMOD_INIT_NO_RESET are only
that way due to laziness, or lack of time, etc., and should be closely
reviewed.
- Paul
prev parent reply other threads:[~2013-12-02 15:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 13:01 [PATCH 0/1] mfd: omap-usb-host: Bug fix for 3.13 rc Roger Quadros
2013-11-29 13:01 ` [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda Roger Quadros
2013-11-29 13:17 ` David Laight
2013-12-02 8:39 ` Roger Quadros
2013-12-02 16:28 ` David Laight
2013-12-03 9:43 ` Roger Quadros
2013-11-29 15:32 ` Michael Trimarchi
2013-12-02 9:41 ` Roger Quadros
2013-12-02 12:01 ` Sebastian Andrzej Siewior
2013-12-02 12:12 ` Roger Quadros
2013-12-02 13:04 ` Sebastian Andrzej Siewior
2013-12-02 13:35 ` Roger Quadros
2013-12-02 13:39 ` Sebastian Andrzej Siewior
2013-12-02 13:44 ` Roger Quadros
2013-12-02 14:03 ` Sebastian Andrzej Siewior
2013-12-02 15:12 ` Roger Quadros
2013-11-30 4:48 ` Michael Trimarchi
2013-11-30 5:10 ` Michael Trimarchi
2013-12-01 3:14 ` Michael Trimarchi
2013-12-02 9:39 ` Roger Quadros
2013-12-02 9:51 ` Michael Trimarchi
2013-12-02 12:05 ` Roger Quadros
2013-12-02 15:00 ` Paul Walmsley [this message]
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=alpine.DEB.2.02.1312021444530.18363@utopia.booyaka.com \
--to=paul@pwsan.com \
--cc=balbi@ti.com \
--cc=bcousson@baylibre.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ljkenny.mailinglists@gmail.com \
--cc=michael@amarulasolutions.com \
--cc=rogerq@ti.com \
--cc=sameo@linux.intel.com \
--cc=sr@denx.de \
--cc=stable@vger.kernel.org \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.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
all inboxes | Powered by JetHome®