From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755468AbdC1LLR (ORCPT ); Tue, 28 Mar 2017 07:11:17 -0400 Received: from mga03.intel.com ([134.134.136.65]:3457 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755092AbdC1LLQ (ORCPT ); Tue, 28 Mar 2017 07:11:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="asc'?scan'208";a="80136895" From: Felipe Balbi To: Roger Quadros Cc: vivek.gautam@codeaurora.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: Re: [PATCH v2 4/4] usb: dwc3: Workaround for super-speed host on dra7 in dual-role mode In-Reply-To: <1487250377-13653-5-git-send-email-rogerq@ti.com> References: <1487250377-13653-1-git-send-email-rogerq@ti.com> <1487250377-13653-5-git-send-email-rogerq@ti.com> Date: Tue, 28 Mar 2017 14:10:48 +0300 Message-ID: <87o9wlhd1j.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Roger Quadros writes: > dra7 OTG core limits the host controller to USB2.0 (high-speed) mode > when we're operating in dual-role. yeah, that's not a quirk. DRA7 supports OTGv2, not OTGv3. There was no USB3 when OTGv2 was written. DRA7 just shouldn't use OTG core altogether. In fact, this is the very thing I've been saying for a long time. Make the simplest implementation possible. The dead simple, does-one-thing-only sort of implementation. All we need for Dual-Role (without OTG extras) is some input for ID and VBUS, then we add/remove HCD/UDC conditionally and set PRTCAPDIR. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAljaRLgACgkQzL64meEa mQY3JhAApSMaCxDV9z1he0wQCGkeRojv76WluW92eyFcjU0RBBoxK7b37P7mEsm4 zPg9jVmvJ11tKkderOeF+iiYcpQpLBtuBaRuRD3dMLypKQipeGT4+rfYtBnMiOWf vvCkCfLKS6ane/rGq2tgIVlqmMBCsrgL6kiz4MDuXtikJ1S0xfNLj6lr3WjBZpGv W4rT84CKlnQ5b72YSxJnStcbbXa4cxo3owlozMFGc1TMs+3j6DXBf+sMtQbP72PR hN67UDtW6qR6OdnoKXCmqq51llvr21yClVorlvr66WkmuEzE4m7UMEPhsIWw4YrV CBw0UxUSYTzNXQDKxCN1FpNgofyzsw0wWlVcDLNrGyl4+bkAjlATn2GuoxDpdLlg 0DH6f17dTB8/YjCZq3c3GTMBM4XZjXUZ6Br2AweyK4hkdD4m0JGPRHLlLYG02TVu 1QfT5SOuBaFKIiIzk/QFIeF+IYQ4efqsaQtvSsaI+NSJZ2UMtWq65IwY8AgL43pl 2R5kTG8NSyiZyX8+d5Wy6sOlCdFtHJ+l/GZUTtMKHVz/89tpGHRxEntzA/zvIE23 izdx5LuvoFF3rpNBz9xpmRVkwHOaqjt4S6Zb5Hh6ZQP4AEXUCsPKCIJvb2x7+kbX I9gLwcST+Z2oTSoOcLi1I3WCw8R5jfCH8uZ3FUjbpeVbruw+sR0= =BUwh -----END PGP SIGNATURE----- --=-=-=--