lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aM1+3WMeFln6pHwF@lizhi-Precision-Tower-5810>
Date: Fri, 19 Sep 2025 12:03:41 -0400
From: Frank Li <Frank.li@....com>
To: Xu Yang <xu.yang_2@....com>
Cc: gregkh@...uxfoundation.org, robh@...nel.org, krzk+dt@...nel.org,
	conor+dt@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
	kernel@...gutronix.de, festevam@...il.com, jun.li@....com,
	linux-usb@...r.kernel.org, devicetree@...r.kernel.org,
	imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: usb: dwc3-imx8mp: dma-range is required
 only for imx8mp

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@....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@....com>
> Signed-off-by: Xu Yang <xu.yang_2@....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
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ