serial: sirf: move to use generic dma dt-binding to get dma channels
authorQipan Li <Qipan.Li@csr.com>
Thu, 30 Jan 2014 05:57:29 +0000 (13:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 18:36:25 +0000 (10:36 -0800)
commit9be16b38cf43181efc12ee6f467aaf222ad31b03
treea2ee5255bc6e3089e7644c91f1fae744e0568f70
parentef2889f7ffee67f0aed49e854c72be63f1466759
serial: sirf: move to use generic dma dt-binding to get dma channels

instead of using sirf specific dma channel property like "sirf,uart-dma-rx-channel"
and "sirf,uart-dma-tx-channel", here we move to use generic dma dt-binding to get
the channel like:
- sirf,uart-dma-rx-channel = <21>;
- sirf,uart-dma-tx-channel = <2>;
+ dmas = <&dmac1 5>, <&dmac0 2>;
+ dma-names = "rx", "tx";

and we move dma_request_channel() to dma_request_slave_channel(), we don't need to
call sirfsoc dma filter function sirfsoc_dma_filter_id() again.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/atlas6.dtsi
arch/arm/boot/dts/prima2.dtsi
drivers/tty/serial/sirfsoc_uart.c
drivers/tty/serial/sirfsoc_uart.h