Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp479243img; Fri, 22 Mar 2019 02:06:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM077a+xf+FPDyxHMBjKX5fqVOck0SmKDbGO0WeQ5qNqcu3L2c7Q7ouKQUqdI56+9WnLPX X-Received: by 2002:a62:1ac3:: with SMTP id a186mr8007550pfa.48.1553245603134; Fri, 22 Mar 2019 02:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553245603; cv=none; d=google.com; s=arc-20160816; b=utTOdXO+IphMhs6teqR5/BnjNNN0Jw4W8+4HxeJLt3A+6gCgwsSMOx4tEKhovn11iR ul2maOvkkmWbRajnkUb4LWIZI3XQbtszpJwIx8w5jMCvSw4liPcMEHh+8QKOQUJ9IlnS RL3Z588NNPDKCBIzcFtvZEDDwzI5x6ee6bAA/BfZw+tbUyjWKOFCFtFhCjE1nUsxp7qJ H34KRx+h3uQMuBgujs0645wEMQpPVw0EZn2FmrSliSS8gRtH/FWfRTxSogDbmDyWBwxL yCqDKLNod2G0FNdR7u1+xgfoWay+ygt7o4Icf1MZQKjtrgC6YFhsWqGiU1UWix+usHHZ yZLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vJvDDrOyJfA43dvZihJ2yvfLn9MgAmZr3upBocoQbiY=; b=a2xk5NV2j5Mfj7qx4f8dx/1P6ZnlQYVrsy/yCVAFjpdsjHPEEBchQ6yKrLSFItofcg kQcN/843XfH1cQyij/2P3/m9r21Y9GogJnnUsvmT8j8w59tMsxXCWwfTTYnFtFxO9oG0 rFK65OdWuWSK9+7JMTsJ23N2aFb9c1mFJldTUOgPpG/RgfdldTX/G5uB4RhqhD2gD7ar mmtUIWVcLjTL+P9CMHQZdpb/L0ZdGyPKRx5iYF3eY+S2CF0L6CB/oySrQytGzMehBR9y xOcPzuEFiA4OakViWaTODefQAKuqxO8RWk/ArQvwLsaCONb2YlCXtRW6ZZeUHeGrwcZw XGDA== ARC-Authentication-Results: i=1; mx.google.com; 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 q12si6722858pli.428.2019.03.22.02.06.27; Fri, 22 Mar 2019 02:06:43 -0700 (PDT) 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; 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 S1727767AbfCVJFr (ORCPT + 99 others); Fri, 22 Mar 2019 05:05:47 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:49595 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfCVJFr (ORCPT ); Fri, 22 Mar 2019 05:05:47 -0400 X-Originating-IP: 90.88.33.153 Received: from localhost (aaubervilliers-681-1-92-153.w90-88.abo.wanadoo.fr [90.88.33.153]) (Authenticated sender: maxime.ripard@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 94608FF805; Fri, 22 Mar 2019 09:05:43 +0000 (UTC) Date: Fri, 22 Mar 2019 10:05:43 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: Greg Kroah-Hartman , Kishon Vijay Abraham I , Chen-Yu Tsai , Grygorii Strashko , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] ARM: sunxi: Fix USB host init fail on v5.1-rc1 Message-ID: <20190322090543.2st5ilhk4nvdngyk@flea> References: <20190322085108.18693-1-wens@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="esj3bsxhhq6fyec5" Content-Disposition: inline In-Reply-To: <20190322085108.18693-1-wens@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --esj3bsxhhq6fyec5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 22, 2019 at 04:51:06PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > Hi everyone, > > As previously reported [1], USB EHCI/OHCI hosts are broken on Allwinner > SoCs on v5.1-rc1. This is partially triggered by commit b97a31348379 > ("usb: core: comply to PHY framework"), and partially due to how the > Allwinner USB PHY driver handles phy_set_mode for non-OTG PHYs. > > This series fixes this in both places. > > Patch 1 makes phy-sun4i-usb accept PHY_MODE_USB_HOST for non-OTG PHYs. > > Patch 2 makes the usb core fall back to setting the mode > PHY_MODE_USB_HOST if set_mode with PHY_MODE_USB_HOST_SS fails. If that > fails then the failure path is the same as before. This should make it > so existing USB 3.0 drivers are affected. > > The patches don't have any dependencies on each other, and could go in > through separate branches. However this affects usability of USB input > devices and Ethernet dongles, I'd rather they go in sooner than later. Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --esj3bsxhhq6fyec5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXJSlZwAKCRDj7w1vZxhR xfalAP0UWJFhN15P+P1fRsbnqLWVfT1VUaynos9xXw/GFttkIAD/cxzj3FaPiFZt 74tR87lA9BRaCnHlMk/aVGx4dOzvBAQ= =RxTw -----END PGP SIGNATURE----- --esj3bsxhhq6fyec5--