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,1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings From: Rob Herring Message-Id: <20181012144204.GA13615@bogus> Date: Fri, 12 Oct 2018 09:42:04 -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: T24gRnJpLCBTZXAgMjgsIDIwMTggYXQgMDM6MDE6NDlQTSArMDIwMCwgUGllcnJlLVl2ZXMgTU9S RFJFVCB3cm90ZToKPiBGcm9tOiBNJ2JvdW1iYSBDZWRyaWMgTWFkaWFuZ2EgPGNlZHJpYy5tYWRp YW5nYUBnbWFpbC5jb20+Cj4gCj4gVGhpcyBwYXRjaCBhZGRzIGRtYSBiaW5kaW5ncyB0byBzdXBw b3J0IERNQS9NRE1BIGNoYWluaW5nIHRyYW5zZmVyLgo+IDEgYml0IGlzIHRvIG1hbmFnZSBib3Ro IERNQSBGSUZPIFRocmVzaG9sZAo+IDEgYml0IGlzIHRvIG1hbmFnZSBETUEvTURNQSBDaGFpbmlu ZyBmZWF0dXJlcy4KPiAyIGJpdHMgYXJlIHVzZWQgdG8gc3BlY2lmeSBTRFJBTSBzaXplIHRvIHVz ZSBmb3IgRE1BL01ETUEgY2hhaW5pbmcuCj4gVGhlIHNpemUgaW4gYnl0ZXMgb2YgYSBjZXJ0YWlu IG9yZGVyIGlzIGdpdmVuIGJ5IHRoZSBmb3JtdWxhOgo+ICAgICAoMiBeIG9yZGVyKSAqIFBBR0Vf U0laRS4KPiBUaGUgb3JkZXIgaXMgZ2l2ZW4gYnkgdGhvc2UgMiBiaXRzLgo+IEZvciBjeWNsaWMs IHdoZXRoZXIgY2hhaW5pbmcgaXMgY2hvc2VuLCBhbnkgdmFsdWUgYWJvdmUgMSBjYW4gYmUgc2V0 IDoKPiBTUkFNIGJ1ZmZlciBzaXplIHdpbGwgcmVseSBvbiBwZXJpb2Qgc2l6ZSBhbmQgbm90IG9u IHRoaXMgRFQgdmFsdWUuCj4gCj4gU2lnbmVkLW9mZi1ieTogUGllcnJlLVl2ZXMgTU9SRFJFVCA8 cGllcnJlLXl2ZXMubW9yZHJldEBzdC5jb20+CgpNaXNzaW5nIGF1dGhvciBTLW8tYi4KCj4gLS0t Cj4gICBWZXJzaW9uIGhpc3Rvcnk6Cj4gICAgIHYzOgo+ICAgICB2MjoKPiAgICAgICAgKiByZXdv cmsgY29udGVudAo+ICAgICB2MToKPiAgICAgICAgKiBJbml0aWFsCj4gLS0tCj4gLS0tCj4gIC4u Li9kZXZpY2V0cmVlL2JpbmRpbmdzL2RtYS9zdG0zMi1kbWEudHh0ICAgICAgICAgIHwgMjcgKysr KysrKysrKysrKysrKysrKysrLQo+ICAxIGZpbGUgY2hhbmdlZCwgMjYgaW5zZXJ0aW9ucygrKSwg MSBkZWxldGlvbigtKQo= From mboxrd@z Thu Jan 1 00:00:00 1970 From: robh@kernel.org (Rob Herring) Date: Fri, 12 Oct 2018 09:42:04 -0500 Subject: [PATCH v3 1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings In-Reply-To: <1538139715-24406-2-git-send-email-pierre-yves.mordret@st.com> References: <1538139715-24406-1-git-send-email-pierre-yves.mordret@st.com> <1538139715-24406-2-git-send-email-pierre-yves.mordret@st.com> Message-ID: <20181012144204.GA13615@bogus> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Sep 28, 2018 at 03:01:49PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > This patch adds dma bindings to support DMA/MDMA chaining transfer. > 1 bit is to manage both DMA FIFO Threshold > 1 bit is to manage DMA/MDMA Chaining features. > 2 bits are used to specify SDRAM size to use for DMA/MDMA chaining. > The size in bytes of a certain order is given by the formula: > (2 ^ order) * PAGE_SIZE. > The order is given by those 2 bits. > For cyclic, whether chaining is chosen, any value above 1 can be set : > SRAM buffer size will rely on period size and not on this DT value. > > Signed-off-by: Pierre-Yves MORDRET Missing author S-o-b. > --- > Version history: > v3: > v2: > * rework content > v1: > * Initial > --- > --- > .../devicetree/bindings/dma/stm32-dma.txt | 27 +++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v3 1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings Date: Fri, 12 Oct 2018 09:42:04 -0500 Message-ID: <20181012144204.GA13615@bogus> References: <1538139715-24406-1-git-send-email-pierre-yves.mordret@st.com> <1538139715-24406-2-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-2-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:49PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > This patch adds dma bindings to support DMA/MDMA chaining transfer. > 1 bit is to manage both DMA FIFO Threshold > 1 bit is to manage DMA/MDMA Chaining features. > 2 bits are used to specify SDRAM size to use for DMA/MDMA chaining. > The size in bytes of a certain order is given by the formula: > (2 ^ order) * PAGE_SIZE. > The order is given by those 2 bits. > For cyclic, whether chaining is chosen, any value above 1 can be set : > SRAM buffer size will rely on period size and not on this DT value. > > Signed-off-by: Pierre-Yves MORDRET Missing author S-o-b. > --- > Version history: > v3: > v2: > * rework content > v1: > * Initial > --- > --- > .../devicetree/bindings/dma/stm32-dma.txt | 27 +++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-)