public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Trimarchi <michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
To: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
Cc: Ruslan Bilovol <ruslan.bilovol-l0cyMroinI0@public.gmane.org>,
	USB list <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Linux OMAP Mailing List
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Alan Stern
	<stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Subject: Re: omap4 ehci sporadic resume issue
Date: Thu, 04 Jul 2013 10:53:31 +0200	[thread overview]
Message-ID: <51D5380B.3060401@amarulasolutions.com> (raw)
In-Reply-To: <51D2EBBB.8000504-l0cyMroinI0@public.gmane.org>

Hi

On 07/02/2013 05:03 PM, Roger Quadros wrote:
> 
> On 07/02/2013 05:49 PM, Michael Trimarchi wrote:
>> Hi Roger
>>
>> On 07/02/2013 04:42 PM, Roger Quadros wrote:
>>> On 06/28/2013 07:47 PM, Michael Trimarchi wrote:
>>>> Hi
>>>>
> 
>>>>>
>>>>> When you said earlier that the problem doesn't happen when one of the ULPIs is used
>>>>> did you try both of them individually. e.g. case 1: port 1 only enabled,
>>>>> case 2: port 2 only enabled.
>>>>>
>>>>> Did it work in both the cases?
>>>>
>>>> Yes, so I don't think could be a problem of ulpi pins and why this happen
>>>> on both at the same time? Seems more connected to somenthing else.
>>>>
>>>
>>> Right. Seems to be related to two things. OFF Mode and 2 ports being used simultaneously.
>>>
>>> I'm not sure how to go about fixing this. How important is OFF Mode for your application.
>>> Can you keep it always disabled?
>>>
> 
> 
>>
>> Right now I delivery without off mode. I will try to fix in long run the usb and I think that it could be a good platform to test omap4 mainline.
>>
> 
> Yes, our aim is to get it working with mainline as well.
> 
>> Last question:
>> If one domain is in RET mode and not OFF mode what happen during SAR restore in OFF mode?
>>
> 
> SAR restore will only happen when the Device enters OFF mode.
> 
> Device OFF mode can only be reached when all voltage domains are switched OFF and that would depend
> if all power domains entered OFF or not. Just a simplistic explanation. You can refer to chapter
> "3.9.3 Device OFF State Management" in the TRM.

What happen if we ask to go in off mode for all domains but one doesn't go in off mode so the device
will not go in off mode and the sar will not be used? How can work the restore?

> 

I have added a check of CM_RESTORE_ST. This register need to be clear before
going in OFF mode and then show if the status of phase1 2a and 2b is completed.
So before proceed with system resume and after resetting OFF_MODE bit I have tried to wait on this register,
but without success.

Michael

> cheers,
> -roger
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-07-04  8:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 11:51 omap4 ehci sporadic resume issue Michael Trimarchi
2013-06-27 13:59 ` Roger Quadros
     [not found]   ` <51CC454A.1040104-l0cyMroinI0@public.gmane.org>
2013-06-27 14:17     ` Michael Trimarchi
2013-06-27 14:49       ` Roger Quadros
2013-06-27 17:56         ` Michael Trimarchi
2013-06-27 18:59           ` Ruslan Bilovol
2013-06-27 19:24             ` Michael Trimarchi
2013-06-27 20:07               ` Ruslan Bilovol
2013-06-27 20:22                 ` Michael Trimarchi
2013-06-28 11:33                 ` Michael Trimarchi
2013-06-28 11:46                   ` Roger Quadros
     [not found]                     ` <51CD7783.8030907-l0cyMroinI0@public.gmane.org>
2013-06-28 12:26                       ` Michael Trimarchi
2013-06-28 12:55                         ` Roger Quadros
     [not found]                           ` <51CD87AC.6060107-l0cyMroinI0@public.gmane.org>
2013-06-28 14:52                             ` Michael Trimarchi
2013-06-28 16:47                       ` Michael Trimarchi
2013-07-02 14:42                         ` Roger Quadros
     [not found]                           ` <51D2E6DA.6030000-l0cyMroinI0@public.gmane.org>
2013-07-02 14:49                             ` Michael Trimarchi
2013-07-02 14:57                               ` Nishanth Menon
2013-07-02 15:03                               ` Roger Quadros
     [not found]                                 ` <51D2EBBB.8000504-l0cyMroinI0@public.gmane.org>
2013-07-04  8:53                                   ` Michael Trimarchi [this message]
2013-08-30 17:59                                     ` Michael Trimarchi
     [not found]                                       ` <CAOf5uwk9U8CHWywfopCt-H5BJmYyuXrwPvpwaqqP+5-3g_qYhQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-02  7:04                                         ` Roger Quadros
2013-06-28 19:42                     ` Michael Trimarchi

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=51D5380B.3060401@amarulasolutions.com \
    --to=michael-dyjbcgdgk7pe9whmmfpqlfatqe2ktcn/@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rogerq-l0cyMroinI0@public.gmane.org \
    --cc=ruslan.bilovol-l0cyMroinI0@public.gmane.org \
    --cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
    /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