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 17:48:20 +0100 Message-ID: <20181121164820.GC12656@piout.net> References: <20181121112732.15690-1-radu_nicolae.pirea@upb.ro> <20181121112732.15690-3-radu_nicolae.pirea@upb.ro> 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 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? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com