]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: dma: snps,dw-axi-dmac: Add compatible string for Agilex5
authorKhairul Anuar Romli <khairul.anuar.romli@altera.com>
Mon, 29 Dec 2025 03:49:01 +0000 (11:49 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 1 Jan 2026 11:39:48 +0000 (17:09 +0530)
The address bus on Agilex5 is limited to 40 bits. When SMMU is enable this
will cause address truncation and translation faults. Hence introducing
"altr,agilex5-axi-dma" to enable platform specific configuration to
configure the dma addressable bit mask.

Add a fallback capability for the compatible property to allow driver to
probe and initialize with a newly added compatible string without requiring
additional entry in the driver.

Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/dbc775f114445c06c6e4ce424333e1f3cbb92583.1766966955.git.khairul.anuar.romli@altera.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml

index a393a33c8908f3160b41af1d7b6c11e23f236e5a..216cda21c538b4988de8c2ae913e0c0840434764 100644 (file)
@@ -17,11 +17,15 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - snps,axi-dma-1.01a
-      - intel,kmb-axi-dma
-      - starfive,jh7110-axi-dma
-      - starfive,jh8100-axi-dma
+    oneOf:
+      - enum:
+          - snps,axi-dma-1.01a
+          - intel,kmb-axi-dma
+          - starfive,jh7110-axi-dma
+          - starfive,jh8100-axi-dma
+      - items:
+          - const: altr,agilex5-axi-dma
+          - const: snps,axi-dma-1.01a
 
   reg:
     minItems: 1