diff mbox

dwc3 gadget fails on dra7-evm

Message ID 20150114165733.GC16533@saruman (mailing list archive)
State New, archived
Headers show

Commit Message

Felipe Balbi Jan. 14, 2015, 4:57 p.m. UTC
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 ?


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

Comments

Roger Quadros Jan. 15, 2015, 12:40 p.m. UTC | #1
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
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi Jan. 15, 2015, 3:31 p.m. UTC | #2
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.
diff mbox

Patch

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;
 			};
 		};