From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode Date: Wed, 21 Nov 2018 22:21:57 +0100 Message-ID: <20181121212157.GD12656@piout.net> References: <20181121112732.15690-1-radu_nicolae.pirea@upb.ro> <20181121112732.15690-3-radu_nicolae.pirea@upb.ro> <20181121164820.GC12656@piout.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: radu_nicolae.pirea@upb.ro, Richard Genoud , Lee Jones , Mark Rutland , Nicolas Ferre , Ludovic Desroches , Mark Brown , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-spi To: Rob Herring Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org On 21/11/2018 14:52:29-0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 10:48 AM Alexandre Belloni > wrote: > > > > Hi Rob, > > > > On 21/11/2018 10:41:01-0600, Rob Herring wrote: > > > > +Optional properties in serial and SPI mode: > > > > +- dma bindings for dma transfer: > > > > + - dmas: DMA specifier, consisting of a phandle to DMA controller node, > > > > + memory peripheral interface and USART DMA channel ID, FIFO configuration. > > > > + Refer to dma.txt and atmel-dma.txt for details. > > > > + - dma-names: "rx" for RX channel, "tx" for TX channel. > > > > > > > + dma-names = "tx", "rx"; > > > > > > The dma-names should have a defined order. > > > > > > > Why is that? Isn't the purpose of names to get rid of any particular > > ordering? > > Because a fundamental rule of DT is the order is defined and > important. The purpose was to allow for cases that had a variable > number of entries, but even a variable number still have a defined > order. > Thank you for the clarification! -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com