Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8001432ybi; Tue, 9 Jul 2019 07:35:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOUZb8iKs3WVrJBm+kvinF4oe1JN7WWs8QPBtKCgndAwzzqlNaG4W2bzf+zRf5AlodI1yS X-Received: by 2002:a63:c64b:: with SMTP id x11mr31108205pgg.319.1562682928621; Tue, 09 Jul 2019 07:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562682928; cv=none; d=google.com; s=arc-20160816; b=WsP8WXaRNgdDGOtFP7H32HUjcVGrpiT+XeNiRdryIFg6pvDOBAAe133v20SwUGjQIe lWSASXk9ePVuIm/xqE3/z9SJhvvNjN3JU9+m09fsPoXJTDY0Zou035OT14P8p3NDLVuX ka25QBNKSEN/mquMsw0QLtdxarzeemy0Rjcj3r1PNehVPSfktVj4guQMbpYwnwXyFPo+ oBekiZDHFrIJ7FeCfP5ZpmD0UHdp65mOsXh1NayCzekBWTZkplbKr1ZoJ/bwc0tMAmzJ c8MBCErh8QueOQTV9+qtoLVrj7Z64C0mhbR9zzUaSDyr2QUpxii0Oe7VKTjYIQlvlSMH hvZw== 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=gggSfCIWVD31KwI1CzAVycXiGWubHTVDoE7YrVCRLTk=; b=iGkG6vUqIj1PzTwDwpoqqjibcVmtPt9Bb/R7hBdtzndnfhvlortk5m7qU4ea/yXbIV Ndohpvy1gYUxVLxJNqlhBTX6QSElAw/dOgUbyx7v8lnHpbVqOZBNqYeC1MWBo3vV6tuc 00ckWjvrpGQbtKciBPxeMqw7Gd2m68q1H3ZeqEjzgUHVF3vsnjzmqNVGBqzd0BxwQ+gD W+eQ9TiEERBKKAqdFupQXapAnns24sD5loi1Utg9BSddoaLEqlYHa198eFETQh8SYDeD 3mjZSFgcQHdMPx8PPf67nsQL3r6XCHWyE2uwjGyHtcH86OhU+UNDSxbhZfHPHlXy6+lM FLAg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f128si22228094pgc.55.2019.07.09.07.35.12; Tue, 09 Jul 2019 07:35:28 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbfGIOek (ORCPT + 99 others); Tue, 9 Jul 2019 10:34:40 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:36154 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbfGIOek (ORCPT ); Tue, 9 Jul 2019 10:34:40 -0400 Received: by mail-io1-f67.google.com with SMTP id o9so28035685iom.3; Tue, 09 Jul 2019 07:34:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=gggSfCIWVD31KwI1CzAVycXiGWubHTVDoE7YrVCRLTk=; b=dHKpx2IC+KtLxGnp77sFBgR/jCiU2CLiyyk3PuacZYOYnPn7ynj8LxgP9NS1HLZ5J7 NRGnK/ic/FsMF1t/KH1hSgNmFsP8jef/eKXln1H9Wld3tF/bBsHvv1Klav3khZTciLm+ 9jKcGRC4/6hQw0rpF1aKevBJ9E3dQ2ivdxoxk6tEthvT47vQ/qxpJRRGjrkPB8UbDIj0 3qChIxEK2qXbeRiGGIARAd0Oe+hI0pNl7SG/LotZoZEzgE4d380yVm/pMxpyT1/dLhr4 e9l0susw9s+QsKjL4/gFSybY4F22jFbXvlEA2+odiut2LHunb7UZacjCGflkInpCUeU5 Cjuw== X-Gm-Message-State: APjAAAXhKi/i4UcFKIw5yItd2CM++wojdtE8t/viLd6+pOhYuv4fnI0T E5WwJpykNDsbcUjZWChvgg== X-Received: by 2002:a02:b713:: with SMTP id g19mr5777342jam.77.1562682879080; Tue, 09 Jul 2019 07:34:39 -0700 (PDT) Received: from localhost ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id h19sm14973584iol.65.2019.07.09.07.34.38 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 07:34:38 -0700 (PDT) Date: Tue, 9 Jul 2019 08:34:37 -0600 From: Rob Herring To: jassisinghbrar@gmail.com Cc: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, mark.rutland@arm.com, orito.takao@socionext.com, masami.hiramatsu@linaro.org, kasai.kazuhiro@socionext.com, Jassi Brar Subject: Re: [PATCH 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings Message-ID: <20190709143437.GA30850@bogus> References: <20190613005109.1867-1-jassisinghbrar@gmail.com> <20190613005237.1996-1-jassisinghbrar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190613005237.1996-1-jassisinghbrar@gmail.com> 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 Wed, Jun 12, 2019 at 07:52:37PM -0500, jassisinghbrar@gmail.com wrote: > From: Jassi Brar > > Document the devicetree bindings for Socionext Milbeaut HDMAC > controller. Controller has upto 8 floating channels, that need > a predefined slave-id to work from a set of slaves. > > Signed-off-by: Jassi Brar > --- > .../bindings/dma/milbeaut-m10v-hdmac.txt | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt > > diff --git a/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt b/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt > new file mode 100644 > index 000000000000..a104fcb9e73d > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt > @@ -0,0 +1,51 @@ > +* Milbeaut AHB DMA Controller > + > +Milbeaut AHB DMA controller has transfer capability bellow. > + - memory to memory transfer > + - device to memory transfer > + - memory to device transfer > + > +Required property: > +- compatible: Should be "socionext,milbeaut-m10v-hdmac" > +- reg: Should contain DMA registers location and length. > +- interrupts: Should contain all of the per-channel DMA interrupts. How many? > +- #dma-cells: Should be 1. Specify the ID of the slave. > +- clocks: Phandle to the clock used by the HDMAC module. > + > + > +Example: > + > + hdmac1: hdmac@1e110000 { dma-controller@... > + compatible = "socionext,milbeaut-m10v-hdmac"; > + reg = <0x1e110000 0x10000>; > + interrupts = <0 132 4>, > + <0 133 4>, > + <0 134 4>, > + <0 135 4>, > + <0 136 4>, > + <0 137 4>, > + <0 138 4>, > + <0 139 4>; > + #dma-cells = <1>; > + clocks = <&dummy_clk>; > + }; > + > +* DMA client > + > +Clients have to specify the DMA requests with phandles in a list. Nothing specific to this binding here and the client side is already documented, so drop this section. > + > +Required properties: > +- dmas: List of one or more DMA request specifiers. One DMA request specifier > + consists of a phandle to the DMA controller followed by the integer > + specifying the request line. > +- dma-names: List of string identifiers for the DMA requests. For the correct > + names, have a look at the specific client driver. > + > +Example: > + > + sni_spi1: spi@1e800100 { > + ... > + dmas = <&hdmac1 22>, <&hdmac1 21>; > + dma-names = "tx", "rx"; > + ... > + }; > -- > 2.17.1 >