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

dt-bindings: jz4780-dma: Update bindings to reflect driver changes

The driver now expects the devicetree to supply a second memory
resource. This resource is mandatory on the newly supported SoCs.
For the JZ4780, new devicetree code must also provide it, although the
driver is still compatible with older devicetree binaries.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Paul Cercueil and committed by
Vinod Koul
77da5d19 5b394b2d

+10 -4
+10 -4
Documentation/devicetree/bindings/dma/jz4780-dma.txt
··· 2 2 3 3 Required properties: 4 4 5 - - compatible: Should be "ingenic,jz4780-dma" 6 - - reg: Should contain the DMA controller registers location and length. 5 + - compatible: Should be one of: 6 + * ingenic,jz4740-dma 7 + * ingenic,jz4725b-dma 8 + * ingenic,jz4770-dma 9 + * ingenic,jz4780-dma 10 + - reg: Should contain the DMA channel registers location and length, followed 11 + by the DMA controller registers location and length. 7 12 - interrupts: Should contain the interrupt specifier of the DMA controller. 8 13 - clocks: Should contain a clock specifier for the JZ4780 PDMA clock. 9 14 - #dma-cells: Must be <2>. Number of integer cells in the dmas property of ··· 24 19 25 20 Example: 26 21 27 - dma: dma@13420000 { 22 + dma: dma-controller@13420000 { 28 23 compatible = "ingenic,jz4780-dma"; 29 - reg = <0x13420000 0x10000>; 24 + reg = <0x13420000 0x400 25 + 0x13421000 0x40>; 30 26 31 27 interrupt-parent = <&intc>; 32 28 interrupts = <10>;