From patchwork Wed Jan 14 16:57:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 5633751 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4A7E8C058D for ; Wed, 14 Jan 2015 16:58:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B12012016C for ; Wed, 14 Jan 2015 16:58:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC560201BB for ; Wed, 14 Jan 2015 16:58:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754192AbbANQ6S (ORCPT ); Wed, 14 Jan 2015 11:58:18 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:60892 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbbANQ6Q (ORCPT ); Wed, 14 Jan 2015 11:58:16 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t0EGwGpV018282; Wed, 14 Jan 2015 10:58:16 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0EGwFZg007607; Wed, 14 Jan 2015 10:58:15 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Wed, 14 Jan 2015 10:58:15 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0EGwFWX006358; Wed, 14 Jan 2015 10:58:15 -0600 Date: Wed, 14 Jan 2015 10:57:33 -0600 From: Felipe Balbi To: Roger Quadros CC: "Balbi, Felipe" , George Cherian , Linux USB Mailing List , "linux-omap@vger.kernel.org" , "ABRAHAM, KISHON VIJAY" Subject: Re: dwc3 gadget fails on dra7-evm Message-ID: <20150114165733.GC16533@saruman> Reply-To: References: <54B68EC8.9000003@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <54B68EC8.9000003@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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; }; };