From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUojc-0004gJ-QC for barebox@lists.infradead.org; Thu, 06 Dec 2018 08:10:17 +0000 Date: Thu, 6 Dec 2018 09:10:00 +0100 From: Sascha Hauer Message-ID: <20181206081000.iyooz56tcbcrs4cr@pengutronix.de> References: <1544024437-35189-1-git-send-email-s.riedmueller@phytec.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1544024437-35189-1-git-send-email-s.riedmueller@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/3] ARM: dts: phyCORE-i.MX 6UL: Enable USB host port To: Stefan Riedmueller Cc: barebox@lists.infradead.org On Wed, Dec 05, 2018 at 04:40:35PM +0100, Stefan Riedmueller wrote: > The phyBOARD-Segin baseboard of the phyCORE-i.MX 6UL features a USB > type A connector on the second USB OTG port of the i.MX 6UL. So enable this > port as a host port. > > Signed-off-by: Stefan Riedmueller > --- > arch/arm/dts/imx6ul-phytec-phycore-som.dts | 4 ++++ > arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 6 ++++++ > 2 files changed, 10 insertions(+) Applied, thanks Sascha > > diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dts b/arch/arm/dts/imx6ul-phytec-phycore-som.dts > index 73f7dbe9a6b3..509424347082 100644 > --- a/arch/arm/dts/imx6ul-phytec-phycore-som.dts > +++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dts > @@ -39,3 +39,7 @@ > &usdhc1 { > status = "okay"; > }; > + > +&usbotg2 { > + status = "okay"; > +}; > diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi > index 2504c9729dd1..05bf18d6f1b2 100644 > --- a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi > +++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi > @@ -89,6 +89,12 @@ > status = "disabled"; > }; > > +&usbotg2 { > + dr_mode = "host"; > + disable-over-current; > + status = "disabled"; > +}; > + > &usdhc1 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_usdhc1>; > -- > 2.7.4 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox