From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Frank Li <frank.li@nxp.com>,
Li Jun <jun.li@nxp.com>, Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Xu Yang <xu.yang_2@nxp.com>
Cc: linux-usb@vger.kernel.org, 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>
Subject: Re: [PATCH 1/3] dt-bindings: usb: introduce fsl,imx-dwc3
Date: Tue, 03 Feb 2026 08:19:13 +0100 [thread overview]
Message-ID: <2820312.mvXUDI8C0e@steina-w> (raw)
In-Reply-To: <20260202-add-flatten-dts-based-dwc3-imx-driver-v1-1-c44a5e919380@nxp.com>
Am Montag, 2. Februar 2026, 11:27:45 CET schrieb Xu Yang:
> The i.MX USB glue and DWC3 core are closely coupled. Describe the i.MX
> USB block in a single block will bring more benefits than a parent-
> child relation. The new binding is a copy of fsl,imx8mp-dwc3.yaml with
> the needed modifications.
>
> Add the common compatible string "fsl,imx-dwc3" to indicate that the
> flattened module should be selected. This compatible is also used by
> "select" to inform the DeviceTree validator to apply this binding.
>
> To avoid redefining all the platform-specific compatibles, "select" is
> used to tell the DeviceTree validator which binding to use solely on the
> generic compatible.
>
> Mark fsl,imx8mp-dwc3 deprecated, to favor expressing future platforms
> using the new combined binding.
>
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> ---
> .../devicetree/bindings/usb/fsl,imx-dwc3.yaml | 131 +++++++++++++++++++++
> .../devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 13 ++
> 2 files changed, 144 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/fsl,imx-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx-dwc3.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..bc6b9743396e8f6b698706caae71241b0512ce8b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/fsl,imx-dwc3.yaml
> @@ -0,0 +1,131 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright 2026 NXP
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/usb/fsl,imx-dwc3.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP i.MX Soc USB Controller
> +
> +maintainers:
> + - Xu Yang <xu.yang_2@nxp.com>
> +
> +select:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx-dwc3
> + required:
> + - compatible
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - fsl,imx95-dwc3
> + - fsl,imx943-dwc3
> + - fsl,imx8mp-dwc3
Can you please sort this? I would have expected the exact reverse ordering.
> + - const: fsl,imx-dwc3
> +
> + reg:
> + items:
> + - description: DWC3 core registers.
> + - description: HSIO Block Control registers.
> + - description: Wrapper registers of dwc3 core.
> +
> + reg-names:
> + items:
> + - const: core
> + - const: blkctl
> + - const: glue
> +
> + interrupts:
> + items:
> + - description: DWC3 controller interrupt.
> + - description: Wakeup interrupt from glue logic.
> +
> + interrupt-names:
> + items:
> + - const: dwc_usb3
> + - const: wakeup
> +
> + iommus:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: System hsio root clock
> + - description: SoC Bus Clock for AHB/AXI/Native
> + - description: Reference clock for generating ITP when UTMI/ULPI PHY is suspended
> + - description: Suspend clock used for usb wakeup logic.
> +
> + clock-names:
> + items:
> + - const: hsio
> + - const: bus_early
> + - const: ref
> + - const: suspend
> +
> + fsl,permanently-attached:
> + type: boolean
> + description:
> + Indicates if the device attached to a downstream port is
> + permanently attached.
> +
> + fsl,disable-port-power-control:
> + type: boolean
> + description:
> + Indicates whether the host controller implementation includes port
> + power control. Defines Bit 3 in capability register (HCCPARAMS).
> +
> + fsl,over-current-active-low:
> + type: boolean
> + description:
> + Over current signal polarity is active low.
> +
> + fsl,power-active-low:
> + type: boolean
> + description:
> + Power pad (PWR) polarity is active low.
> +
> + power-domains:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - interrupts
> + - power-domains
> +
> +allOf:
> + - $ref: snps,dwc3-common.yaml#
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + usb@4c100000 {
> + compatible = "fsl,imx943-dwc3", "fsl,imx-dwc3";
> + reg = <0x4c100000 0x10000>,
> + <0x4c010010 0x04>,
> + <0x4c1f0000 0x20>;
> + reg-names = "core", "blkctl", "glue";
> + clocks = <&scmi_clk 74>, //IMX94_CLK_HSIO
> + <&scmi_clk 74>, //IMX94_CLK_HSIO
> + <&scmi_clk 2>, //IMX94_CLK_24M
> + <&scmi_clk 1>; //IMX94_CLK_32K
> + clock-names = "hsio", "bus_early", "ref", "suspend";
> + interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "dwc_usb3", "wakeup";
> + power-domains = <&scmi_devpd 13>; //IMX94_PD_HSIO_TOP
> + phys = <&usb3_phy>, <&usb3_phy>;
> + phy-names = "usb2-phy", "usb3-phy";
> + snps,gfladj-refclk-lpm-sel-quirk;
> + snps,parkmode-disable-ss-quirk;
> + status = "disabled";
> + };
> diff --git a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> index 73e7a60a0060dee6417b9469251e121704b7a148..fd23c345149e0dba1ed3919a25195edf247cfc08 100644
> --- a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> @@ -10,6 +10,19 @@ title: NXP iMX8MP Soc USB Controller
> maintainers:
> - Li Jun <jun.li@nxp.com>
>
> +deprecated: true
> +
> +select:
> + properties:
> + compatible:
> + oneOf:
> + - items:
> + - const: fsl,imx95-dwc3
> + - const: fsl,imx8mp-dwc3
Same here.
Best regards,
Alexander
> + - const: fsl,imx8mp-dwc3
> + required:
> + - compatible
> +
> properties:
> compatible:
> oneOf:
>
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
next prev parent reply other threads:[~2026-02-03 7:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 10:27 [PATCH 0/3] add DWC3 i.MX driver based on flatten devicetree Xu Yang
2026-02-02 10:27 ` [PATCH 1/3] dt-bindings: usb: introduce fsl,imx-dwc3 Xu Yang
2026-02-03 7:19 ` Alexander Stein [this message]
2026-02-04 5:41 ` Xu Yang
2026-02-02 10:27 ` [PATCH 2/3] usb: dwc3: add may_lose_power flag Xu Yang
2026-02-02 15:36 ` Frank Li
2026-02-04 5:44 ` Xu Yang
2026-02-03 0:24 ` Thinh Nguyen
2026-02-03 1:16 ` Peng Fan
2026-02-04 1:52 ` Thinh Nguyen
2026-02-04 5:55 ` Xu Yang
2026-02-04 5:47 ` Xu Yang
2026-02-02 10:27 ` [PATCH 3/3] usb: dwc3: introduce flatten model driver of i.MX Soc Xu Yang
2026-02-02 15:42 ` Frank Li
2026-02-03 0:44 ` Thinh Nguyen
2026-02-04 6:19 ` Xu Yang
2026-02-04 6:16 ` Xu Yang
2026-02-03 1:38 ` Peng Fan
2026-02-04 2:27 ` Thinh Nguyen
2026-02-04 6:30 ` Xu Yang
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=2820312.mvXUDI8C0e@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=frank.li@nxp.com \
--cc=gregkh@linuxfoundation.org \
--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=linux-usb@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--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.