Received: by 10.223.185.116 with SMTP id b49csp2237840wrg; Sun, 4 Mar 2018 22:19:58 -0800 (PST) X-Google-Smtp-Source: AG47ELsKmEJxLkbXAIi4vb3w3r1T6tC/OQaJxO2YFe5DAFpooeDygmRlbhwT/TU95LS69R/rFu+9 X-Received: by 10.101.100.141 with SMTP id e13mr4050681pgv.333.1520230798839; Sun, 04 Mar 2018 22:19:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520230798; cv=none; d=google.com; s=arc-20160816; b=tJZRr4rvDb6W7KfCU9gnd4nnPJ8iBoc6O1TNVBs8zLILHNcecrwHmCNgJ9/5vG1WvB dgIsA8Oope2Tyg9ztvc0nPCsBuXK1r0BjOYTBY23WEkwQ5yCWR54p6/zKtkLG3r85hMw 3vNtLaKwwRPT04etZU0pZCo2r9z09ma3jP/iIMeMjx8phfUqMcomXiANa9UUcc91YKaX Vwk099ZcvrfOkDNSJhH4Y5QxLtaz2HCZrsBhmLM5zH9sZK8yaWdZ+8lt+oZUVJqxwOiL wEaftCUtNbSjuySvviD6UoL9qdy37wcYeSDOTK3Pey/tp0nVUkrjGaUQ4CpKJukd+7Im PiPA== 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:arc-authentication-results; bh=gerT6qCO+7O9f8eJ7m6mj6RLwraoPRQF+YB8tU/to/k=; b=qpKpJv9HMF3tkvW5WxB7KyQsBixrbtCXi4yC0o4BkUZgFiFesQUT+98CXoq/+LgxDU iWkN16YBCBcuXY615NKdGH7r5+Cx+Pzz5/Qg0iU3LdyxBw8FrFyIa1auzFacoZhBAj+L yhoVrGq60suM+L1dto+DgRrGpr/UEjDV+POBLNqz0eKQ1eq1adipW5t6uhEOBvfq0kqw Fhp2RYG5pQHF02fgq7VM9/qQIZFlPGJ60UvNMR7BsurggXXp2HxNM4pemJfhY0gF2MvQ GKdGL1aWhad+vLEslcnE8bRZ7Bh4+pT9rqBd0vBYe9Bm+j5+8w+849Vv6a2UPbEVS3va jAog== 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 b3si6853717pge.715.2018.03.04.22.19.44; Sun, 04 Mar 2018 22:19:58 -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 S932851AbeCEF3I (ORCPT + 99 others); Mon, 5 Mar 2018 00:29:08 -0500 Received: from mga03.intel.com ([134.134.136.65]:45146 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932476AbeCEF3G (ORCPT ); Mon, 5 Mar 2018 00:29:06 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2018 21:29:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,426,1515484800"; d="scan'208";a="35490313" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by fmsmga001.fm.intel.com with ESMTP; 04 Mar 2018 21:29:02 -0800 Date: Mon, 5 Mar 2018 11:02:56 +0530 From: Vinod Koul To: Alexey Brodkin Cc: "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "Eugeniy.Paltsev@synopsys.com" , "linux-snps-arc@lists.infradead.org" , "andy.shevchenko@gmail.com" , "dan.j.williams@intel.com" , "dmaengine@vger.kernel.org" , "wan.ahmad.zainie.wan.mohamad@intel.com" Subject: Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings Message-ID: <20180305053256.GN15443@localhost> References: <20180226145628.11892-1-Eugeniy.Paltsev@synopsys.com> <20180226145628.11892-3-Eugeniy.Paltsev@synopsys.com> <20180302081408.GK15443@localhost> <1519979538.4430.7.camel@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519979538.4430.7.camel@synopsys.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 02, 2018 at 08:32:20AM +0000, Alexey Brodkin wrote: > Hi Vinod, > > On Fri, 2018-03-02 at 13:44 +0530, Vinod Koul wrote: > > On Mon, Feb 26, 2018 at 05:56:28PM +0300, Eugeniy Paltsev wrote: > > > This patch adds documentation of device tree bindings for the Synopsys > > > DesignWare AXI DMA controller. > > > > > > Signed-off-by: Eugeniy Paltsev > > > --- > > > .../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++++++++++++++++++++++ > > > 1 file changed, 41 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt > > > > > > diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt > > > new file mode 100644 > > > index 0000000..f237b79 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt > > > @@ -0,0 +1,41 @@ > > > +Synopsys DesignWare AXI DMA Controller > > > + > > > +Required properties: > > > +- compatible: "snps,axi-dma-1.01a" > > > +- reg: Address range of the DMAC registers. This should include > > > + all of the per-channel registers. > > > +- interrupt: Should contain the DMAC interrupt number. > > > +- interrupt-parent: Should be the phandle for the interrupt controller > > > + that services interrupts for this device. > > > +- dma-channels: Number of channels supported by hardware. > > > +- snps,dma-masters: Number of AXI masters supported by the hardware. > > > +- snps,data-width: Maximum AXI data width supported by hardware. > > > + (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits) > > > +- snps,priority: Priority of channel. Array size is equal to the number of > > > + dma-channels. Priority value must be programmed within [0:dma-channels-1] > > > + range. (0 - minimum priority) > > > +- snps,block-size: Maximum block size supported by the controller channel. > > > + Array size is equal to the number of dma-channels. > > > + > > > +Optional properties: > > > +- snps,axi-max-burst-len: Restrict master AXI burst length by value specified > > > + in this property. If this property is missing the maximum AXI burst length > > > + supported by DMAC is used. [1:256] > > > + > > > +Example: > > > + > > > +dmac: dma-controller@80000 { > > > + compatible = "snps,axi-dma-1.01a"; > > > > do we need "snps here..? > > Synopsys is this IP-block vendor so shouldn't we put it that way? Not a DT expert but why should vendor name come here, you can read the properties from device node, vendor name seems redundant to me -- ~Vinod