All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Add STM32 MDMA driver
@ 2017-08-25 14:31 ` Pierre-Yves MORDRET
  0 siblings, 0 replies; 31+ messages in thread
From: Pierre-Yves MORDRET @ 2017-08-25 14:31 UTC (permalink / raw)
  To: Vinod Koul, Rob Herring, Mark Rutland, Maxime Coquelin,
	Alexandre Torgue, Russell King, Dan Williams,
	M'boumba Cedric Madianga, Fabrice GASNIER, Herbert Xu,
	Fabien DESSENNE, Amelie Delaunay, Pierre-Yves MORDRET, dmaengine,
	devicetree, linux-arm-kernel, linux-kernel

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

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [PATCH v4 0/4] Add STM32 DMAMUX support
@ 2017-09-07 11:52 Pierre-Yves MORDRET
  2017-09-07 11:52   ` Pierre-Yves MORDRET
  0 siblings, 1 reply; 31+ messages in thread
From: Pierre-Yves MORDRET @ 2017-09-07 11:52 UTC (permalink / raw)
  To: Vinod Koul, Rob Herring, Mark Rutland, Maxime Coquelin,
	Alexandre Torgue, Russell King, Dan Williams,
	M'boumba Cedric Madianga, Fabrice GASNIER, Herbert Xu,
	Fabien DESSENNE, Amelie Delaunay, Pierre-Yves MORDRET, dmaengine,
	devicetree, linux-arm-kernel, linux-kernel

This patchset adds support for the STM32 DMA multiplexer.
It allows to map any peripheral DMA request to any channel of the product
DMAs.
This IP has been introduced with STM32H7 SoC.

---
 Version history:
    v4:
        * Add multi-master ability for STM32 DMAMUX
        * Get rid of st,dmamux property and custom API between STM32
          DMAMUX and DMA. Bindings has changed.
          DMAMUX will read DMA masters from Device Tree from now on.
          Merely one DMAMUX node is needed now.
        * Only STM32 DMA are allowed to be connected onto DMAMUX
        * channelID is computed locally within the driver and crafted in
          dma_psec to be passed toward DMA master.
          DMAMUX router sorts out which DMA master will serve the
          request automatically.
        * This version forbids the use of DMA in standalone and DMAMUX at
          the same time : all clients need to be connected either on DMA
          or DMAMUX ; no mix up
    v3:
        * change compatible to st,stm32h7-dmamux to be mode Soc specific
        * add verbosity in dma-cells
---

Pierre-Yves MORDRET (4):
  dt-bindings: Document the STM32 DMAMUX bindings
  dmaengine: Add STM32 DMAMUX driver
  dt-bindings: stm32-dma: add a property to handle STM32 DMAMUX
  ARM: configs: stm32: Add MDMA support in STM32 defconfig

 .../devicetree/bindings/dma/stm32-dma.txt          |   4 +-
 .../devicetree/bindings/dma/stm32-dmamux.txt       |  84 ++++++
 arch/arm/configs/stm32_defconfig                   |   1 +
 drivers/dma/Kconfig                                |   9 +
 drivers/dma/Makefile                               |   1 +
 drivers/dma/stm32-dmamux.c                         | 321 +++++++++++++++++++++
 6 files changed, 419 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/dma/stm32-dmamux.txt
 create mode 100644 drivers/dma/stm32-dmamux.c

-- 
2.7.4

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

end of thread, other threads:[~2017-09-28 13:21 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-25 14:31 [PATCH v4 0/4] Add STM32 MDMA driver Pierre-Yves MORDRET
2017-08-25 14:31 ` Pierre-Yves MORDRET
2017-08-25 14:31 ` Pierre-Yves MORDRET
2017-08-25 14:31 ` [PATCH v4 1/4] dt-bindings: Document the STM32 MDMA bindings Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-08-25 14:31 ` [PATCH v4 2/4] dmaengine: Add STM32 MDMA driver Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-09-28  8:13   ` Vinod Koul
2017-09-28  8:13     ` Vinod Koul
2017-09-28 13:17     ` Pierre Yves MORDRET
2017-09-28 13:17       ` Pierre Yves MORDRET
2017-09-28 13:17       ` Pierre Yves MORDRET
2017-08-25 14:31 ` [PATCH v4 3/4] ARM: dts: stm32: Add MDMA support for STM32H743 SoC Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-09-26 17:44   ` Vinod Koul
2017-09-26 17:44     ` Vinod Koul
2017-09-27  7:14     ` Alexandre Torgue
2017-09-27  7:14       ` Alexandre Torgue
2017-09-27  7:14       ` Alexandre Torgue
2017-08-25 14:31 ` [PATCH v4 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-08-25 14:31   ` Pierre-Yves MORDRET
2017-09-21  8:01 ` [PATCH v4 0/4] Add STM32 MDMA driver Pierre Yves MORDRET
2017-09-21  8:01   ` Pierre Yves MORDRET
2017-09-21  8:01   ` Pierre Yves MORDRET
2017-09-07 11:52 [PATCH v4 0/4] Add STM32 DMAMUX support Pierre-Yves MORDRET
2017-09-07 11:52 ` [PATCH v4 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig Pierre-Yves MORDRET
2017-09-07 11:52   ` Pierre-Yves MORDRET
2017-09-07 11:52   ` Pierre-Yves MORDRET

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.