Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720131 > unrolled thread

[PATCH v4 0/4] Add STM32 MDMA driver

Started byPierre-Yves MORDRET <pierre-yves.mordret@st.com>
First post2017-08-25 16:40 +0200
Last post2017-08-25 16:40 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v4 0/4] Add STM32 MDMA driver Pierre-Yves MORDRET <pierre-yves.mordret@st.com> - 2017-08-25 16:40 +0200
    [PATCH v4 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig Pierre-Yves MORDRET <pierre-yves.mordret@st.com> - 2017-08-25 16:40 +0200

#1720131 — [PATCH v4 0/4] Add STM32 MDMA driver

FromPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Date2017-08-25 16:40 +0200
Subject[PATCH v4 0/4] Add STM32 MDMA driver
Message-ID<uinWa-5dr-7@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:
     v4:
         * Add safe getter/setter macros
         * forbid DMA preparation in cyclic mode yet
         * Optimize burst and memory width for memcpy
         * replace of_property_xx by device_property_xx
     v3:
         * Update header template
         * Unsigned expression compared with zero
         * Rework stm32_mdma_get_max_width
         * moved to src/dst case where they are used in set_xfer
         * Change of_property_* with device_property_*
         * Add dev_warn whether default value is used
         * Indentation
         * Add MODULE_*
     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                           | 1618 ++++++++++++++++++++
 6 files changed, 1736 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]


#1720134 — [PATCH v4 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig

FromPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Date2017-08-25 16:40 +0200
Subject[PATCH v4 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig
Message-ID<uinWc-5dr-53@gated-at.bofh.it>
In reply to#1720131
This patch adds MDMA support in STM32 defconfig file

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
 Version history:
    v4:
    v3:
        * None
    v2:
        * Add MDMA support in STM32 defconfig
---
---
 arch/arm/configs/stm32_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 90e5c46..dd8919b 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -67,6 +67,7 @@ CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_STM32=y
 CONFIG_DMADEVICES=y
 CONFIG_STM32_DMA=y
+CONFIG_STM32_MDMA=y
 CONFIG_IIO=y
 CONFIG_STM32_ADC_CORE=y
 CONFIG_STM32_ADC=y
-- 
2.7.4

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web