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

dt-bindings: dma: ingenic: Add compatible strings for MDMA and BDMA

The JZ4760 and JZ4760B SoCs have two additional DMA controllers: the
MDMA, which only supports memcpy operations, and the BDMA which is
mostly used for transfer between memories and the BCH controller.
The JZ4770 also features the same BDMA as in the JZ4760B, but does not
seem to have a MDMA.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211206174259.68133-2-paul@crapouillou.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Paul Cercueil and committed by
Vinod Koul
e0699a75 5f1e024c

+17 -9
+17 -9
Documentation/devicetree/bindings/dma/ingenic,dma.yaml
··· 14 14 15 15 properties: 16 16 compatible: 17 - enum: 18 - - ingenic,jz4740-dma 19 - - ingenic,jz4725b-dma 20 - - ingenic,jz4760-dma 21 - - ingenic,jz4760b-dma 22 - - ingenic,jz4770-dma 23 - - ingenic,jz4780-dma 24 - - ingenic,x1000-dma 25 - - ingenic,x1830-dma 17 + oneOf: 18 + - enum: 19 + - ingenic,jz4740-dma 20 + - ingenic,jz4725b-dma 21 + - ingenic,jz4760-dma 22 + - ingenic,jz4760-bdma 23 + - ingenic,jz4760-mdma 24 + - ingenic,jz4760b-dma 25 + - ingenic,jz4760b-bdma 26 + - ingenic,jz4760b-mdma 27 + - ingenic,jz4770-dma 28 + - ingenic,jz4780-dma 29 + - ingenic,x1000-dma 30 + - ingenic,x1830-dma 31 + - items: 32 + - const: ingenic,jz4770-bdma 33 + - const: ingenic,jz4760b-bdma 26 34 27 35 reg: 28 36 items: