public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@ti.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Michael Trimarchi <michael@amarulasolutions.com>,
	Felipe Balbi <balbi@ti.com>, <lee.jones@linaro.org>,
	<sameo@linux.intel.com>, <tomi.valkeinen@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>
Subject: Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda
Date: Mon, 2 Dec 2013 14:12:18 +0200	[thread overview]
Message-ID: <529C7922.5000601@ti.com> (raw)
In-Reply-To: <529C76AF.10106@linutronix.de>

On 12/02/2013 02:01 PM, Sebastian Andrzej Siewior wrote:
> - stable@vger.kernel.org since they probably don't care about this
>   unless the patch is merged.
> 
> On 12/02/2013 10:41 AM, Roger Quadros wrote:
>> Michael,
>>
>> On 11/29/2013 05:32 PM, Michael Trimarchi wrote:
>>> Hi Roger
>>>
>>> On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros <rogerq@ti.com> wrote:
>>>> With u-boot 2013.10, USB devices are sometimes not detected
>>>> on OMAP4 Panda. To make us independent of what bootloader does
>>>> with the USB Host module, we must RESET it to get it to a known
>>>> good state. This patch Soft RESETs the USB Host module.
>>>>
>>>
>>> Do you think that we need something similar of usb musb?
>>> I have seen the OTG_SYSCONFIG is touched in uboot and
>>> only readed in omap2430.c.
>>
>> I'm not sure about musb. Maybe Sebastian/Felipe have better idea.
>> In general I believe that all modules must be reset by the kernel.
>>
> 
> based on the code at the bottom it touches the first few register(s)
> sysconfig. Isn't hwmod actually doing this idle stuff and resting the
> device during boot?
> 

You are right. The musb hwmod data doesn't have the HWMOD_INIT_NO_RESET
flag, so hwmod should reset it during boot.

Maybe I too should just remove HWMOD_INIT_NO_RESET flag from the USB Host
hwmod data, then we don't need to change this driver at all.

Benoit, Tony any comments?

cheers,
-roger

  reply	other threads:[~2013-12-02 12:12 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 [this message]
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

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=529C7922.5000601@ti.com \
    --to=rogerq@ti.com \
    --cc=balbi@ti.com \
    --cc=bigeasy@linutronix.de \
    --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=sameo@linux.intel.com \
    --cc=sr@denx.de \
    --cc=tomi.valkeinen@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