aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/dma
diff options
context:
space:
mode:
authorGravatar Conor Dooley <conor.dooley@microchip.com> 2022-07-05 22:52:04 +0100
committerGravatar Vinod Koul <vkoul@kernel.org> 2022-07-06 11:15:05 +0530
commit4ce653d7c651d6a9fc6d5db4275624ac8d856b99 (patch)
treee7cb4626fcf7e3fd4b6a8d30d5a6d99d556946b1 /Documentation/devicetree/bindings/dma
parentdmaengine: dmatest: use strscpy to replace strlcpy (diff)
downloadlinux-4ce653d7c651d6a9fc6d5db4275624ac8d856b99.tar.gz
linux-4ce653d7c651d6a9fc6d5db4275624ac8d856b99.tar.bz2
linux-4ce653d7c651d6a9fc6d5db4275624ac8d856b99.zip
dt-bindings: dma: dw-axi-dmac: extend the number of interrupts
The Canaan k210 apparently has a Sysnopsys Designware AXI DMA controller, but according to the documentation & devicetree it has 6 interrupts rather than the standard one. Support the 6 interrupt configuration by unconditionally extending the binding to a maximum of 8 per-channel interrupts thereby matching the number of possible channels. Link: https://canaan-creative.com/wp-content/uploads/2020/03/kendryte_standalone_programming_guide_20190311144158_en.pdf #Page 51 Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20220705215213.1802496-4-mail@conchuod.ie Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/dma')
-rw-r--r--Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
index 4324a94b26b2..67aa7bb6d36a 100644
--- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
+++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
@@ -34,7 +34,12 @@ properties:
- const: axidma_apb_regs
interrupts:
- maxItems: 1
+ description:
+ If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this
+ will be per-channel interrupts. Otherwise, this is a single combined IRQ
+ for all channels.
+ minItems: 1
+ maxItems: 8
clocks:
items: