Message ID | 1506613003-28376-1-git-send-email-pierre-yves.mordret@st.com |
---|---|
Headers | show |
Series | Add STM32 MDMA driver | expand |
On Thu, Sep 28, 2017 at 05:36:41PM +0200, Pierre-Yves MORDRET wrote: > This patch adds the driver for the STM32 MDMA controller. > > Master Direct memory access (MDMA) is used in order to provide high-speed > data transfer between memory and memory or between peripherals and memory. > > MDMA controller provides a master AXI interface for main memory and > peripheral registers access (system access port) and a master AHB > interface only for Cortex-M7 TCM memory access (TCM access port). > > MDMA works in conjunction with the standard DMA controllers (DMA1 or DMA2). > It offers up to 64 channels, each dedicated to managing memory access > requests from one of the DMA stream memory buffer or other peripherals > (w/ integrated FIFO). Applied, thanks
Hi On 09/28/2017 05:36 PM, Pierre-Yves MORDRET wrote: > This patch adds MDMA support for STM32H743 SoC. > > Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> > --- > Version history: > v5: > 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 58ec227..8e0aeb7 100644 > --- a/arch/arm/boot/dts/stm32h743.dtsi > +++ b/arch/arm/boot/dts/stm32h743.dtsi > @@ -193,6 +193,16 @@ > status = "disabled"; > }; > }; > + > + mdma1: dma@52000000 { > + compatible = "st,stm32h7-mdma"; > + reg = <0x52000000 0x1000>; > + interrupts = <122>; > + clocks = <&timer_clk>; > + #dma-cells = <5>; > + dma-channels = <16>; > + dma-requests = <32>; > + }; > }; > }; > > Applied on stm32-dt-for-v4.15. Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
hi On 09/28/2017 05:36 PM, Pierre-Yves MORDRET wrote: > This patch adds MDMA support in STM32 defconfig file > > Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> > --- > Version history: > v5: > 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 > Applied on stm32-defconfig-for-v4.15. Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html