From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Subject: [v3,2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain From: Rob Herring Message-Id: <20181012144658.GA30093@bogus> Date: Fri, 12 Oct 2018 09:46:58 -0500 To: Pierre-Yves MORDRET Cc: Vinod Koul , Mark Rutland , Alexandre Torgue , Maxime Coquelin , Dan Williams , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-ID: T24gRnJpLCBTZXAgMjgsIDIwMTggYXQgMDM6MDE6NTBQTSArMDIwMCwgUGllcnJlLVl2ZXMgTU9S RFJFVCB3cm90ZToKPiBGcm9tOiBNJ2JvdW1iYSBDZWRyaWMgTWFkaWFuZ2EgPGNlZHJpYy5tYWRp YW5nYUBnbWFpbC5jb20+Cj4gCj4gQWRkIG9uZSBjZWxsIHRvIHN1cHBvcnQgRE1BL01ETUEgY2hh aW5pbmcuCgpZb3UgYXJlbid0IGFkZGluZyBhIGNlbGwuIElzIHRoZSBjaGFuZ2UgY29tcGF0aWJs ZSB3aXRoIGV4aXN0aW5nIHVzZXJzIAooaWYgeW91IG1hc2sgYml0cyk/Cgo+IAo+IFNpZ25lZC1v ZmYtYnk6IFBpZXJyZS1ZdmVzIE1PUkRSRVQgPHBpZXJyZS15dmVzLm1vcmRyZXRAc3QuY29tPgoK QXV0aG9yIFMtby1iIG1pc3NpbmcuCgo+IC0tLQo+ICAgVmVyc2lvbiBoaXN0b3J5Ogo+ICAgICB2 MzoKPiAgICAgdjI6Cj4gICAgICAgICogcmV3b3JrIGNvbnRlbnQKPiAgICAgdjE6Cj4gICAgICAg ICogSW5pdGlhbAo+IC0tLQo+IC0tLQo+ICBEb2N1bWVudGF0aW9uL2RldmljZXRyZWUvYmluZGlu Z3MvZG1hL3N0bTMyLWRtYW11eC50eHQgfCA2ICsrKy0tLQo+ICAxIG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ItZG1hLnR4dCBkb2N1bWVudGF0aW9u IGJpbmRpbmcgZmlsZQo+ICAtIGRtYS1tYXN0ZXJzOglQaGFuZGxlIHBvaW50aW5nIHRvIHRoZSBE TUEgY29udHJvbGxlcnMuCj4gLS0gCj4gMi43LjQKPgo= From mboxrd@z Thu Jan 1 00:00:00 1970 From: robh@kernel.org (Rob Herring) Date: Fri, 12 Oct 2018 09:46:58 -0500 Subject: [PATCH v3 2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain In-Reply-To: <1538139715-24406-3-git-send-email-pierre-yves.mordret@st.com> References: <1538139715-24406-1-git-send-email-pierre-yves.mordret@st.com> <1538139715-24406-3-git-send-email-pierre-yves.mordret@st.com> Message-ID: <20181012144658.GA30093@bogus> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Sep 28, 2018 at 03:01:50PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > Add one cell to support DMA/MDMA chaining. You aren't adding a cell. Is the change compatible with existing users (if you mask bits)? > > Signed-off-by: Pierre-Yves MORDRET Author S-o-b missing. > --- > Version history: > v3: > v2: > * rework content > v1: > * Initial > --- > --- > Documentation/devicetree/bindings/dma/stm32-dmamux.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/dma/stm32-dmamux.txt b/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > index 1b893b2..5e92b59 100644 > --- a/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > +++ b/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > @@ -4,9 +4,9 @@ Required properties: > - compatible: "st,stm32h7-dmamux" > - reg: Memory map for accessing module > - #dma-cells: Should be set to <3>. > - First parameter is request line number. > - Second is DMA channel configuration > - Third is Fifo threshold > +- First parameter is request line number. > +- Second is DMA channel configuration > +- Third is a 32bit bitfield > For more details about the three cells, please see > stm32-dma.txt documentation binding file > - dma-masters: Phandle pointing to the DMA controllers. > -- > 2.7.4 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v3 2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain Date: Fri, 12 Oct 2018 09:46:58 -0500 Message-ID: <20181012144658.GA30093@bogus> References: <1538139715-24406-1-git-send-email-pierre-yves.mordret@st.com> <1538139715-24406-3-git-send-email-pierre-yves.mordret@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1538139715-24406-3-git-send-email-pierre-yves.mordret@st.com> Sender: linux-kernel-owner@vger.kernel.org To: Pierre-Yves MORDRET Cc: Vinod Koul , Mark Rutland , Alexandre Torgue , Maxime Coquelin , Dan Williams , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Fri, Sep 28, 2018 at 03:01:50PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > Add one cell to support DMA/MDMA chaining. You aren't adding a cell. Is the change compatible with existing users (if you mask bits)? > > Signed-off-by: Pierre-Yves MORDRET Author S-o-b missing. > --- > Version history: > v3: > v2: > * rework content > v1: > * Initial > --- > --- > Documentation/devicetree/bindings/dma/stm32-dmamux.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/dma/stm32-dmamux.txt b/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > index 1b893b2..5e92b59 100644 > --- a/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > +++ b/Documentation/devicetree/bindings/dma/stm32-dmamux.txt > @@ -4,9 +4,9 @@ Required properties: > - compatible: "st,stm32h7-dmamux" > - reg: Memory map for accessing module > - #dma-cells: Should be set to <3>. > - First parameter is request line number. > - Second is DMA channel configuration > - Third is Fifo threshold > +- First parameter is request line number. > +- Second is DMA channel configuration > +- Third is a 32bit bitfield > For more details about the three cells, please see > stm32-dma.txt documentation binding file > - dma-masters: Phandle pointing to the DMA controllers. > -- > 2.7.4 >