diff mbox series

[1/2] dt-bindings: net: fsl,fman: allow dma-coherence property

Message ID 20240628213711.3114790-1-Frank.Li@nxp.com (mailing list archive)
State Superseded
Headers show
Series [1/2] dt-bindings: net: fsl,fman: allow dma-coherence property | expand

Commit Message

Frank Li June 28, 2024, 9:37 p.m. UTC
Add dma-coherence property to fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: dma-controller@8380000: '#dma-cells' is a required property
        from schema $id: http://devicetree.org/schemas/dma/fsl-qdma.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/net/fsl,fman.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) July 1, 2024, 5:26 p.m. UTC | #1
On Fri, Jun 28, 2024 at 05:37:10PM -0400, Frank Li wrote:
> Add dma-coherence property to fix below warning.

'dma-coherent property' or 'DMA coherence property'.

> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: dma-controller@8380000: '#dma-cells' is a required property

That doesn't look related...

>         from schema $id: http://devicetree.org/schemas/dma/fsl-qdma.yaml#
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/net/fsl,fman.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/fsl,fman.yaml b/Documentation/devicetree/bindings/net/fsl,fman.yaml
> index 7908f67413dea..f0261861f3cb2 100644
> --- a/Documentation/devicetree/bindings/net/fsl,fman.yaml
> +++ b/Documentation/devicetree/bindings/net/fsl,fman.yaml
> @@ -78,6 +78,8 @@ properties:
>        - description: The first element is associated with the event interrupts.
>        - description: the second element is associated with the error interrupts.
>  
> +  dma-coherent: true
> +
>    fsl,qman-channel-range:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      description:
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/fsl,fman.yaml b/Documentation/devicetree/bindings/net/fsl,fman.yaml
index 7908f67413dea..f0261861f3cb2 100644
--- a/Documentation/devicetree/bindings/net/fsl,fman.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,fman.yaml
@@ -78,6 +78,8 @@  properties:
       - description: The first element is associated with the event interrupts.
       - description: the second element is associated with the error interrupts.
 
+  dma-coherent: true
+
   fsl,qman-channel-range:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     description: