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 DC12EC6FD19 for ; Mon, 13 Mar 2023 14:15:25 +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=UHwUsi6nRpPqZYx2V+w4T41REyDHgA7osW51rzn+MiE=; b=IG6cRoOxNL40+3 kmIVhrTLwKt05ZHuAGE9DP7msBHNa9XXU/wYdSsgF0Nmz5ffARrMjX8Gy9ka5HBEep+Ka/Nb+XuG7 0rIdWUuU+pamw7efvcitDF4O2CKa8dcDvDNsauHN4pbFA3c5KyIWiPhZX5Cvr9eDQBPjTIQDARjsW /+nd2Ls0NnF0/JnNVeC4GfpwLugCzIoR/4upuSjPamrFKnftHRuDBQyP1T8isYKSu5L6QUbSPG+/W uvgMzh4wo3vL6CrW3eEyKRUeRxJ1pDzGLJhvoZNq8iV1edlYT2yQTw3UTOE+fcOH2VZkm5iQenbFE P0YekSmIF501phuvdfUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbiwZ-0066kj-9u; Mon, 13 Mar 2023 14:14:31 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbiwU-0066jg-TG for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 14:14:29 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 6DCD3612EC; Mon, 13 Mar 2023 14:14:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0309C433EF; Mon, 13 Mar 2023 14:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678716866; bh=/wFiAiGuLl5oxvwXU8m0L8qVOON/4u2QiFYB4rHNYWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RU7qMAavGCQiTooJt/tmfx+B1UJFH95s0QQ9MpjABRf5riYY82B/c0KqTRmxca0Js grOlt0nTlzVDZQ7oRLe0XVZ/c7gZ/qoihvfttgz8lqZ4P0SmoNkufmTZqeEpY9fKcK mEdhoY3bDg0n78tq7raMchgyBH0QJ0T3UcoMEx0XJlGPDrK5mPD6UEnYoUpq39rtO+ UkluSrpNq93ro1tOw0VOzU3qhCWf9vEXTEWNurPoCzonBpvaiTQpp1T15Nk1hrD3qu YDV+8BE6LzzL9bOvCovR8kiMdMcDELnnbDSnKJXmvpCAdLmXBNivnaoHMKqDVhYtok xnFvNRsYhNwsw== Date: Mon, 13 Mar 2023 22:14:19 +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: <20230313141419.GR143566@dragon> References: <20230209130429.1438053-1-festevam@denx.de> <20230313080851.GL143566@dragon> <44962c949658501da108fe92a4186930@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <44962c949658501da108fe92a4186930@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_071428_198257_31F84D69 X-CRM114-Status: GOOD ( 14.63 ) 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 Mon, Mar 13, 2023 at 06:52:32AM -0300, Fabio Estevam wrote: > Hi Shawn, > > On 13/03/2023 05:08, Shawn Guo wrote: > > 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? > > Yes, in U-Boot it can operate in OTG mode where it can be used in serial > download mode. > > In Linux, the USB port only operates in host mode. What stops the USB port from operating in OTG mode? That doesn't sound right, as DT is a description of hardware capability rather than Linux. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel