diff mbox

[v4,3/4] ARM: dts: stm32: Add MDMA support for STM32H743 SoC

Message ID 1503671466-32029-4-git-send-email-pierre-yves.mordret@st.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Pierre Yves MORDRET Aug. 25, 2017, 2:31 p.m. UTC
This patch adds MDMA support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
 Version history:
    v4:
    v3:
        * None
    v2:
        * Add MDMA support in DT for H7
---
---
 arch/arm/boot/dts/stm32h743.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Vinod Koul Sept. 26, 2017, 5:44 p.m. UTC | #1
On Fri, Aug 25, 2017 at 04:31:05PM +0200, Pierre-Yves MORDRET wrote:
> This patch adds MDMA support for STM32H743 SoC.

Need ACK from ARM folks

> 
> Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
> ---
>  Version history:
>     v4:
>     v3:
>         * None
>     v2:
>         * Add MDMA support in DT for H7
> ---
> ---
>  arch/arm/boot/dts/stm32h743.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 36a99db..af44eae 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -82,6 +82,16 @@
>  			interrupts = <50>;
>  			clocks = <&timer_clk>;
>  		};
> +
> +		mdma1: dma@52000000 {
> +			compatible = "st,stm32h7-mdma";
> +			reg = <0x52000000 0x1000>;
> +			interrupts = <122>;
> +			clocks = <&timer_clk>;
> +			#dma-cells = <5>;
> +			dma-channels = <16>;
> +			dma-requests = <32>;
> +		};
>  	};
>  };
>  
> -- 
> 2.7.4
>
Alexandre TORGUE Sept. 27, 2017, 7:14 a.m. UTC | #2
Hi Vinod

On 09/26/2017 07:44 PM, Vinod Koul wrote:
> On Fri, Aug 25, 2017 at 04:31:05PM +0200, Pierre-Yves MORDRET wrote:
>> This patch adds MDMA support for STM32H743 SoC.
> 
> Need ACK from ARM folks

I will take ARM patches (config + DT) in my pull request for 4.15 (if 
you plan to take driver part in your PR for 4.15)

Regards
Alex

> 
>>
>> Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
>> ---
>>   Version history:
>>      v4:
>>      v3:
>>          * None
>>      v2:
>>          * Add MDMA support in DT for H7
>> ---
>> ---
>>   arch/arm/boot/dts/stm32h743.dtsi | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
>> index 36a99db..af44eae 100644
>> --- a/arch/arm/boot/dts/stm32h743.dtsi
>> +++ b/arch/arm/boot/dts/stm32h743.dtsi
>> @@ -82,6 +82,16 @@
>>   			interrupts = <50>;
>>   			clocks = <&timer_clk>;
>>   		};
>> +
>> +		mdma1: dma@52000000 {
>> +			compatible = "st,stm32h7-mdma";
>> +			reg = <0x52000000 0x1000>;
>> +			interrupts = <122>;
>> +			clocks = <&timer_clk>;
>> +			#dma-cells = <5>;
>> +			dma-channels = <16>;
>> +			dma-requests = <32>;
>> +		};
>>   	};
>>   };
>>   
>> -- 
>> 2.7.4
>>
> 
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 36a99db..af44eae 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -82,6 +82,16 @@ 
 			interrupts = <50>;
 			clocks = <&timer_clk>;
 		};
+
+		mdma1: dma@52000000 {
+			compatible = "st,stm32h7-mdma";
+			reg = <0x52000000 0x1000>;
+			interrupts = <122>;
+			clocks = <&timer_clk>;
+			#dma-cells = <5>;
+			dma-channels = <16>;
+			dma-requests = <32>;
+		};
 	};
 };