From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Xu Yang <xu.yang_2@oss.nxp.com>
Cc: Xu Yang <xu.yang_2@nxp.com>,
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
Date: Thu, 03 Dec 2026 09:41:44 +0100 [thread overview]
Message-ID: <xhkdba4mm4uyf.fsf@mkorpers-koolstof.csb> (raw)
In-Reply-To: <wsvzr6sl6xg3j7oqn24ohjoi2shftat3lxc4nl5j4gazax2ham@oz5c3jjyboxf>
On Thu, Dec 03, 2026 at 10:01, Xu Yang <xu.yang_2@oss.nxp.com> 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 <xu.yang_2@nxp.com> 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 <xu.yang_2@nxp.com>
>>
>> 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 <mkorpershoek@kernel.org>
>
> 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
next prev parent reply other threads:[~2026-12-03 8:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 8:27 [PATCH v2 1/6] arm64: dts: imx8mp: reorder usb related nodes Xu Yang
2026-04-27 8:27 ` [PATCH v2 2/6] arm64: dts: imx8mp: switch usb controller to flattened model Xu Yang
2026-12-02 12:09 ` Mattijs Korpershoek
2026-12-03 2:01 ` Xu Yang
2026-12-03 8:41 ` Mattijs Korpershoek [this message]
2026-04-27 8:27 ` [PATCH v2 3/6] arm64: dts: imx8mp-evk: add typec node Xu Yang
2026-04-27 8:27 ` [PATCH v2 4/6] arm64: dts: imx8mp-evk: add usb3_phy1 tuning properties Xu Yang
2026-04-27 8:27 ` [PATCH v2 5/6] arm64: dts: imx95: switch usb3 controller to flattened model Xu Yang
2026-04-27 8:27 ` [PATCH v2 6/6] arm64: dts: imx8mq-evk: add typec node Xu Yang
2026-12-02 12:01 ` [PATCH v2 1/6] arm64: dts: imx8mp: reorder usb related nodes Mattijs Korpershoek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xhkdba4mm4uyf.fsf@mkorpers-koolstof.csb \
--to=mkorpershoek@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=jun.li@nxp.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=xu.yang_2@nxp.com \
--cc=xu.yang_2@oss.nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox