All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
	Paul Walmsley <paul@pwsan.com>,
	linux-omap@vger.kernel.org,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Luciano Coelho <coelho@ti.com>, Roger Quadros <rogerq@ti.com>,
	linux-arm-kernel@lists.infradead.org,
	Santosh Shilimkar <santosh.shilimkar@ti.com>,
	Ravi Babu <ravibabu@ti.com>,
	Ruslan Bilovol <ruslan.bilovol@ti.com>
Subject: Re: Multiple issues with omap4 panda es in linux next
Date: Thu, 25 Apr 2013 08:01:20 -0700	[thread overview]
Message-ID: <20130425150120.GH5184@atomide.com> (raw)
In-Reply-To: <20130425090447.GK7889@arwen.pp.htv.fi>

* Felipe Balbi <balbi@ti.com> [130425 02:10]:
> On Wed, Apr 24, 2013 at 12:23:30PM -0700, Tony Lindgren wrote:
> > * Tony Lindgren <tony@atomide.com> [130424 12:13]:
> > > * Kishon Vijay Abraham I <kishon@ti.com> [130423 22:46]:
> > > > Hi Tony,
> > > > 
> > > > On Wednesday 24 April 2013 04:46 AM, Tony Lindgren wrote:
> > > > >* Tony Lindgren <tony@atomide.com> [130423 14:37]:
> > > > >>* Tony Lindgren <tony@atomide.com> [130423 10:28]:
> > > > >>>* Kishon Vijay Abraham I <kishon@ti.com> [130423 08:15]:
> > > > >>>>>>>2. MUSB fails with legacy booting and DT on panda es
> > > > >>>>>>>
> > > > >>>>>>>With both legacy and DT booting I get something like:
> > > > >>>>>>>
> > > > >>>>>>>HS USB OTG: no transceiver configured
> > > > >>>>>>>musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
> > > > >>>>>>
> > > > >>>>>>The dt should work fine with https://patchwork.kernel.org/patch/2423061/.
> > > > >>>>>
> > > > >>>>>OK thanks for checking that.
> > > > >
> > > > >Kishon, I think there's also some other issue remaining
> > > > >in linux next with MUSB and DT. I'm still getting the
> > > > >"HS USB OTG: no transceiver configured" although the nop
> > > > >xceiv is compiled in. Maybe give it a try against linux
> > > > >next?
> > > > 
> > > > For OMAP4 MUSB, you'll need omap-usb2 phy. I've attached my .config.
> > > 
> > > Thanks your config helped me to track it down. Looks like I got
> > > the PHYs the wrong way around between EHCI and MUSB..
> > > 
> > > In any case, I did have omap-usb2 compiled in, but I did not have
> > > OMAP_OCP2SCP=y set. Should OMAP_USB2 depend on that?
> > > 
> > > Also, looks like MUSB just sits in b_idle mode though, so no more
> > > ID pin interrupt for some reason.
> > 
> > OK looks like I got the ID interrupt going by enabling
> > CONFIG_TWL6030_USB=y. Still stays in a_idle with no keyboard
> > after plugging it in, but now changes between a and b mode.
> 
> come again, you ground ID pin and have no devices attached ? Then it
> should stay in a_idle.

After playing with looks like it detects the keyboard after replugging
the cable a few times. So it's not detecting the keyboard every time when
plugged in, but sounds like that's not related to the DT patches. It's
probably the session bit related issues again..

Regards,

Tony

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: Multiple issues with omap4 panda es in linux next
Date: Thu, 25 Apr 2013 08:01:20 -0700	[thread overview]
Message-ID: <20130425150120.GH5184@atomide.com> (raw)
In-Reply-To: <20130425090447.GK7889@arwen.pp.htv.fi>

* Felipe Balbi <balbi@ti.com> [130425 02:10]:
> On Wed, Apr 24, 2013 at 12:23:30PM -0700, Tony Lindgren wrote:
> > * Tony Lindgren <tony@atomide.com> [130424 12:13]:
> > > * Kishon Vijay Abraham I <kishon@ti.com> [130423 22:46]:
> > > > Hi Tony,
> > > > 
> > > > On Wednesday 24 April 2013 04:46 AM, Tony Lindgren wrote:
> > > > >* Tony Lindgren <tony@atomide.com> [130423 14:37]:
> > > > >>* Tony Lindgren <tony@atomide.com> [130423 10:28]:
> > > > >>>* Kishon Vijay Abraham I <kishon@ti.com> [130423 08:15]:
> > > > >>>>>>>2. MUSB fails with legacy booting and DT on panda es
> > > > >>>>>>>
> > > > >>>>>>>With both legacy and DT booting I get something like:
> > > > >>>>>>>
> > > > >>>>>>>HS USB OTG: no transceiver configured
> > > > >>>>>>>musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
> > > > >>>>>>
> > > > >>>>>>The dt should work fine with https://patchwork.kernel.org/patch/2423061/.
> > > > >>>>>
> > > > >>>>>OK thanks for checking that.
> > > > >
> > > > >Kishon, I think there's also some other issue remaining
> > > > >in linux next with MUSB and DT. I'm still getting the
> > > > >"HS USB OTG: no transceiver configured" although the nop
> > > > >xceiv is compiled in. Maybe give it a try against linux
> > > > >next?
> > > > 
> > > > For OMAP4 MUSB, you'll need omap-usb2 phy. I've attached my .config.
> > > 
> > > Thanks your config helped me to track it down. Looks like I got
> > > the PHYs the wrong way around between EHCI and MUSB..
> > > 
> > > In any case, I did have omap-usb2 compiled in, but I did not have
> > > OMAP_OCP2SCP=y set. Should OMAP_USB2 depend on that?
> > > 
> > > Also, looks like MUSB just sits in b_idle mode though, so no more
> > > ID pin interrupt for some reason.
> > 
> > OK looks like I got the ID interrupt going by enabling
> > CONFIG_TWL6030_USB=y. Still stays in a_idle with no keyboard
> > after plugging it in, but now changes between a and b mode.
> 
> come again, you ground ID pin and have no devices attached ? Then it
> should stay in a_idle.

After playing with looks like it detects the keyboard after replugging
the cable a few times. So it's not detecting the keyboard every time when
plugged in, but sounds like that's not related to the DT patches. It's
probably the session bit related issues again..

Regards,

Tony

  reply	other threads:[~2013-04-25 15:01 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 17:13 Multiple issues with omap4 panda es in linux next Tony Lindgren
2013-04-19 17:13 ` Tony Lindgren
2013-04-19 17:41 ` Santosh Shilimkar
2013-04-19 17:41   ` Santosh Shilimkar
2013-04-19 17:44   ` Tony Lindgren
2013-04-19 17:44     ` Tony Lindgren
2013-04-19 17:53     ` Santosh Shilimkar
2013-04-19 17:53       ` Santosh Shilimkar
2013-04-19 18:18       ` Tony Lindgren
2013-04-19 18:18         ` Tony Lindgren
2013-04-25 13:58         ` Kevin Hilman
2013-04-25 13:58           ` Kevin Hilman
2013-04-26  8:40           ` Santosh Shilimkar
2013-04-26  8:40             ` Santosh Shilimkar
2013-04-22  7:49 ` Felipe Balbi
2013-04-22  7:49   ` Felipe Balbi
2013-04-22  8:41 ` Kishon Vijay Abraham I
2013-04-22  8:41   ` Kishon Vijay Abraham I
2013-04-22 18:03   ` Tony Lindgren
2013-04-22 18:03     ` Tony Lindgren
2013-04-23 15:10     ` Kishon Vijay Abraham I
2013-04-23 15:10       ` Kishon Vijay Abraham I
2013-04-23 17:23       ` Tony Lindgren
2013-04-23 17:23         ` Tony Lindgren
2013-04-23 21:31         ` Tony Lindgren
2013-04-23 21:31           ` Tony Lindgren
2013-04-23 23:16           ` Tony Lindgren
2013-04-23 23:16             ` Tony Lindgren
2013-04-24  5:41             ` Kishon Vijay Abraham I
2013-04-24  5:41               ` Kishon Vijay Abraham I
2013-04-24 19:08               ` Tony Lindgren
2013-04-24 19:08                 ` Tony Lindgren
2013-04-24 19:23                 ` Tony Lindgren
2013-04-24 19:23                   ` Tony Lindgren
2013-04-25  9:04                   ` Felipe Balbi
2013-04-25  9:04                     ` Felipe Balbi
2013-04-25 15:01                     ` Tony Lindgren [this message]
2013-04-25 15:01                       ` Tony Lindgren
2013-04-25 15:13                       ` Felipe Balbi
2013-04-25 15:13                         ` Felipe Balbi
2013-04-22  9:08 ` Tomi Valkeinen
2013-04-22  9:08   ` Tomi Valkeinen
2013-04-22 10:24   ` Tomi Valkeinen
2013-04-22 10:24     ` Tomi Valkeinen
2013-04-22 12:21     ` Grygorii Strashko
2013-04-22 12:21       ` Grygorii Strashko
2013-04-22 18:08       ` Tony Lindgren
2013-04-22 18:08         ` Tony Lindgren
2013-04-23 13:53         ` Grygorii Strashko
2013-04-23 13:53           ` Grygorii Strashko
2013-04-23 17:31           ` Tony Lindgren
2013-04-23 17:31             ` Tony Lindgren
2013-04-24 19:44 ` Tony Lindgren
2013-04-24 19:44   ` Tony Lindgren

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=20130425150120.GH5184@atomide.com \
    --to=tony@atomide.com \
    --cc=balbi@ti.com \
    --cc=coelho@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=ravibabu@ti.com \
    --cc=rogerq@ti.com \
    --cc=ruslan.bilovol@ti.com \
    --cc=santosh.shilimkar@ti.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.