Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Conor Dooley and committed by
Vinod Koul
4ce653d7 6bc7ea3c

+6 -1
+6 -1
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
··· 34 34 - const: axidma_apb_regs 35 35 36 36 interrupts: 37 - maxItems: 1 37 + description: 38 + If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this 39 + will be per-channel interrupts. Otherwise, this is a single combined IRQ 40 + for all channels. 41 + minItems: 1 42 + maxItems: 8 38 43 39 44 clocks: 40 45 items: