From patchwork Fri Sep 29 09:37:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 9977377 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D50676034B for ; Fri, 29 Sep 2017 09:38:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBF2A297D5 for ; Fri, 29 Sep 2017 09:38:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0902297CC; Fri, 29 Sep 2017 09:38:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5B2BB297CC for ; Fri, 29 Sep 2017 09:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ewSujCKvi4W+zepnCSID2jj4Pt+/apUXwH5zAEwq+mw=; b=WnhFozefDd+CMg RTzApWJnSew6RrFYZ5WqB68FU0jqPBkCKPUHgQNNEnp/uM9Qm5ev771uovMuu3cTKCiFkyEBPxbfd twKPtWf6YQD4ZeDDcz1weUWm9iJrSwP3iXL4VRhxdQ1Io36Is2dOI06WmamF3jbEhI+EW1t3sGv4s hmgsI1ZbboRWlK//3tYTw8poJGbs1dfeeRyljLaxQnOroXJA+TvYPFfCpEGhjcDa/R7zeT0inNECg NayCprkr8iY3H4IiTyOjikI6UfCnDEjy20vyGU1ukG5cGCfTSvd7U9pSyzN13FNH9f9/bUNRapaHv pKPRtfaBKJ5ADQk7Vt/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxrkl-0001MQ-VV; Fri, 29 Sep 2017 09:38:39 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxrki-0001Dl-Bq for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2017 09:38:38 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8T9Y8d5005553; Fri, 29 Sep 2017 11:38:03 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2d8hmekuqb-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 29 Sep 2017 11:38:03 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EC18131; Fri, 29 Sep 2017 09:38:01 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C41052473; Fri, 29 Sep 2017 09:38:01 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 29 Sep 2017 11:38:01 +0200 From: Pierre-Yves MORDRET To: Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre Torgue Subject: [PATCH v2] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC Date: Fri, 29 Sep 2017 11:37:48 +0200 Message-ID: <1506677868-16039-1-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-09-29_03:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170929_023836_721748_0B844687 X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Yves MORDRET , devicetree@vger.kernel.or, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DMAMUX support for STM32H743 SoC. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * Update DTS to be compliant with up-streamed bindings v1: * Initial --- --- arch/arm/boot/dts/stm32h743.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index c8e1137..ee29bbe 100644 --- a/arch/arm/boot/dts/stm32h743.dtsi +++ b/arch/arm/boot/dts/stm32h743.dtsi @@ -207,6 +207,7 @@ <47>; clocks = <&timer_clk>; #dma-cells = <4>; + dma-requests = <8>; st,mem2mem; }; @@ -223,9 +224,20 @@ <70>; clocks = <&timer_clk>; #dma-cells = <4>; + dma-requests = <8>; st,mem2mem; }; + dmamux1: dma-router@40020800 { + compatible = "st,stm32h7-dmamux"; + reg = <0x40020800 0x1c>; + #dma-cells = <3>; + dma-channels = <16>; + dma-requests = <128>; + dma-masters = <&dma1 &dma2>; + clocks = <&timer_clk>; + }; + mdma1: dma@52000000 { compatible = "st,stm32h7-mdma"; reg = <0x52000000 0x1000>;