Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp114840ybc; Mon, 11 Nov 2019 21:35:28 -0800 (PST) X-Google-Smtp-Source: APXvYqwyHCrRWH1bv351wy02iDLYxuVLLOuPWx5VHV+4nFhUHrnsIu3GJZmVuwkrWDI/MSHjV3wo X-Received: by 2002:a17:906:13d5:: with SMTP id g21mr26328682ejc.72.1573536928477; Mon, 11 Nov 2019 21:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573536928; cv=none; d=google.com; s=arc-20160816; b=yhCyJ6UCO+q3qIYyqBFZqdG7EwxlBxLs/ls9VFq9DV1Vpfo+3qhuMaFRys5F6xeYjm puxkhfWLR0N1dQCT7KqbA3oda4DqJI/xD533hvuugxR8krnN1zN+VYIkZsW7xfvpRtzv bxtsim+yOswm9JrkX1AXGDirmkHXXKwMZd+K7NG9XCagF9bzSIlR0FyAz4K9+VkG9LhW qek2jks8oWX3p1eHa8q/1SUtaYclSExlfmagCL6tUngSLRlmjaeqAxpNIaPc0kjc4JPb gUk6NuhfRNap9pUS7JAbgjoWGc6coEG6hblGVzLWgwshFgOaMy/NAcg5YrXIDQVbfXzF eUTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ye/XKmpeecD3DWQWXrJj/txhyaxOkkHA/IPpk4KLlZU=; b=txPtFa9ofsc9zw/azu5SZWCxQAsSb20xmpgrZQnb9btcAzMDp3c7xr48aKRBiSHniB IKdSrVsxR4G7Z0CtDB4m4gF9cTht9wTKV7IbsRFZyad3SgYU50vynn955lOzQ2tHNj2f R/ppD+abhMN8Tkmwskk6I8ZRpfUkdGbNWYOwMDxzVsuWkSsa5GcGPO4v0hgQC1BzGljI dLCEf0cA5MRVfpZ98DoCr/VFZGDe54GBNBaHnCW1Dnh+v5JctVnwsFKeke00UIyFeTjP FALMZPG3Td7gKOqIA/ThMzulZuSft2aLyDXlZF46Z+M7KB1cpFvsKXkbxTWMAnqFrK+V XdKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Rrw9OoBo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si13489746edc.6.2019.11.11.21.35.04; Mon, 11 Nov 2019 21:35:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Rrw9OoBo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbfKLFeB (ORCPT + 99 others); Tue, 12 Nov 2019 00:34:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:60760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfKLFeA (ORCPT ); Tue, 12 Nov 2019 00:34:00 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 879C12084F; Tue, 12 Nov 2019 05:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573536840; bh=sbnFXAjpbcwJnf2+mH5IsFebJvwzJN37XivvkMyt/50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rrw9OoBoJJsfH217xuK/dIynZd/Lg3JslxJZPFFOu+cHhG9k+6kIM0nBggDw4x4G0 cRUqK3qLEBrT44fRfisxQOXG8+2cSiGBD+8JHqN6tT7EhpPwCfqnia3993/K2k8qKR Nw05FMp4nIvID6V0U5M+CJ/5OXz/Z+jJcBv5Xg44= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Roger Quadros , Felipe Balbi , Tony Lindgren Subject: [PATCH 4.14 061/105] ARM: dts: dra7: Disable USB metastability workaround for USB2 Date: Mon, 11 Nov 2019 19:28:31 +0100 Message-Id: <20191111181444.963730015@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191111181421.390326245@linuxfoundation.org> References: <20191111181421.390326245@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roger Quadros commit b8c9c6fa2002b8fd4a9710f76f80f99c6046d48c upstream. 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 Acked-by: Felipe Balbi Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) --- 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; }; };