2018-04-20 09:17:06

by Pierre-Yves MORDRET

[permalink] [raw]
Subject: [PATCH v1 0/2] Add MDMA Support on STM32MP157C

This patch adds MDMA support on STM32MP157C with configs and device tree.
---
Version history:
v1:
* Initial
---

Pierre-Yves MORDRET (2):
ARM: configs: stm32: Add MDMA support on STM32MP157C
ARM: dts: stm32: Add MDMA support on STM32MP157C

arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
arch/arm/mach-stm32/Kconfig | 1 +
2 files changed, 11 insertions(+)

--
2.7.4



2018-04-20 09:17:11

by Pierre-Yves MORDRET

[permalink] [raw]
Subject: [PATCH v1 1/2] ARM: configs: stm32: Add MDMA support on STM32MP157C

This patch adds MDMA support on STM32MP157C

Signed-off-by: Pierre-Yves MORDRET <[email protected]>
---
Version history:
v1:
* Initial
---
---
arch/arm/mach-stm32/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index 713c068..730feae 100644
--- a/arch/arm/mach-stm32/Kconfig
+++ b/arch/arm/mach-stm32/Kconfig
@@ -46,6 +46,7 @@ if ARCH_MULTI_V7

config MACH_STM32MP157
bool "STMicroelectronics STM32MP157"
+ select STM32_MDMA
default y

endif # ARMv7-A
--
2.7.4


2018-04-20 09:17:24

by Pierre-Yves MORDRET

[permalink] [raw]
Subject: [PATCH v1 2/2] ARM: dts: stm32: Add MDMA support on STM32MP157C

Activate MDMA for STM32MP157C

Signed-off-by: Pierre-Yves MORDRET <[email protected]>
---
Version history:
v1:
* Initial
---
---
arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc..07cbcde 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -167,6 +167,16 @@
#reset-cells = <1>;
};

+ mdma1: dma@58000000 {
+ compatible = "st,stm32h7-mdma";
+ reg = <0x58000000 0x1000>;
+ interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&rcc MDMA>;
+ #dma-cells = <5>;
+ dma-channels = <32>;
+ dma-requests = <48>;
+ };
+
usart1: serial@5c000000 {
compatible = "st,stm32h7-uart";
reg = <0x5c000000 0x400>;
--
2.7.4


2018-04-23 09:05:55

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] ARM: configs: stm32: Add MDMA support on STM32MP157C

Hi Pierre-Yves,

On 04/20/2018 11:15 AM, Pierre-Yves MORDRET wrote:
> This patch adds MDMA support on STM32MP157C
>
> Signed-off-by: Pierre-Yves MORDRET <[email protected]>
> ---
> Version history:
> v1:
> * Initial
> ---
> ---
> arch/arm/mach-stm32/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
> index 713c068..730feae 100644
> --- a/arch/arm/mach-stm32/Kconfig
> +++ b/arch/arm/mach-stm32/Kconfig
> @@ -46,6 +46,7 @@ if ARCH_MULTI_V7
>
> config MACH_STM32MP157
> bool "STMicroelectronics STM32MP157"
> + select STM32_MDMA
> default y
>
> endif # ARMv7-A
>

For patches located in mach-stm32, next time I prefer that you format
commit header as following:

ARM: stm32: Add MDMA support on STM32MP157C

I don't see other issue, so don't resend for that, I will change it.

Regards
Alex

2018-05-02 14:26:42

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH v1 0/2] Add MDMA Support on STM32MP157C

Hi,

On 04/20/2018 11:15 AM, Pierre-Yves MORDRET wrote:
> This patch adds MDMA support on STM32MP157C with configs and device tree.
> ---
> Version history:
> v1:
> * Initial
> ---
>
> Pierre-Yves MORDRET (2):
> ARM: configs: stm32: Add MDMA support on STM32MP157C
> ARM: dts: stm32: Add MDMA support on STM32MP157C
>
> arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
> arch/arm/mach-stm32/Kconfig | 1 +
> 2 files changed, 11 insertions(+)
>

Series applied on stm32-next.
As said before I modified commit header for mach-stm32/Kconfig patch.

Regards
Alex