Skip to content

Commit 0a69466

Browse files
kromlivinodkoul
authored andcommitted
dt-bindings: dma: snps,dw-axi-dmac: Add compatible string for Agilex5
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>
1 parent 99e0728 commit 0a69466

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ allOf:
1717

1818
properties:
1919
compatible:
20-
enum:
21-
- snps,axi-dma-1.01a
22-
- intel,kmb-axi-dma
23-
- starfive,jh7110-axi-dma
24-
- starfive,jh8100-axi-dma
20+
oneOf:
21+
- enum:
22+
- snps,axi-dma-1.01a
23+
- intel,kmb-axi-dma
24+
- starfive,jh7110-axi-dma
25+
- starfive,jh8100-axi-dma
26+
- items:
27+
- const: altr,agilex5-axi-dma
28+
- const: snps,axi-dma-1.01a
2529

2630
reg:
2731
minItems: 1

0 commit comments

Comments
 (0)