From patchwork Thu Feb 9 13:04:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13134525 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 ED270C05027 for ; Thu, 9 Feb 2023 13:05:53 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3fsrnYVxmd/lnRyOES5NmQlayF0vF28DBoos0ixkziU=; b=f/1Hq/nGQQXUrj H2LUGBBq5+u9OKxJYThxRiE3vdOyaKCTky7kqj0fMqZdpHVSCxsXZwawNIklFT6ADclvseJy73S54 wKeJeI8S0GjBGBjbWXVOseRfZDgWoIGNawd0rb43TJWo/YmtBSkNnAllQhhyc56alAG0DejBmmM7Z J7Xs8PSBKhEbiT4cLmO3tQFQwQl3GL3fdg67go1fnb3NAaSju3LG2EGFvazafMBp20L7QYm2Vq7+T ywf9NFKBNtKSslJ0oli8fHmoTPOCiDNBgzjdN+YRHqd23v/2m195y8fG+YK9zbrvM4n2i5WOgkm3H 3bR3Sv9DNHDV79pbMWZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ6bY-001bMf-2c; Thu, 09 Feb 2023 13:04:48 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ6bU-001bLF-Rv for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 13:04:46 +0000 Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:41f3:ffc7:9a38:3654]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id BFBF385780; Thu, 9 Feb 2023 14:04:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1675947880; bh=tTi5EMl4sJJQczyH0yoalL6c6OcYIeHP5SfinVfwjCk=; h=From:To:Cc:Subject:Date:From; b=yp7029cy/JB3bYbh565mSaHrs9vrhEhlMDhLXWSqgFIqbHymscozp0ldmcIb8ySqi pUEMaEgezXWJFGMiRPC0LdHTlWzZ6mIq3oTbwwTMuoQg3J5D5m+PRv5CphwaKUqTy0 C0OjHNkGWwEZb+NFETNpgx8QyVbX9/NPRAJYcmXDzBtLW7nodAMdsu56majUXCTVV0 X5vzoSICa5rFsp5roa7qV6AIX9erpP8Pp+o6Ha+gq60mNnjqxiQpSwjbfvnB63eP4i pbeBQ+6nBzSabTKc90UbI45KsKAhiTBOuU6DTQZpzTmMLwd6mouxGmObn+9GXuvFqA nKHkkgT2NYMkw== From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host Date: Thu, 9 Feb 2023 10:04:29 -0300 Message-Id: <20230209130429.1438053-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_050445_165474_E929DB86 X-CRM114-Status: GOOD ( 10.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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The USBOTG1 port will always operate in host mode in Linux, 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"; };