Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752239AbdI0Kcl (ORCPT ); Wed, 27 Sep 2017 06:32:41 -0400 Received: from mga01.intel.com ([192.55.52.88]:2308 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbdI0Kcj (ORCPT ); Wed, 27 Sep 2017 06:32:39 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,444,1500966000"; d="scan'208";a="132802932" Date: Wed, 27 Sep 2017 16:06:31 +0530 From: Vinod Koul To: Pierre-Yves MORDRET Cc: Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Russell King , Dan Williams , "M'boumba Cedric Madianga" , Fabrice GASNIER , Herbert Xu , Fabien DESSENNE , Amelie Delaunay , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v5 0/4] Add STM32 DMAMUX support Message-ID: <20170927103631.GL30097@localhost> References: <1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2231 Lines: 54 On Fri, Sep 22, 2017 at 09:31:28AM +0200, Pierre-Yves MORDRET wrote: > 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. Applied first three patches, thanks > --- > Version history: > v5: > * Set selected channel ID within a lock to avoid race condition. > Release if any error occurs > 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 DMAMUX 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 | 327 +++++++++++++++++++++ > 6 files changed, 425 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/dma/stm32-dmamux.txt > create mode 100644 drivers/dma/stm32-dmamux.c > > -- > 2.7.4 > -- ~Vinod