From: Peng Fan <peng.fan@oss.nxp.com>
To: Frank Li <Frank.li@oss.nxp.com>
Cc: Emanuele Ghidoli <ghidoliemanuele@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Xu Yang <xu.yang_2@nxp.com>,
Frank Li <Frank.Li@nxp.com>,
"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
Francesco Dolcini <francesco.dolcini@toradex.com>
Subject: Re: [PATCH 1/2] arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information
Date: Tue, 3 Nov 2026 10:05:31 +0800 [thread overview]
Message-ID: <aulBazOZ1pL5XgnF@shlinux89> (raw)
In-Reply-To: <auTPTxt5ioBJrr27@SMW015318>
On Fri, Oct 30, 2026 at 12:09:35PM -0500, Frank Li wrote:
>On Thu, Oct 29, 2026 at 07:55:41AM +0100, Emanuele Ghidoli wrote:
>>
>>
>> On 10/28/26 22:05, Frank Li wrote:
>> > Does it only impact superspeed? High speed work?
>>
>> No, it's not even enumerated, on the Dev board.
>>
>> >
>> > Thank you report this problem. Suppose below patch should fix this problem.
>> >
>> > I have not time to test it today.
>> >
>> >
>> > Frank
>>
>> Tested, it doesn't help.
>>
>> xhci-hcd.1.auto has no fwnode, so platform_dma_configure() never calls
>> of_dma_configure() and the new code in of_iommu_configure() is never
>> reached.
>
>Finially, it is hack at uboot.
>
>592: static int config_smmu_fdt_device_sid(void *blob, int device_offset, int sid)
>601: prop = fdt_getprop(blob, device_offset, "fsl,sc_rsrc_id", &proplen);
>618: ret = fdtdec_parse_phandle_with_args(blob, device_offset,
>620: "power-domains", ...
>578: err = sc_rm_set_master_sid(-1, rsrc, sid);
>681: prop = fdt_getprop(blob, offset, "iommus", &proplen);
>848: if (is_imx8qm()) { ret = config_smmu_fdt(blob);
>
>
>Need combine power-domains with iommus.
StreamID is not default programmed, so we did that in U-Boot.
If not do that in U-Boot, we may need to find a place to configure streamID
in kernel.
Regards
Peng
>
>diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
>index 176e2e332f87c..cc2b9a212780f 100644
>--- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
>+++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
>@@ -189,6 +189,7 @@ usbotg3_cdns3: usb@5b120000 {
> phys = <&usb3_phy>;
> phy-names = "cdns3,usb3-phy";
> cdns,on-chip-buff-size = /bits/ 16 <18>;
>+ power-domains = <&pd IMX_SC_R_USB_2>;
> status = "disabled";
> };
> };
>
>Frank
>
>>
>> Emanuele
next prev parent reply other threads:[~2026-11-03 2:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 21:10 [PATCH 0/2] arm64: dts: imx8qm: add smmu information for usb and add hsic usb port Frank.Li
2026-07-20 21:10 ` [PATCH 1/2] arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information Frank.Li
2026-07-21 7:48 ` Alexander Stein
2026-07-21 15:42 ` Frank Li
2026-10-28 19:44 ` Emanuele Ghidoli
2026-10-28 20:08 ` Frank Li
2026-10-28 21:05 ` Frank Li
2026-10-29 6:55 ` Emanuele Ghidoli
2026-10-30 17:09 ` Frank Li
2026-11-02 17:32 ` Emanuele Ghidoli
2026-11-03 2:05 ` Peng Fan [this message]
2026-07-20 21:10 ` [PATCH 2/2] arm64: dts: imx8qm-ss-conn: Add HSIC usb@5b0e0000 node Frank.Li
2026-08-06 19:41 ` [PATCH 0/2] arm64: dts: imx8qm: add smmu information for usb and add hsic usb port Frank.Li
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=aulBazOZ1pL5XgnF@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=Frank.li@oss.nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=ghidoliemanuele@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=regressions@lists.linux.dev \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=xu.yang_2@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
all inboxes | Powered by JetHome®