From patchwork Tue Oct 31 13:26:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 117631 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3915203qgn; Tue, 31 Oct 2017 06:26:11 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QryU1sFWE3jaSRRG5L6lrTidwxbzjFhu8k9bbMAC24zdmTpqawSE0JDshsSPJfiqGLSwUg X-Received: by 10.84.196.129 with SMTP id l1mr1877182pld.290.1509456371582; Tue, 31 Oct 2017 06:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509456371; cv=none; d=google.com; s=arc-20160816; b=RxcASTQriwq0/sEdkbPIOOF+GHob9Dg7fopRvXRmqDbVJx/pG//KZfOehc6LZGECl5 Of7fmbpZncpkv6JStzA/rIuCI0YKR0XT65LVDecbstJ8cwSr55f180MmRbv6JKz88ma5 gLy12LVlECtr/85p3dytUF2YVB4F7z411D/LWd6XPJ3VF6Aclgf3aoEI4NGsrQlbOtCe pJDfdb7Jl0aFvtiUuRskbfcgj5D2zR7FwbaXhHoBeg4AdtHCv8JWvQ7+RoOEsUcicE3G gl+fTxFF2VEAGGaCLhywaAuBg0TuSPh2j81pLxWip1kA1uj+7xtscIXTltVz1KIaTSmu Pp/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=DxdD6FaU3ctKHYI4X4MvskMKtq85Dqf7mhsyq6hePQg=; b=kge9XWtq5GThBA8TPvgpFvp+s+N+/4Fwpq3P2ecZIIJaa8zvUT0HYVV3o7XiEicivV wc0jasfl7ts3+f2sFnxhAZHPl0KdziNw4PEMgXQ5bh4m0xOUhziIIrS9lJoCjjjqJPMM bi6Rw9ugeBb7W3/u4aiMaCDTNBWBRrrX8cIjMro7Ty7+qDzmYrsyJygWh7Vx+b97aKOJ LHsoib4WHbhb17uu/saGmMdP5wsXjdnNUDHIPVGutjB4lVpwf32tULp76QqfEJwXlQ3v CV+vViDLq5yZ//MxRAYQL+bNLV6vZhI9f0kQOnYx+Gji9YRWUUBTLaFEyoS/2YDLjz32 3h8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=PaxCe910; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s10si1692140pgd.559.2017.10.31.06.26.11; Tue, 31 Oct 2017 06:26:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=PaxCe910; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753087AbdJaN0K (ORCPT + 4 others); Tue, 31 Oct 2017 09:26:10 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61353 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926AbdJaN0J (ORCPT ); Tue, 31 Oct 2017 09:26:09 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9VDQ48d018333; Tue, 31 Oct 2017 08:26:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1509456364; bh=8SReq5ZIQ8xW5XDb0XM9A78R4IFrEic2cQ+GkY1ZfiY=; h=From:To:CC:Subject:Date; b=PaxCe910ofyCzsulu/z3SiT4LdPsOT2yTsNOrI7yo4TeXT0ytMPNBXRpIUkPjiiMq RyUJFFby9KXtt2HO66wl/NQTMG2geKFFehfO18YoOy/95CPltzV8+NgT+6elH9aUUm SPrFDhzpjVjnWeMWIjCpDUxOmfg5YmTTba7Itw+I= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9VDQ4Sm007867; Tue, 31 Oct 2017 08:26:04 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 31 Oct 2017 08:26:04 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 31 Oct 2017 08:26:04 -0500 Received: from dlelxv97.itg.ti.com (dlelxv97.itg.ti.com [172.17.2.193]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9VDQ4wS007111; Tue, 31 Oct 2017 08:26:04 -0500 Received: from lta0400828d.ti.com (vboxa0400828d.emea.dhcp.ti.com [172.22.234.209]) by dlelxv97.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9VDQ2L3016416; Tue, 31 Oct 2017 08:26:02 -0500 From: Roger Quadros To: CC: , , , , Roger Quadros Subject: [PATCH] ARM: dts: dra7: Disable USB metastability workaround for USB2 Date: Tue, 31 Oct 2017 15:26:00 +0200 Message-ID: <1509456360-2638-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The metastability workaround causes Erratic errors [1] on the HighSpeed USB PHY which can cause upto 2 seconds delay in enumerating to a USB host while in Gadget mode. Disable the Run/Stop metastability workaround to avoid this ill effect. We are aware that this opens up the opportunity for Run/Stop metastability, however this issue has never been observed in TI releases so we think that Run/Stop metastability is a lesser evil than the PHY Erratic errors. So disable it. [1] USB controller trace during gadget enumeration irq/90-dwc3-969 [000] d... 52.323145: dwc3_event: event (00000901): Erratic Error [U0] irq/90-dwc3-969 [000] d... 52.560646: dwc3_event: event (00000901): Erratic Error [U0] irq/90-dwc3-969 [000] d... 52.798144: dwc3_event: event (00000901): Erratic Error [U0] Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- 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 Acked-by: Felipe Balbi diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 02a136a..1264e39 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1540,6 +1540,7 @@ dr_mode = "otg"; snps,dis_u3_susphy_quirk; snps,dis_u2_susphy_quirk; + snps,dis_metastability_quirk; }; };