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

dmaengine: pl08x: Add Faraday FTDMAC020 to compatible list

This augments the PL08x bindings to include the Faraday Technology
FTDMAC020 DMA engine, as it is clearly a derivative of the PL08x
PrimeCell. Also specify that it needs the special peripheral ID
specified to work properly.

Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Linus Walleij and committed by
Vinod Koul
9e972571 4166a56a

+7 -2
+7 -2
Documentation/devicetree/bindings/dma/arm-pl08x.txt
··· 3 3 Required properties: 4 4 - compatible: "arm,pl080", "arm,primecell"; 5 5 "arm,pl081", "arm,primecell"; 6 + "faraday,ftdmac020", "arm,primecell" 7 + - arm,primecell-periphid: on the FTDMAC020 the primecell ID is not hard-coded 8 + in the hardware and must be specified here as <0x0003b080>. This number 9 + follows the PrimeCell standard numbering using the JEP106 vendor code 0x38 10 + for Faraday Technology. 6 11 - reg: Address range of the PL08x registers 7 12 - interrupt: The PL08x interrupt number 8 13 - clocks: The clock running the IP core clock ··· 25 20 - dma-requests: contains the total number of DMA requests supported by the DMAC 26 21 - memcpy-burst-size: the size of the bursts for memcpy: 1, 4, 8, 16, 32 27 22 64, 128 or 256 bytes are legal values 28 - - memcpy-bus-width: the bus width used for memcpy: 8, 16 or 32 are legal 29 - values 23 + - memcpy-bus-width: the bus width used for memcpy in bits: 8, 16 or 32 are legal 24 + values, the Faraday FTDMAC020 can also accept 64 bits 30 25 31 26 Clients 32 27 Required properties: