Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Roger Quadros <rogerq@ti.com>
Cc: "Balbi, Felipe" <balbi@ti.com>,
	George Cherian <george.cherian@ti.com>,
	Linux USB Mailing List <linux-usb@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"ABRAHAM, KISHON VIJAY" <kishon@ti.com>
Subject: Re: dwc3 gadget fails on dra7-evm
Date: Wed, 14 Jan 2015 10:57:33 -0600	[thread overview]
Message-ID: <20150114165733.GC16533@saruman> (raw)
In-Reply-To: <54B68EC8.9000003@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

Hi,

On Wed, Jan 14, 2015 at 05:44:08PM +0200, Roger Quadros wrote:
> In 3.19-rc4 on dra7-evm or dra72-evm
> 
> modprobe g_zero
> [   34.680683] zero gadget: Gadget Zero, version: Cinco de Mayo 2008
> [   34.687074] zero gadget: zero ready
> [   34.694133] dwc3 48890000.usb: failed to enable ep0out
> [   34.701600] zero 48890000.usb: failed to start zero: -110
> ERROR: could not insert 'g_zero': Connection timed out
> 
> my u-boot version is v2015.01

hmm... it could be that DRA7x also needs the suspend phy quirk. Can you
try this ?

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 22771bc1643a..63f8b007bdc5 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1257,6 +1257,8 @@
 				tx-fifo-resize;
 				maximum-speed = "super-speed";
 				dr_mode = "otg";
+				snps,dis_u3_susphy_quirk;
+				snps,dis_u2_susphy_quirk;
 			};
 		};
 
@@ -1278,6 +1280,8 @@
 				tx-fifo-resize;
 				maximum-speed = "high-speed";
 				dr_mode = "otg";
+				snps,dis_u3_susphy_quirk;
+				snps,dis_u2_susphy_quirk;
 			};
 		};
 
@@ -1299,6 +1303,8 @@
 				tx-fifo-resize;
 				maximum-speed = "high-speed";
 				dr_mode = "otg";
+				snps,dis_u3_susphy_quirk;
+				snps,dis_u2_susphy_quirk;
 			};
 		};
 

Weird, I remeber testing on X15 and not needing this quirk :-s

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-01-14 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 15:44 dwc3 gadget fails on dra7-evm Roger Quadros
2015-01-14 16:57 ` Felipe Balbi [this message]
2015-01-15 12:40   ` Roger Quadros
2015-01-15 15:31     ` Felipe Balbi

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=20150114165733.GC16533@saruman \
    --to=balbi@ti.com \
    --cc=george.cherian@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rogerq@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