Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1682390 > unrolled thread
| Started by | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> |
|---|---|
| First post | 2017-07-06 14:30 +0200 |
| Last post | 2017-07-06 14:30 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH v2 0/4] Add STM32 MDMA driver Pierre-Yves MORDRET <pierre-yves.mordret@st.com> - 2017-07-06 14:30 +0200
[PATCH v2 3/4] ARM: dts: stm32: Add MDMA support for STM32H743 SoC Pierre-Yves MORDRET <pierre-yves.mordret@st.com> - 2017-07-06 14:30 +0200
| From | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> |
|---|---|
| Date | 2017-07-06 14:30 +0200 |
| Subject | [PATCH v2 0/4] Add STM32 MDMA driver |
| Message-ID | <u0e4V-4gf-3@gated-at.bofh.it> |
This patchset adds support for the STM32 MDMA controller.
The Master Direct memory access (MDMA) provides high-speed data transfer
between memory and memory or between peripherals and memory.
Contrary to STM32 DMA, the STM32 MDMA controller supports hardware LLI and
uses a larger integrated FIFO (128 vs 16 bytes)
---
Version history:
v2:
* change compatible into st,stm32h7-mdma to be more SoC specific
* Add MDMA support in DT for H7
* Add MDMA support in STM32 defconfig
---
Pierre-Yves MORDRET (4):
dt-bindings: Document the STM32 MDMA bindings
dmaengine: Add STM32 MDMA driver
ARM: dts: stm32: Add MDMA support for STM32H743 SoC
ARM: configs: stm32: Add MDMA support in STM32 defconfig
.../devicetree/bindings/dma/stm32-mdma.txt | 94 ++
arch/arm/boot/dts/stm32h743.dtsi | 10 +
arch/arm/configs/stm32_defconfig | 1 +
drivers/dma/Kconfig | 12 +
drivers/dma/Makefile | 1 +
drivers/dma/stm32-mdma.c | 1536 ++++++++++++++++++++
6 files changed, 1654 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/stm32-mdma.txt
create mode 100644 drivers/dma/stm32-mdma.c
--
2.7.4
[toc] | [next] | [standalone]
| From | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> |
|---|---|
| Date | 2017-07-06 14:30 +0200 |
| Subject | [PATCH v2 3/4] ARM: dts: stm32: Add MDMA support for STM32H743 SoC |
| Message-ID | <u0e4X-4gf-47@gated-at.bofh.it> |
| In reply to | #1682390 |
This patch adds MDMA support for STM32H743 SoC.
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
Version history:
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 4685629..cc566df 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -74,6 +74,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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web