From patchwork Fri Apr 20 09:14:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 10352249 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 5871060231 for ; Fri, 20 Apr 2018 09:16:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 485F82863C for ; Fri, 20 Apr 2018 09:16:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CAB5286B5; Fri, 20 Apr 2018 09:16:18 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 C1F1C2863C for ; Fri, 20 Apr 2018 09:16:17 +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:References:In-Reply-To: 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: List-Owner; bh=v+BX7yHef9/04fy9bjN7WnHvfqjw+Dn1DGNfaV/yezM=; b=NwHswcsqo0hQwH TmcCwC/B0bymer8zKPhG25Ix6QkkyY4QzM/ZiOOT9Wo2Ybkw+d36Hc1IvVxhzsohOVi0ixRFcotOC lrS5FAsYR1T1bG+2qmvdRYwg85VxFtvpSYTadKv/a8fUdQ3mV7EYlgX+BtHXXq3JrNVyxT+C+JY1t e0s5cKLzjOwIq5KssM4ujwv6hoRYpn+4JIwBrmSwLxWO61i6NcHIaF/gtM+2cU861ESWBybE7s50c M/6wrk2hXPE1QSe8osddRptKOb4doFEHZnwyRzRqE4ErencNSquTNYQ+Tozj/wQxBR1lr4E8Y2YHj I/AeNoFflZKMmspwdZcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9S9D-0007oy-Lp; Fri, 20 Apr 2018 09:16:03 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9S8G-00068F-Kg for linux-arm-kernel@lists.infradead.org; Fri, 20 Apr 2018 09:15:07 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3K99SPg030724; Fri, 20 Apr 2018 11:14:48 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hds2axuxq-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Apr 2018 11:14:48 +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 7EC4D31; Fri, 20 Apr 2018 09:14:47 +0000 (GMT) Received: from Webmail-eu.st.com (gpxdag5node5.st.com [10.75.127.78]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 663772421; Fri, 20 Apr 2018 09:14:47 +0000 (GMT) Received: from localhost (10.75.127.116) by GPXDAG5NODE5.st.com (10.75.127.78) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 20 Apr 2018 11:14:47 +0200 From: Pierre-Yves MORDRET To: Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre Torgue , , , Subject: [PATCH v1 4/4] ARM: dts: stm32: Add DMAMUX support on STM32MP157C Date: Fri, 20 Apr 2018 11:14:41 +0200 Message-ID: <1524215681-14555-5-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524215681-14555-1-git-send-email-pierre-yves.mordret@st.com> References: <1524215681-14555-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.116] X-ClientProxiedBy: GPXDAG2NODE5.st.com (10.75.127.69) To GPXDAG5NODE5.st.com (10.75.127.78) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-20_03:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180420_021505_019773_D60014F8 X-CRM114-Status: GOOD ( 11.66 ) 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 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 Activate DMAMUX for STM32MP157C Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 3c0ca6c..da4c39e 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -174,6 +174,7 @@ clocks = <&rcc DMA1>; #dma-cells = <4>; st,mem2mem; + dma-requests = <8>; }; dma2: dma@48001000 { @@ -190,6 +191,17 @@ clocks = <&rcc DMA2>; #dma-cells = <4>; st,mem2mem; + dma-requests = <8>; + }; + + dmamux1: dma-router@48002000 { + compatible = "st,stm32h7-dmamux"; + reg = <0x48002000 0x1c>; + #dma-cells = <3>; + dma-requests = <128>; + dma-masters = <&dma1 &dma2>; + dma-channels = <16>; + clocks = <&rcc DMAMUX>; }; rcc: rcc@50000000 {