Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp489080imu; Thu, 22 Nov 2018 00:23:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/VbcxNRuwiMOkK5mc11ZGOf9vrtExxFQnJ6FI0nSdSyeHd05kzciGj0G3hFlMWSCgeSY1oh X-Received: by 2002:a17:902:29a7:: with SMTP id h36mr10438213plb.244.1542875023765; Thu, 22 Nov 2018 00:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542875023; cv=none; d=google.com; s=arc-20160816; b=E/CinJIKXrT8QnXUSnY4OL9wP0L51JCq6GWkHFKWktDvia3u4CsjMh5JEkW4w0O/g4 DAdQ4wML1/J6KUEXEksUniNIn454K6fcdKseqNj1yW7onMGSXHW7xC+/l0Z8TOtxuMNT 7JidXoYCCqI/P15pkmiOEECmMD5dYLdHc5JfdujdODTDaHYopDNCTqkPrwpcPwsLSxqS IVaB1nsiB/prTV5jfn+TuGAJw0iBVKwCxpeJTT+CvaLJMQj2ctJUt4ChaB0pV9C3QSq6 4ZdPghKb020V5CELmbIi5Mblbww/Q1ZqURADiKJ2pLDdC3QSSV9VriuUHvs/5e4Z0eMq Xxwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Vp0fJCdNq/+2QvzfbsgnbLvsvaSHflOLcf6V416lzj4=; b=A7iCa9kMMez/17Hn/xMKsGTM3O8JKYVRk5eY2OImlk1xPX7YPqgffTUp0BoetKnG5z LtHCbGNxMqbTc4ZozBMlNNyLLY9X9Pbq/GRdgGAeDRi/xF6vyHzPL1O1/2zQyvfAd3H3 ZPFpywSDGuJfB+PWQ3xQe49PV7/3bRP4ElrrVVuujWBblrOeO1HrfyxS2XD5gikhkAth /OKAIVj+gHoWgjikw0frCO65iOeb6Cx094K+XGjz9bDHgAW1+SJP+dnlauCPxjCTJD6W bk9YMh0YYMkkvvGVnqF+kWcNt2AEV2U3IPjEbi/IwlM0lo9skJxfhXoR1h83YQlJwrbA nLsg== 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 h20si46084811pgm.366.2018.11.22.00.23.28; Thu, 22 Nov 2018 00:23:43 -0800 (PST) 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 S2389838AbeKVH6M (ORCPT + 99 others); Thu, 22 Nov 2018 02:58:12 -0500 Received: from mail.bootlin.com ([62.4.15.54]:34780 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbeKVH6M (ORCPT ); Thu, 22 Nov 2018 02:58:12 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 6170420D73; Wed, 21 Nov 2018 22:22:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id 387E720510; Wed, 21 Nov 2018 22:21:57 +0100 (CET) Date: Wed, 21 Nov 2018 22:21:57 +0100 From: Alexandre Belloni To: Rob Herring 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 Subject: Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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