[PATCH net-next 03/13] dt-bindings: net: cdns,macb: allow dma-coherent

Théo Lebrun posted 13 patches 10 months, 3 weeks ago
There is a newer version of this series
[PATCH net-next 03/13] dt-bindings: net: cdns,macb: allow dma-coherent
Posted by Théo Lebrun 10 months, 3 weeks ago
On EyeQ5, the GEM DMA controller is coherent with the CPU;
allow specifying the information.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
 Documentation/devicetree/bindings/net/cdns,macb.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml
index 36fcae1b20d757b3ebe615a9fc66068000ded56d..8a3f0807ffce89ab17bf561722833e355a4a0238 100644
--- a/Documentation/devicetree/bindings/net/cdns,macb.yaml
+++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml
@@ -112,6 +112,8 @@ properties:
   iommus:
     maxItems: 1
 
+  dma-coherent: true
+
   power-domains:
     maxItems: 1
 

-- 
2.48.1

Re: [PATCH net-next 03/13] dt-bindings: net: cdns,macb: allow dma-coherent
Posted by Rob Herring (Arm) 10 months, 3 weeks ago
On Fri, 21 Mar 2025 20:09:34 +0100, Théo Lebrun wrote:
> On EyeQ5, the GEM DMA controller is coherent with the CPU;
> allow specifying the information.
> 
> Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
> ---
>  Documentation/devicetree/bindings/net/cdns,macb.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>