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 95116C61DA4 for ; Mon, 13 Mar 2023 08:09:59 +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=BkNlceuSFOuQJCN9oPpMDL3BopICZ0KXi3dDTPOitPs=; b=nHJb79L3xWvxaU QKTzS0tuixh9AWqEkYHH+4iV4SGoPgIlV5a2Ly9jJeQzpTSSrux8P/Fb7pCij/OolBB0vphigN5q2 5upb+acnyycB4yMYFlVm5f5oTgQjFJw5dAYJHRVyI83Ah1yMwDIWo9CoWU6MhB3levQsl5OhS9JCX 349Ula4obfvcgyImNJU5ZSoHu3rxlyIGM6/w2tfLwh+OzqKfSZZiTMZ4XoM4Zsp6luuuk2dXaUTy/ 4hdbipFt1NGTgQwiGSzAkReyWrpoHYK1uYSf/FWf8xwF9saaBm+SSjY9jXZNQylmOhFMo/GvnYgyB w7QLe4XOshOsn45MyGzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbdEu-004jBG-Mz; Mon, 13 Mar 2023 08:09:04 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbdEp-004j9X-8L for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 08:09:02 +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 ams.source.kernel.org (Postfix) with ESMTPS id 7F37CB80E38; Mon, 13 Mar 2023 08:08:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC9C8C433EF; Mon, 13 Mar 2023 08:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678694936; bh=cFhJaz4omPB4sIB0JkZtaHaAxrTbV1fQZyjiPr5PM6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uEhagkLutvoJ1mz9jH2N7P8DfUcx7xTDDv3bZm+nHGCjMUBi7EShYGigBJc7Szg9v yhszXOYhakJpSko6Y4M/KcpPEQ0J/zzj0KkRcZO0aO9mZWIae7MLvOdPEY3T3zen0j au1OZ1E4zSe4o3L16TpkL8PiyGIGdsvOEkIRk8yh0qxslCbaCspZevfaffn0V0mvy6 F5JhsKpLAe074LX8RRu9yQ9tYjAf8DuwfNutyv5uVj2puf/o6CmnGgXS6cDZBFk3qU 5HJBWUZP0I6UvWRfJzg/tpT9UKF89GIKE5ZIlQPsKgVsECfLBqPOP3Huf5jp/acn1E p75Fz61l4aPAQ== Date: Mon, 13 Mar 2023 16:08:51 +0800 From: Shawn Guo To: Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host Message-ID: <20230313080851.GL143566@dragon> References: <20230209130429.1438053-1-festevam@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230209130429.1438053-1-festevam@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_010859_552416_72F7295A X-CRM114-Status: GOOD ( 17.61 ) 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 Thu, Feb 09, 2023 at 10:04:29AM -0300, Fabio Estevam wrote: > The USBOTG1 port will always operate in host mode in Linux, in Linux? It could operate in otg mode in bootloader or other OS? Shawn > so describe dr_mode accordingly. > > Signed-off-by: Fabio Estevam > --- > arch/arm/boot/dts/imx7d-smegw01.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts > index c0f00f5db11e..386485755676 100644 > --- a/arch/arm/boot/dts/imx7d-smegw01.dts > +++ b/arch/arm/boot/dts/imx7d-smegw01.dts > @@ -190,7 +190,7 @@ &uart3 { > &usbotg1 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_usbotg1_lpsr>; > - dr_mode = "otg"; > + dr_mode = "host"; > vbus-supply = <®_usbotg_vbus>; > status = "okay"; > }; > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel