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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B5ECC4CEC7 for ; Fri, 13 Sep 2019 03:32:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1273120856 for ; Fri, 13 Sep 2019 03:32:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JJU6Ju6i"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="oOgasMqD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1273120856 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=hHQxYtyzt+UWmvR8FfA4GNWNIJgyHyFAyolO8moqVA4=; b=JJU6Ju6iBf7Jd0 P7zwcG9jSOBCJdgPwt9OfCXT8VJ2oH93rPGQOyPRLFYZhH15FQQUxgnREsaucdPfCxErIlU7743h0 rQfqlNqxwjYraeY4GznHEs6e2q3YaSM8et3bJIlfGG7yyWaQ7xjn9xiZrSpnBV1Im8cdbty/nw6vz oMfrXmnFzgdLe0hFYQl7rCZxGUk4EC0ZGVfjQqbofXnxa4b8aQw8KdkfABtzrVScMI+EpF1Ez4WT1 JuO18ua/ZXEgqkC+9aI9teUCS75ofx55YXyckafM+3i0TxvgtQyL7LM14rA+fpUY4NH8uREUlkzwR vYdjlVnNDdRHUIG72q/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8cJT-0000Lj-Ia; Fri, 13 Sep 2019 03:31:59 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8cJP-0000Kw-RJ for linux-arm-kernel@lists.infradead.org; Fri, 13 Sep 2019 03:31:57 +0000 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B7E62084D; Fri, 13 Sep 2019 03:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568345515; bh=xe/JQYqK2joRWmcoEKC69faO00pRfkUSxLsZFzljHx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oOgasMqDODc+/kPGQTMrlSa8enwJYrsd2Ov9O9jP0QnVdULOh56TqcyOuZ8hTfVaV Uzjj1aeO59WeNJtEkBmwa9FzGw8T8qXW1sSlEHtScKu8WvdSpwfYfag2sgnjk9lcOI io9N4+DGPlePxXUyAFnEvjFHLvdCBC0pRusMovM8= Date: Fri, 13 Sep 2019 11:31:46 +0800 From: Shawn Guo To: =?iso-8859-1?Q?Andr=E9?= Draszik Subject: Re: [PATCH 01/12] ARM: dts: imx7d: cl-som-imx7 imx7d-sbc-imx7: move USB Message-ID: <20190913033145.GG17142@dragon> References: <20190826153800.35400-1-git@andred.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190826153800.35400-1-git@andred.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190912_203155_926797_B6BCCA6F X-CRM114-Status: GOOD ( 17.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , Igor Grinberg , Pengutronix Kernel Team , Fabio Estevam , Ilya Ledvich , NXP Linux Team Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 26, 2019 at 04:37:49PM +0100, Andr=E9 Draszik wrote: > Whether and which USB port is enabled and how they > are powered is a function of the carrier board, not > of the SoM. Different carrier boards can have different > ports enabled / wired up, and power them differently; > so this should really move into the respective DTS. > = > Do so and update the USB power supply to reflect > the actual situation on the sbc-imx7 carrier board. > = > Signed-off-by: Andr=E9 Draszik > Cc: Ilya Ledvich > Cc: Igor Grinberg Ilya, Igor, can you have a look at the series? Shawn > Cc: Rob Herring > Cc: Mark Rutland > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Pengutronix Kernel Team > Cc: Fabio Estevam > Cc: NXP Linux Team > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > --- > arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 24 ------------------------ > arch/arm/boot/dts/imx7d-sbc-imx7.dts | 13 +++++++++++++ > 2 files changed, 13 insertions(+), 24 deletions(-) > = > diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/= imx7d-cl-som-imx7.dts > index 62d5e9a4a781..6f7e85cf0c28 100644 > --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > @@ -22,15 +22,6 @@ > device_type =3D "memory"; > reg =3D <0x80000000 0x10000000>; /* 256 MB - minimal configuration */ > }; > - > - reg_usb_otg1_vbus: regulator-vbus { > - compatible =3D "regulator-fixed"; > - regulator-name =3D "usb_otg1_vbus"; > - regulator-min-microvolt =3D <5000000>; > - regulator-max-microvolt =3D <5000000>; > - gpio =3D <&gpio1 5 GPIO_ACTIVE_HIGH>; > - enable-active-high; > - }; > }; > = > &cpu0 { > @@ -193,13 +184,6 @@ > status =3D "okay"; > }; > = > -&usbotg1 { > - pinctrl-names =3D "default"; > - pinctrl-0 =3D <&pinctrl_usbotg1>; > - vbus-supply =3D <®_usb_otg1_vbus>; > - status =3D "okay"; > -}; > - > &usdhc3 { > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_usdhc3>; > @@ -278,11 +262,3 @@ > >; > }; > }; > - > -&iomuxc_lpsr { > - pinctrl_usbotg1: usbotg1grp { > - fsl,pins =3D < > - MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x14 /* OTG PWREN */ > - >; > - }; > -}; > diff --git a/arch/arm/boot/dts/imx7d-sbc-imx7.dts b/arch/arm/boot/dts/imx= 7d-sbc-imx7.dts > index f8a868552707..aab646903de3 100644 > --- a/arch/arm/boot/dts/imx7d-sbc-imx7.dts > +++ b/arch/arm/boot/dts/imx7d-sbc-imx7.dts > @@ -15,6 +15,14 @@ > / { > model =3D "CompuLab SBC-iMX7"; > compatible =3D "compulab,sbc-imx7", "compulab,cl-som-imx7", "fsl,imx7d"; > + > + reg_usb_vbus: regulator-usb-vbus { > + compatible =3D "regulator-fixed"; > + regulator-name =3D "usb_vbus"; > + regulator-min-microvolt =3D <5000000>; > + regulator-max-microvolt =3D <5000000>; > + regulator-always-on; > + }; > }; > = > &usdhc1 { > @@ -26,6 +34,11 @@ > status =3D "okay"; > }; > = > +&&usbotg1 { > + vbus-supply =3D <®_usb_vbus>; > + status =3D "okay"; > +}; > + > &iomuxc { > pinctrl_usdhc1: usdhc1grp { > fsl,pins =3D < > -- = > 2.23.0.rc1 > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel