linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC
@ 2017-09-29 14:18 Pierre-Yves MORDRET
  2017-10-06 13:02 ` Alexandre Torgue
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Yves MORDRET @ 2017-09-29 14:18 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Russell King, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-arm-kernel, linux-kernel, Pierre-Yves MORDRET

This patch adds DMAMUX support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
 Version history:
    v3:
       * Rebase on v4.14-rc2
    v2:
       * Update DTS to be compliant with up-streamed bindings
    v1:
       * Initial
---
---
 arch/arm/boot/dts/stm32h743.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 58ec227..e8457f6 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -121,6 +121,7 @@
 			clocks = <&timer_clk>;
 			#dma-cells = <4>;
 			st,mem2mem;
+			dma-requests = <8>;
 			status = "disabled";
 		};
 
@@ -138,6 +139,7 @@
 			clocks = <&timer_clk>;
 			#dma-cells = <4>;
 			st,mem2mem;
+			dma-requests = <8>;
 			status = "disabled";
 		};
 
@@ -193,6 +195,16 @@
 				status = "disabled";
 			};
 		};
+
+		dmamux1: dma-router@40020800 {
+			compatible = "st,stm32h7-dmamux";
+			reg = <0x40020800 0x1c>;
+			#dma-cells = <3>;
+			dma-channels = <16>;
+			dma-requests = <128>;
+			dma-masters = <&dma1 &dma2>;
+			clocks = <&timer_clk>;
+		};
 	};
 };
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC
  2017-09-29 14:18 [PATCH v3] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC Pierre-Yves MORDRET
@ 2017-10-06 13:02 ` Alexandre Torgue
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Torgue @ 2017-10-06 13:02 UTC (permalink / raw)
  To: Pierre-Yves MORDRET, Rob Herring, Mark Rutland, Russell King,
	Maxime Coquelin
  Cc: devicetree, linux-arm-kernel, linux-kernel

Hi

On 09/29/2017 04:18 PM, Pierre-Yves MORDRET wrote:
> This patch adds DMAMUX support for STM32H743 SoC.
> 
> Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
> ---
>   Version history:
>      v3:
>         * Rebase on v4.14-rc2
>      v2:
>         * Update DTS to be compliant with up-streamed bindings
>      v1:
>         * Initial
> ---
> ---
>   arch/arm/boot/dts/stm32h743.dtsi | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 58ec227..e8457f6 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi


Applied on stm32-dt-for-v4.15 branch.

Thanks
Alex


> @@ -121,6 +121,7 @@
>   			clocks = <&timer_clk>;
>   			#dma-cells = <4>;
>   			st,mem2mem;
> +			dma-requests = <8>;
>   			status = "disabled";
>   		};
>   
> @@ -138,6 +139,7 @@
>   			clocks = <&timer_clk>;
>   			#dma-cells = <4>;
>   			st,mem2mem;
> +			dma-requests = <8>;
>   			status = "disabled";
>   		};
>   
> @@ -193,6 +195,16 @@
>   				status = "disabled";
>   			};
>   		};
> +
> +		dmamux1: dma-router@40020800 {
> +			compatible = "st,stm32h7-dmamux";
> +			reg = <0x40020800 0x1c>;
> +			#dma-cells = <3>;
> +			dma-channels = <16>;
> +			dma-requests = <128>;
> +			dma-masters = <&dma1 &dma2>;
> +			clocks = <&timer_clk>;
> +		};
>   	};
>   };
>   
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-06 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29 14:18 [PATCH v3] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC Pierre-Yves MORDRET
2017-10-06 13:02 ` Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).