{"id":817354,"url":"http://patchwork.ozlabs.org/api/covers/817354/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com>","list_archive_url":null,"date":"2017-09-22T07:31:28","name":"[RESEND,v5,0/4] Add STM32 DMAMUX support","submitter":{"id":71499,"url":"http://patchwork.ozlabs.org/api/people/71499/?format=json","name":"Pierre Yves MORDRET","email":"pierre-yves.mordret@st.com"},"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com/mbox/","series":[{"id":4551,"url":"http://patchwork.ozlabs.org/api/series/4551/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=4551","date":"2017-09-22T07:31:31","name":"Add STM32 DMAMUX support","version":5,"mbox":"http://patchwork.ozlabs.org/series/4551/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/817354/comments/","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xz4wc1fvQz9sNw\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 17:33:52 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751906AbdIVHcy (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 22 Sep 2017 03:32:54 -0400","from mx08-00178001.pphosted.com ([91.207.212.93]:58673 \"EHLO\n\tmx07-00178001.pphosted.com\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1751809AbdIVHcl (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 22 Sep 2017 03:32:41 -0400","from pps.filterd (m0046661.ppops.net [127.0.0.1])\n\tby mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8M7T0dA030923; Fri, 22 Sep 2017 09:31:49 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx08-00178001.pphosted.com with ESMTP id 2d3twpbsa5-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tFri, 22 Sep 2017 09:31:49 +0200","from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8593631;\n\tFri, 22 Sep 2017 07:31:45 +0000 (GMT)","from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4A4B614DB;\n\tFri, 22 Sep 2017 07:31:45 +0000 (GMT)","from localhost (10.75.127.48) by SFHDAG5NODE2.st.com (10.75.127.14)\n\twith Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tFri, 22 Sep 2017 09:31:44 +0200"],"From":"Pierre-Yves MORDRET <pierre-yves.mordret@st.com>","To":"Vinod Koul <vinod.koul@intel.com>, Rob Herring <robh+dt@kernel.org>,\n\tMark Rutland <mark.rutland@arm.com>,\n\tMaxime Coquelin <mcoquelin.stm32@gmail.com>,\n\tAlexandre Torgue <alexandre.torgue@st.com>,\n\tRussell King <linux@armlinux.org.uk>,\n\tDan Williams <dan.j.williams@intel.com>,\n\t\"M'boumba Cedric Madianga\" <cedric.madianga@gmail.com>,\n\tFabrice GASNIER <fabrice.gasnier@st.com>,\n\tHerbert Xu <herbert@gondor.apana.org.au>,\n\tFabien DESSENNE <fabien.dessenne@st.com>,\n\tAmelie Delaunay <amelie.delaunay@st.com>,\n\tPierre-Yves MORDRET <pierre-yves.mordret@st.com>,\n\t<dmaengine@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>","Subject":"[RESEND PATCH v5 0/4] Add STM32 DMAMUX support","Date":"Fri, 22 Sep 2017 09:31:28 +0200","Message-ID":"<1506065492-31478-1-git-send-email-pierre-yves.mordret@st.com>","X-Mailer":"git-send-email 2.7.4","MIME-Version":"1.0","Content-Type":"text/plain","X-Originating-IP":"[10.75.127.48]","X-ClientProxiedBy":"SFHDAG3NODE2.st.com (10.75.127.8) To SFHDAG5NODE2.st.com\n\t(10.75.127.14)","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-22_02:, , signatures=0","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"This patchset adds support for the STM32 DMA multiplexer.\nIt allows to map any peripheral DMA request to any channel of the product\nDMAs.\nThis IP has been introduced with STM32H7 SoC.\n\n---\n Version history:\n    v5:\n        * Set selected channel ID within a lock to avoid race condition.\n          Release if any error occurs\n    v4:\n        * Add multi-master ability for STM32 DMAMUX\n        * Get rid of st,dmamux property and custom API between STM32\n          DMAMUX and DMA. Bindings has changed.\n          DMAMUX will read DMA masters from Device Tree from now on.\n          Merely one DMAMUX node is needed now.\n        * Only STM32 DMA are allowed to be connected onto DMAMUX\n        * channelID is computed locally within the driver and crafted in\n          dma_psec to be passed toward DMA master.\n          DMAMUX router sorts out which DMA master will serve the\n          request automatically.\n        * This version forbids the use of DMA in standalone and DMAMUX at\n          the same time : all clients need to be connected either on DMA\n          or DMAMUX ; no mix up\n    v3:\n        * change compatible to st,stm32h7-dmamux to be mode Soc specific\n        * add verbosity in dma-cells\n---\n\nPierre-Yves MORDRET (4):\n  dt-bindings: Document the STM32 DMAMUX bindings\n  dmaengine: Add STM32 DMAMUX driver\n  dt-bindings: stm32-dma: add a property to handle STM32 DMAMUX\n  ARM: configs: stm32: Add DMAMUX support in STM32 defconfig\n\n .../devicetree/bindings/dma/stm32-dma.txt          |   4 +-\n .../devicetree/bindings/dma/stm32-dmamux.txt       |  84 ++++++\n arch/arm/configs/stm32_defconfig                   |   1 +\n drivers/dma/Kconfig                                |   9 +\n drivers/dma/Makefile                               |   1 +\n drivers/dma/stm32-dmamux.c                         | 327 +++++++++++++++++++++\n 6 files changed, 425 insertions(+), 1 deletion(-)\n create mode 100644 Documentation/devicetree/bindings/dma/stm32-dmamux.txt\n create mode 100644 drivers/dma/stm32-dmamux.c"}