* [PATCH] dt-bindings: net: sun4i-emac: add dma support
@ 2025-09-03 8:22 Conley Lee
2025-09-03 20:43 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Conley Lee @ 2025-09-03 8:22 UTC (permalink / raw)
To: andrew+netdev, davem, edumazet, kuba, wens, mripard
Cc: netdev, devicetree, linux-sunxi, linux-kernel, Conley Lee
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@foxmail.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: net: sun4i-emac: add dma support
2025-09-03 8:22 [PATCH] dt-bindings: net: sun4i-emac: add dma support Conley Lee
@ 2025-09-03 20:43 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-09-03 20:43 UTC (permalink / raw)
To: Conley Lee
Cc: linux-sunxi, edumazet, linux-kernel, mripard, devicetree,
andrew+netdev, netdev, wens, davem, kuba
On Wed, 03 Sep 2025 16:22:38 +0800, Conley Lee wrote:
> 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@foxmail.com>
> ---
> .../bindings/net/allwinner,sun4i-a10-emac.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-03 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 8:22 [PATCH] dt-bindings: net: sun4i-emac: add dma support Conley Lee
2025-09-03 20:43 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).