[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_4E434174E9D516431365413D1B8047C6BB06@qq.com>
Date: Wed, 3 Sep 2025 16:22:38 +0800
From: Conley Lee <conleylee@...mail.com>
To: andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
wens@...e.org,
mripard@...nel.org
Cc: netdev@...r.kernel.org,
devicetree@...r.kernel.org,
linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Conley Lee <conleylee@...mail.com>
Subject: [PATCH] dt-bindings: net: sun4i-emac: add dma support
The sun4i EMAC supports DMA for data transmission,
so it is necessary to add DMA options to the device tree bindings.
Signed-off-by: Conley Lee <conleylee@...mail.com>
---
.../bindings/net/allwinner,sun4i-a10-emac.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml
index eb26623da..d4d8f3a79 100644
--- a/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml
+++ b/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml
@@ -33,6 +33,15 @@ properties:
- items:
- description: phandle to SRAM
- description: register value for device
+ dmas:
+ items:
+ - description: RX DMA Channel
+ - description: TX DMA Channel
+
+ dma-names:
+ items:
+ - const: rx
+ - const: tx
required:
- compatible
--
2.25.1
Powered by blists - more mailing lists