* dwc3 gadget fails on dra7-evm @ 2015-01-14 15:44 Roger Quadros 2015-01-14 16:57 ` Felipe Balbi 0 siblings, 1 reply; 4+ messages in thread From: Roger Quadros @ 2015-01-14 15:44 UTC (permalink / raw) To: Balbi, Felipe, George Cherian Cc: Linux USB Mailing List, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ABRAHAM, KISHON VIJAY Hi, 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 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dwc3 gadget fails on dra7-evm 2015-01-14 15:44 dwc3 gadget fails on dra7-evm Roger Quadros @ 2015-01-14 16:57 ` Felipe Balbi 2015-01-15 12:40 ` Roger Quadros 0 siblings, 1 reply; 4+ messages in thread From: Felipe Balbi @ 2015-01-14 16:57 UTC (permalink / raw) To: Roger Quadros Cc: Balbi, Felipe, George Cherian, Linux USB Mailing List, linux-omap@vger.kernel.org, ABRAHAM, KISHON VIJAY [-- 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 --] ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: dwc3 gadget fails on dra7-evm 2015-01-14 16:57 ` Felipe Balbi @ 2015-01-15 12:40 ` Roger Quadros 2015-01-15 15:31 ` Felipe Balbi 0 siblings, 1 reply; 4+ messages in thread From: Roger Quadros @ 2015-01-15 12:40 UTC (permalink / raw) To: balbi Cc: George Cherian, Linux USB Mailing List, linux-omap@vger.kernel.org, ABRAHAM, KISHON VIJAY On 14/01/15 18:57, Felipe Balbi wrote: > 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 ? The issue goes away with this patch. Thanks. cheers, -roger > > 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 > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dwc3 gadget fails on dra7-evm 2015-01-15 12:40 ` Roger Quadros @ 2015-01-15 15:31 ` Felipe Balbi 0 siblings, 0 replies; 4+ messages in thread From: Felipe Balbi @ 2015-01-15 15:31 UTC (permalink / raw) To: Roger Quadros Cc: balbi, George Cherian, Linux USB Mailing List, linux-omap@vger.kernel.org, ABRAHAM, KISHON VIJAY [-- Attachment #1: Type: text/plain, Size: 805 bytes --] On Thu, Jan 15, 2015 at 02:40:13PM +0200, Roger Quadros wrote: > On 14/01/15 18:57, Felipe Balbi wrote: > > 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 ? > > The issue goes away with this patch. Thanks. alright, patch coming. -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-15 15:31 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-01-14 15:44 dwc3 gadget fails on dra7-evm Roger Quadros 2015-01-14 16:57 ` Felipe Balbi 2015-01-15 12:40 ` Roger Quadros 2015-01-15 15:31 ` Felipe Balbi
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.