Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7123043ybi; Thu, 13 Jun 2019 09:58:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbZ0fannXO2e9eY8sPdiVc502j9fq/S0E8Z0NM5p5SsGn/Xw2WH2ujoCbNnaDiTUaXNLnE X-Received: by 2002:a62:7552:: with SMTP id q79mr74594807pfc.71.1560445108033; Thu, 13 Jun 2019 09:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560445108; cv=none; d=google.com; s=arc-20160816; b=nUAPhS/LQyTzR8KbNE9RBgWXx4sAmi5fDDl6XLXjeaBvo+WaEnEzEfguCfRGnCfjDH 3DFGvJst5wVo7LcSQkIOYKL3bYuZ4OTjO5YmceT5724gpcbBo1TEaUD2Wt96sHw2nAlz xzqJEyHlIQwF8vdD/95U3pcnJxVtCerriS4pkM5HEdjGscotYqbhCY88Hlryg1nkejNU 6PxBD+1pCQPkBPlzgM2PohDuN9mzJXKEklX7Zlsa8PpeKqlenfVkOCuuXNJ76Rj3b1rL 4tVO/1IkDBrb81wpSftNz3T1aqs0taMQisJGB2k85sT6+ekZaDIEjX9QvsyhKkV7i4MN 9Q8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=GJ8o+cBP4X+ha08iy7wHCSwd72glWWHxr08lI7M45nE=; b=0CGLfI+uzQLjAJsBek66KoN6ENL5vVeBnrSjBexcqDknB+j0+AP7suVJrba94vPWQQ jOe1bzKf+9vAnRLLdyqKZvPauVp0bfMW2IZDm+rMrOuae++J6oPA6gFKISGU/X8oQBHa lC0KY7GiCiYwDjLFCWpIvUYv6tw9S50QS5obUyGkO9K02Dyci28zhwwaxP9ELmaYFjR8 llqTET0lRhQJqAyuwun+dSC81/dtgPn0Mb/m/Lgfao+OLXYV4BhZD23FJfPUrGV4F7RC suSuDMnifEqAmMB2L6Qt3oiv+yw9aqsjnzjWap3t2bxhU+YWt0xzBbpQ9zTSF1lHq/dS azaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEizGQl1; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si253204pgs.4.2019.06.13.09.58.13; Thu, 13 Jun 2019 09:58: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEizGQl1; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389684AbfFMQ6K (ORCPT + 99 others); Thu, 13 Jun 2019 12:58:10 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37441 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729911AbfFMAwm (ORCPT ); Wed, 12 Jun 2019 20:52:42 -0400 Received: by mail-pg1-f193.google.com with SMTP id 20so9876858pgr.4; Wed, 12 Jun 2019 17:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GJ8o+cBP4X+ha08iy7wHCSwd72glWWHxr08lI7M45nE=; b=lEizGQl1b5EgyAZNMMQ46629BYRAFhx9ttWnhZqIDKjfDw0ZTyIk/sUA0xQ804TUJb xvqMfKH8Ovd2cRJHxNV2fAfHq8FgIe9qAhUw6N+iEH4+SxYVXKOL+3iKdcqy+pcsrP2g D/Rnd/WVKPT0lF63GJCxK3RuLAHbihOdFpcKGuRorJVk4etgQe1I0pG3NTJNhe1Zmt2n 7B8+i2Gwr/Guuu0OohtYr7qWit3mbGM5FhZV/3hDPCt+JP21xw33Qs8e7kL0knMOcA/l MWimb6FJOm9/J6pq+Ior4K1gEmfW7EeoMy0lydcRAi2kz8HIrTe8InKwt7maTsDzE5tD E0xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GJ8o+cBP4X+ha08iy7wHCSwd72glWWHxr08lI7M45nE=; b=NY/dfFKObyyAKwYzii4jRd0gLigbE+O8HpnR52fBKVQ2CjpJYC7myC92N2inesk7Qq tlDPOsmPf9fF7XWyji0C2Ji2TTj/0cmYv9c12kj6eSTdgAs6GvH3zx0y2H1C+sPGoPHb a2WnY+C4vKaOxlAwpS+zTqV9vyN43eBihkqxS/GqUHxnI9KBSaDX9Obile7pNYdTYtw+ qajxcPTbSGM7WN8X93aELJNVpnt7kLcpgtBZXVe2TKyg96xsmC71DNFvLuz0JASLCOLy 1aYrgW5Q2Z2zCqdPZyz7xfXBy+OTKOeNyFqfB0QWC4IAN7U7h5rmvy0yyGvKjYLyusSc JJGQ== X-Gm-Message-State: APjAAAWgaCWexoZCTQoJPgjiwBY4v/E0DZPZekK751MZ3aynHRlDX8nC eJkQYh9viWrakBDoOSNlzL5/Fzzo X-Received: by 2002:a17:90a:a407:: with SMTP id y7mr1947345pjp.97.1560387161726; Wed, 12 Jun 2019 17:52:41 -0700 (PDT) Received: from localhost.localdomain ([2604:3d09:b080:d00:7990:5eb3:9633:9569]) by smtp.gmail.com with ESMTPSA id t13sm519015pjo.13.2019.06.12.17.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 17:52:41 -0700 (PDT) From: jassisinghbrar@gmail.com To: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, orito.takao@socionext.com, masami.hiramatsu@linaro.org, kasai.kazuhiro@socionext.com, Jassi Brar Subject: [PATCH 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings Date: Wed, 12 Jun 2019 19:52:37 -0500 Message-Id: <20190613005237.1996-1-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190613005109.1867-1-jassisinghbrar@gmail.com> References: <20190613005109.1867-1-jassisinghbrar@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. +- #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 { + 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. + +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