* [PATCH] ARM: socfpga: fix uart DMA binding error
@ 2015-02-19 12:07 Steffen Trumtrar
2015-02-19 17:29 ` Dinh Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Trumtrar @ 2015-02-19 12:07 UTC (permalink / raw)
To: linux-arm-kernel
socfpga.dtsi is missing the DMA channels for the uart nodes.
This will produce the following errors:
of_dma_request_slave_channel: dma-names property of node '/soc/serial0 at ffc02000' missing or empty
ttyS0 - failed to request DMA
Provide the correct DMA channels to fix this.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/boot/dts/socfpga.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 252c3d1bda50..9d8760956752 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -713,6 +713,9 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&l4_sp_clk>;
+ dmas = <&pdma 28>,
+ <&pdma 29>;
+ dma-names = "tx", "rx";
};
uart1: serial1 at ffc03000 {
@@ -722,6 +725,9 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&l4_sp_clk>;
+ dmas = <&pdma 30>,
+ <&pdma 31>;
+ dma-names = "tx", "rx";
};
rst: rstmgr at ffd05000 {
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: socfpga: fix uart DMA binding error
2015-02-19 12:07 [PATCH] ARM: socfpga: fix uart DMA binding error Steffen Trumtrar
@ 2015-02-19 17:29 ` Dinh Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2015-02-19 17:29 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 19 Feb 2015, Steffen Trumtrar wrote:
> socfpga.dtsi is missing the DMA channels for the uart nodes.
> This will produce the following errors:
>
> of_dma_request_slave_channel: dma-names property of node '/soc/serial0 at ffc02000' missing or empty
> ttyS0 - failed to request DMA
>
> Provide the correct DMA channels to fix this.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> arch/arm/boot/dts/socfpga.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 252c3d1bda50..9d8760956752 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -713,6 +713,9 @@
> reg-shift = <2>;
> reg-io-width = <4>;
> clocks = <&l4_sp_clk>;
> + dmas = <&pdma 28>,
> + <&pdma 29>;
> + dma-names = "tx", "rx";
> };
>
> uart1: serial1 at ffc03000 {
> @@ -722,6 +725,9 @@
> reg-shift = <2>;
> reg-io-width = <4>;
> clocks = <&l4_sp_clk>;
> + dmas = <&pdma 30>,
> + <&pdma 31>;
> + dma-names = "tx", "rx";
> };
>
> rst: rstmgr at ffd05000 {
> --
> 2.1.4
>
>
Applied to fixes.
BR,
Dinh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-19 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 12:07 [PATCH] ARM: socfpga: fix uart DMA binding error Steffen Trumtrar
2015-02-19 17:29 ` Dinh Nguyen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.