All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: Emanuele Ghidoli <ghidoliemanuele@gmail.com>,
	"Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: 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: Fri, 30 Oct 2026 12:09:35 -0500	[thread overview]
Message-ID: <auTPTxt5ioBJrr27@SMW015318> (raw)
In-Reply-To: <2a1eb85c-8a30-4594-bdad-8a1dec17b141@gmail.com>

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.

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

  reply	other threads:[~2026-10-30 17:09 UTC|newest]

Thread overview: 14+ 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 [this message]
2026-07-20 21:10 ` [PATCH 2/2] arm64: dts: imx8qm-ss-conn: Add HSIC usb@5b0e0000 node Frank.Li
2026-07-20 21:24   ` sashiko-bot
2026-09-16 20:43     ` Rob Herring
2026-09-17 18:54       ` 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=auTPTxt5ioBJrr27@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --cc=Frank.Li@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=peng.fan@oss.nxp.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.