From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D4115C4332F for ; Fri, 11 Nov 2022 05:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=omoulGgUd3Ljanerv/6fB6kFXBWFVIUiTZlTQHuwA3w=; b=kDbYmiu0scWder abQOrsusudpWqvl8ryS0BGI+IKMzQRfSrTxGQWbK6KgYRU3k3j3D+8UgzKRUZS2AICLaGALTwQ4a1 C0aX+0vKoi/q2O/H0Wo61AQIi+cSlT7mZqWSVP+ZCVjbZSLeRBfpvvT4E+OF/6fEACuVYo1GPo2tU P7/1sR8WCassid8zAAzRCuqd8hZFH2IDVSHumPqJ9m298fyB7rkAKc4nO6mW+ghSQKYyw1V/br16g ASMV+KytVnJutGLjXbACOxeBnLjb9Gk1hGutWhyK10CkYJ55sTHfNfpwTGV/dWxudW2EF0Kw60uH8 LccfTTJc4r9K/nKTwmSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otMuk-00DP9y-98; Fri, 11 Nov 2022 05:49:18 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otMug-00DP4S-3k for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 05:49:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id B217FCE0F52; Fri, 11 Nov 2022 05:49:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFE34C433D6; Fri, 11 Nov 2022 05:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668145745; bh=hU/Yy4eYDYCYpklieod8to4COUTLVXdAA92+1J4XZdk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RX3ISyfDwYghXa2w6ZY0mI9y7mP1oMuySJIeaBAXMyk/zLEu//JlGKeLMpRZ4lUE6 NKanGTyVmZS3GQUZ+3JDHEHth++ffOZeoFRENHcNYAkLwa3MFhjTRE24HT9j7B2RHO w3dY7hNEhEMFdTbmQdZvVh0aLfaN/GAokkk+1TqQK/uWj0Qksk2t1IScB7Vv2o5lPT 0io3tse8ivqlQIZN6u0aIeiakgTH8GsxdDgCCNrarpZ2ELCD+teKau6USNbfHJnQDC d6auBUrJ4NjqhvJTlMUUtYRvYw5xNfOxuJOlcm4mAlBcqjjxe8gYUDPglc3oTJeDgP jmxiBCr9yD8+w== Date: Fri, 11 Nov 2022 13:48:56 +0800 From: Shawn Guo To: Marcel Ziswiler Cc: linux-arm-kernel@lists.infradead.org, Peter Chen , Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Laurent Pinchart , Max Krummenacher , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Sascha Hauer , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 0/6] arm64: dts: verdin-imx8mp: usb dual-role switching et. al. Message-ID: <20221111054856.GE2649582@dragon> References: <20221102131203.35648-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221102131203.35648-1-marcel@ziswiler.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221110_214914_902402_820D6330 X-CRM114-Status: GOOD ( 20.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 02, 2022 at 02:11:57PM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > > This series is an assortment of USB dual-role specific commits as > follows: > > Improvement of pinctrl for vbus-supplies: > As we are using two fixed regulators for Verdin USB_1_EN (SODIMM 155) > and Verdin USB_2_EN (SODIMM 185), those should be muxed as GPIOs rather > than OTG_PWR. > > Removal of USB_2 over-current detection disabling: > The disable-over-current property is only applicable for the > ci-hdrc-usb2 and dwc2 drivers while the i.MX 8M Plus integrates dwc3 > IP. Therefore remove this property which does not really serve any > purpose here. > > Addition of USB_1 over-current detection: > Add Verdin USB_1 over-current detection functionality via Verdin > USB_1_OC# (SODIMM 157) being active-low and removing its previous > gpio_hog3 mapping. > > Disabling of USB port power controls: > Disable port power control on Verdin USB_1/2 as we use regular > fixed-regulators with Verdin USB_1/2_EN as enable GPIOs. > > Addition of GPIO USB-B connector: > Add GPIO USB-B connector (gpio-usb-b-connector) functionality using > Verdin USB_1_ID. > > Marking USB_2 as permanently attached: > As both Dahlia and the Verdin Development Board have on-carrier > permanently attached USB hubs mark Verdin USB_2 as such. > > Note: > Currently, I am still seeing a rare race condition of sorts when booting > the system with Verdin USB_1 as a host port with a USB memory stick > plugged in. This exact patch series applied on top of NXP's latest > downstream 5.15.52_2.1.0 release (together with backporting a few more > dwc3-specific patches) actually makes this same use case work very > reliably. However, NXP also keeps further downstream-only patches which > I plan to further investigate and hopefully upstream a proper fix for > soon. Thanks for the noting! > > > Marcel Ziswiler (6): > arm64: dts: verdin-imx8mp: improve pinctrl for vbus-supplies > arm64: dts: verdin-imx8mp: remove usb_2 over-current detection > disabling > arm64: dts: verdin-imx8mp: add usb_1 over-current detection > arm64: dts: verdin-imx8mp: disable usb port power control > arm64: dts: verdin-imx8mp: add gpio usb-b connector > arm64: dts: verdin-imx8mp: dahlia: mark usb_2 permanently attached Applied all, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel