Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4561172imm; Tue, 9 Oct 2018 01:18:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ediCk/MyiI3ELZjA9nKucW/6xTEmmRAiVavMY6Gn1km/F1bH7hN73FRTPVb3uunL/ZoFQ X-Received: by 2002:a63:c44a:: with SMTP id m10-v6mr24754967pgg.416.1539073121871; Tue, 09 Oct 2018 01:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539073121; cv=none; d=google.com; s=arc-20160816; b=w5TxAjB7zAwrpHeWNC/ssQuLPcFV5+3CUrpyx+D6NkRwobDZ5DyiNwlwzFnkGo4iSa 0CoVyIRDqNqlb/iLbLl0Z2033pHwWqrIl4P5H3SWcE4jJ6ta5zsZroIIZ80aewbYDvZY hzmAbHDdl2wEmnREDIsq4Q2ASgMBgEuZw7MJzLJj8Lv756fDoxjxrkoIaJ6LJ/qXDMkC ehDvfpxL5Ox16htulMxTVlpNcCjyVgiM7seHdKiK66UK4bi+gb2FNeC7rS9qbt/sQ6rf GqzwDMRt9pL+JFK/sot9jhnwemfN+66qnhTroIRZYJHuDDLgF1QY3OIWfQUptiGlpup0 iH/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=7EciiiF286kwCF3/A4dX1Tq4jHMEb69i5WLTW5nQK6I=; b=NB3LAv4GSOkQ0v7V6NMC7GVBN6ecBscNWxE1unmwEC6pTa4sfQumVOVIQCXHeoiXLK 3R42wCJUdAkCr3eaJQb7ukj6zCXaDwSewJiJuJXilYU6W2AKm3fXrLESnuR6xL9Jnh9k xmDm2Lndie1kVWzKps4pvfEah5FORUU1kO65vB3Q4ygAxiYpGdZwZatTdg8/V4LB5HT2 Elh3rmcn1y/VvKEyuAOuqYSV5dd0gc+woFJuFTFBuOfEYx+1cMhCuCUHWqQFD0EEJ7Zl fQUuzPrwt2k0wewEwwHA6FqbFSU/sp3g7JasNMX9wNBJqTj1VHe8jxaH+RnhYPpvw8iN JUwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5-v6si20346497plp.186.2018.10.09.01.18.26; Tue, 09 Oct 2018 01:18:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726481AbeJIPdt (ORCPT + 99 others); Tue, 9 Oct 2018 11:33:49 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:7895 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbeJIPdt (ORCPT ); Tue, 9 Oct 2018 11:33:49 -0400 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 w9989ZA7016177; Tue, 9 Oct 2018 10:17:42 +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 2mxjgxqgw1-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 09 Oct 2018 10:17:42 +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 6200D31; Tue, 9 Oct 2018 08:17:41 +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 27362FDE; Tue, 9 Oct 2018 08:17:41 +0000 (GMT) Received: from [10.201.23.236] (10.75.127.48) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 9 Oct 2018 10:17:40 +0200 Subject: Re: [PATCH v3 3/7] dt-bindings: stm32-mdma: Add DMA/MDMA chaining support bindings To: Vinod CC: Rob Herring , Mark Rutland , Alexandre Torgue , Maxime Coquelin , Dan Williams , , , , References: <1538139715-24406-1-git-send-email-pierre-yves.mordret@st.com> <1538139715-24406-4-git-send-email-pierre-yves.mordret@st.com> <20181007145930.GA2372@vkoul-mobl> From: Pierre Yves MORDRET Message-ID: <31f5a087-6a83-76ff-dc5c-29e8ecc95744@st.com> Date: Tue, 9 Oct 2018 10:17:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181007145930.GA2372@vkoul-mobl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-09_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/2018 04:59 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> From: M'boumba Cedric Madianga >> >> This patch adds the description of the 2 properties needed to support M2M >> transfer triggered by STM32 DMA when his transfer is complete. >> >> Signed-off-by: Pierre-Yves MORDRET >> --- >> Version history: >> v3: >> v2: >> * rework content >> v1: >> * Initial >> --- >> --- >> Documentation/devicetree/bindings/dma/stm32-mdma.txt | 12 ++++++++---- >> 1 file changed, 8 insertions(+), 4 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/dma/stm32-mdma.txt b/Documentation/devicetree/bindings/dma/stm32-mdma.txt >> index d18772d..27c2812 100644 >> --- a/Documentation/devicetree/bindings/dma/stm32-mdma.txt >> +++ b/Documentation/devicetree/bindings/dma/stm32-mdma.txt >> @@ -10,7 +10,7 @@ Required properties: >> - interrupts: Should contain the MDMA interrupt. >> - clocks: Should contain the input clock of the DMA instance. >> - resets: Reference to a reset controller asserting the DMA controller. >> -- #dma-cells : Must be <5>. See DMA client paragraph for more details. >> +- #dma-cells : Must be <6>. See DMA client paragraph for more details. > > can you update the example for 6 cells? of course. > > Also what happens to dts using 5 cells.. They are not managed, but it should. I will update this flaw. Thanks for pointing this out. > >> >> Optional properties: >> - dma-channels: Number of DMA channels supported by the controller. >> @@ -26,7 +26,7 @@ Example: >> interrupts = <122>; >> clocks = <&timer_clk>; >> resets = <&rcc 992>; >> - #dma-cells = <5>; >> + #dma-cells = <6>; >> dma-channels = <16>; >> dma-requests = <32>; >> st,ahb-addr-masks = <0x20000000>, <0x00000000>; >> @@ -35,8 +35,8 @@ Example: >> * DMA client >> >> DMA clients connected to the STM32 MDMA controller must use the format >> -described in the dma.txt file, using a five-cell specifier for each channel: >> -a phandle to the MDMA controller plus the following five integer cells: >> +described in the dma.txt file, using a six-cell specifier for each channel: >> +a phandle to the MDMA controller plus the following six integer cells: >> >> 1. The request line number >> 2. The priority level >> @@ -76,6 +76,10 @@ a phandle to the MDMA controller plus the following five integer cells: >> if no HW ack signal is used by the MDMA client >> 5. A 32bit mask specifying the value to be written to acknowledge the request >> if no HW ack signal is used by the MDMA client >> +6. A bitfield value specifying if the MDMA client wants to generate M2M >> + transfer with HW trigger (1) or not (0). This bitfield should be only >> + enabled for M2M transfer triggered by STM32 DMA client. The memory devices >> + involved in this kind of transfer are SRAM and DDR. >> >> Example: >> >> -- >> 2.7.4 >