]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: net: sun4i-emac: add dma support
authorConley Lee <conleylee@foxmail.com>
Wed, 3 Sep 2025 08:22:38 +0000 (16:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Sep 2025 14:15:11 +0000 (07:15 -0700)
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>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/tencent_4E434174E9D516431365413D1B8047C6BB06@qq.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml

index eb26623dab517e72536d010026fd6b0314a1e3c8..d4d8f3a7918e994805c65e2884185228f3172bba 100644 (file)
@@ -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