Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Xu Yang <xu.yang_2@nxp.com>
Cc: gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, jun.li@nxp.com,
	linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: usb: dwc3-imx8mp: dma-range is required only for imx8mp
Date: Fri, 19 Sep 2025 12:03:41 -0400	[thread overview]
Message-ID: <aM1+3WMeFln6pHwF@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20250919062534.2443959-1-xu.yang_2@nxp.com>

On Fri, Sep 19, 2025 at 02:25:34PM +0800, Xu Yang wrote:
> Only i.MX8MP need dma-range property to let USB controller work properly.

"dma-ranges"

Reviewed-by: Frank Li <Frank.Li@nxp.com>

> Remove dma-range from required list and add limitation for imx8mp.
>
> Fixes: d2a704e29711 ("dt-bindings: usb: dwc3-imx8mp: add imx8mp dwc3 glue bindings")
> Reviewed-by: Jun Li <jun.li@nxp.com>
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> ---
>  .../devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml       | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> index baf130669c38..73e7a60a0060 100644
> --- a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
> @@ -89,13 +89,21 @@ required:
>    - reg
>    - "#address-cells"
>    - "#size-cells"
> -  - dma-ranges
>    - ranges
>    - clocks
>    - clock-names
>    - interrupts
>    - power-domains
>
> +allOf:
> +  - if:
> +      properties:
> +        compatible:
> +          const: fsl,imx8mp-dwc3
> +    then:
> +      required:
> +        - dma-ranges
> +
>  additionalProperties: false
>
>  examples:
> --
> 2.34.1
>


  reply	other threads:[~2025-09-19 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19  6:25 [PATCH] dt-bindings: usb: dwc3-imx8mp: dma-range is required only for imx8mp Xu Yang
2025-09-19 16:03 ` Frank Li [this message]
2025-09-19 17:19   ` Conor Dooley

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=aM1+3WMeFln6pHwF@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox