From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17A6F606A322 for ; Thu, 3 Dec 2026 08:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TmVXYbEE; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WRiBJuz/ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=r6JcWldk62+fZNnxgQ9oruWdIUi6zOl/rNQvcRKjO9g=; b=TmVXYbEEdGxsDDvLg/urS4lX00 9qpJBhqXUtkK7NEXj0toXude3EdN+iuVe77+CL4BCYFvUKU5RgHzBYSMrGgL2SexIYiAmIZJN9jZa 0tL50BqrRbHxb0g+zYfSXlzu8z5cIZstkRDlKwSJNiadSwCROTa6wcyV6jxcPQQVV149HLMlXRkyD SFMgOLZV1CeQG1nGAnkT6C2t2AEvg3SzhVyFfwjsHTdIZpGcXbC5ijDe9K1wk2pX0fZPo/dHigSv7 QXr1xzkRMJerWUWxSEEQPrpmt2qapI4YpdZ/rObN9mTxXj1DZewgXwGLF+PQZGbmSAD8uUlIt+N44 mmip4vRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ2Nw-0000000DtCt-3WaQ; Thu, 03 Dec 2026 08:41:48 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ2Nv-0000000DtCj-3q2c for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 08:41:47 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 5C960613F3; Thu, 3 Dec 2026 08:41:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94E361F000C1; Thu, 3 Dec 2026 08:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796287307; bh=r6JcWldk62+fZNnxgQ9oruWdIUi6zOl/rNQvcRKjO9g=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=WRiBJuz//ct/mFJAWIHIrd0QJR0cvrCta2dcMZk9PlS/7GebI7donfUHkO+eoZZv9 NdFoXaOPI2/gb+EfNqGWJRYsZ7VtCSftR53QU7xkDSr5noE68SFbRCiCjaL5Oew/P1 cDwbaBpaZjkbpNFdvo2eQyOiem/rFqwS2weE3xEHuVkfKkGqCQq38GVweOQOAoJUfl OfwSg2Iu1AXrYu4DmK/NhW3fdXkQMPDa2kTNBotGOIwImI0Uyfk0ypOQHuCsgs/0Dm bYQ5MkRzrLnpizHg4C+0fpXqR+DAVhPbvJngQBDBKkoTbwJuu2gI43YxEp/ZS3arox ftCs3viXdo1CA== From: Mattijs Korpershoek To: Xu Yang Cc: Xu Yang , robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, Frank.Li@nxp.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jun.li@nxp.com Subject: Re: [PATCH v2 2/6] arm64: dts: imx8mp: switch usb controller to flattened model In-Reply-To: References: <20260427082728.3641872-1-xu.yang_2@nxp.com> <20260427082728.3641872-2-xu.yang_2@nxp.com> Date: Thu, 03 Dec 2026 09:41:44 +0100 Message-ID: X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, Dec 03, 2026 at 10:01, Xu Yang wrote: > Hi Mattijs, > > On Wed, Dec 02, 2026 at 01:09:11PM +0100, Mattijs Korpershoek wrote: >> Hi Xu, >> >> Thank you for the patch. >> >> On Mon, Apr 27, 2026 at 16:27, Xu Yang wrote: >> >> > Switch to use flattened model for all USB controllers. To enable USB >> > controllers with restricted DMA access range to work correctly, add a >> > simple-bus to constrain the DMA address. >> > >> > Note: >> > This changes the USB controller compatible string from "fsl,imx8mp-dwc3" >> > to "nxp,imx8mp-dwc3". This requires a kernel with CONFIG_USB_DWC3_IMX >> > enabled; otherwise, the new DTB will not be compatible with older one. >> > See commit 76fc9452a6bf ("usb: dwc3: introduce flatten model driver of >> > i.MX Soc") >> > >> > Signed-off-by: Xu Yang >> >> I've tested this on linux-next (next-20261130). >> I've applied patch 1/6 and 2/6. >> >> On my toradex Verdin iMX8M Plus >> (freescale/imx8mp-verdin-nonwifi-ivy.dtb), I can list usb devices: >> >> [root@localhost ~]# uname -a >> Linux localhost 7.4.0-rc5-next-20261130+ #1 SMP PREEMPT_RT Wed Dec 2 10:42:27 CET 2026 aarch64 GNU/Linux >> >> [root@localhost ~]# lsusb >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 001 Device 002: ID 04b4:6502 Cypress Semiconductor Corp. CY4609 >> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 002 Device 002: ID 04b4:6500 Cypress Semiconductor Corp. >> >> We can see that the new flatten driver is used: >> [root@localhost ~]# lsmod | grep dwc3 >> dwc3_imx 20480 1 >> dwc3 221184 1 dwc3_imx >> udc_core 90112 1 dwc3 >> >> So: >> Tested-by: Mattijs Korpershoek > > Thank you for the testing. Due to the compatibility issue, we give up on > merging this patchset at the end. Oh, I see, thank you for letting me know. > > Thanks, > Xu Yang