diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2014-10-31 12:36:55 +0000 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2014-10-31 12:36:55 +0000 |
commit | dca28235ca050295144bc70758f587102b379243 (patch) | |
tree | f0f9e7f72d3ffbeb9b16a96260e294afdfbd7d95 | |
parent | c140ee20d93f29522396858894acfbcb5751acb1 (diff) | |
download | linux-arm64-dca28235ca050295144bc70758f587102b379243.tar.gz linux-arm64-dca28235ca050295144bc70758f587102b379243.tar.bz2 linux-arm64-dca28235ca050295144bc70758f587102b379243.zip |
Juno: Enable DMA for PL011 UART.
PL011 can now use DMA. TX channel is always used, RX usage depends
on the DMA engine's ability to process residual data (absent in
Juno). To cater for RX channel not being activated we als enable
to automatic polling.
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
-rw-r--r-- | arch/arm64/boot/dts/juno.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/juno.dts b/arch/arm64/boot/dts/juno.dts index be5bf734846..e405426e27f 100644 --- a/arch/arm64/boot/dts/juno.dts +++ b/arch/arm64/boot/dts/juno.dts @@ -371,9 +371,10 @@ interrupts = <0 83 4>; clocks = <&soc_uartclk>, <&soc_refclk100mhz>; clock-names = "uartclk", "apb_pclk"; - /* dmas = <&dma0 1 + dmas = <&dma0 1 &dma0 2>; - dma-names = "rx", "tx"; */ + dma-names = "rx", "tx"; + auto-poll = <1>; }; /* this UART is reserved for secure software. |