On Sun, Jun 22, 2014 at 11:48 PM, jonsm...@gmail.com <jonsm...@gmail.com> wrote:
> Why is the channel for TX one less than RX? In the manual both of the
> DRQs are 27.

If you looked at the bindings in the patch, you would see that

    <&dma 1 xx>

specifies dedicated DMA, which indeed has separate channels for TX and RX.

> spi0: spi@01c05000 {
> compatible = "allwinner,sun4i-a10-spi";
> reg = <0x01c05000 0x1000>;
> interrupts = <0 10 4>;
> clocks = <&ahb_gates 20>, <&spi0_clk>;
> clock-names = "ahb", "mod";
> dmas = <&dma 1 27>, <&dma 1 26>;
> dma-names = "rx", "tx";
> status = "disabled";
> #address-cells = <1>;
> #size-cells = <0>;
> };

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to