From patchwork Mon Mar 25 04:15:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kazuhiro Kasai X-Patchwork-Id: 161018 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3509264jan; Sun, 24 Mar 2019 21:15:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMPOHACKw2hKyjbhGtAVAbeIsydYWKCE2H8PayLIRT0HSIlxUK59GlOSgU2xPT+vGHz7za X-Received: by 2002:a63:2a86:: with SMTP id q128mr21512044pgq.424.1553487346553; Sun, 24 Mar 2019 21:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553487346; cv=none; d=google.com; s=arc-20160816; b=UB4YKH8+pXsiM61UKuN9KItnhre6eYNBOWE9/YwBDesJKrMWp3DWyM6Og8nFNoSuXc wuO7JCTWOKbTl7SIX/81LpV1ncfgG9uRmhnSwV6oodELm3tULsZO/QdNXIuuErwYV8Ac XB1P60rsA/898fVzgbtWSZshkz5kF2wQfqdZryupZ6TvVYFr12LEEB54x+/z2ItzNjUR /DgDrnddPoVde2YeOeuTJHJ+YX+IfiLedinLBAMD8IGXnG9BOMk1DMEHInUdGG3dBzRD w56aEUirCnhSX9RIvEeLcozgeTO5GNOex+5cwzOp9x7Mozjx7gttstRZzE6KUHxDwrl9 XE5w== 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; bh=DqYtzcYZr0KbXMz9Wl+xTgoLSItKFkJoMECGaA/tRBA=; b=GjPDZitQijAUUDh1CFga4EXsbvjgIPWHCHWagiQUENUJL/vI6gOp3MaX/nFuSOyJW4 WP/D/HgUUWNxdWByHWy9ObBy8UD9ae/sLvMzU6joACjKSyz3STspX4wJIOHzOzmRZLGY 7+mm4MOYkpJSfQo53iFfkMLuRMzUxA25ulHqRfnhyUeO6/n4kYOiEjE4EZytM69TMYqU eOd8/Xwu1VSFwqdCZc3WWUafPk0AizPAa9Pw1iMWBUEI7xIYpIixAq5yNYIz7KsEAC38 jO4y7Jmpcy6okxDVpfUOS15xB/YwScID0rcecrTKe4o7qOT2FeR5fGQp3CdqpH6Vq+uY fVeA== 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 e14si38124pfn.203.2019.03.24.21.15.46; Sun, 24 Mar 2019 21:15:46 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726214AbfCYEPg (ORCPT + 31 others); Mon, 25 Mar 2019 00:15:36 -0400 Received: from mx.socionext.com ([202.248.49.38]:53579 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfCYEPg (ORCPT ); Mon, 25 Mar 2019 00:15:36 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 25 Mar 2019 13:15:34 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 96D06180085; Mon, 25 Mar 2019 13:15:34 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 25 Mar 2019 13:15:34 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 191F81A15B7; Mon, 25 Mar 2019 13:15:34 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id 0319F120487; Mon, 25 Mar 2019 13:15:34 +0900 (JST) From: Kazuhiro Kasai To: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, orito.takao@socionext.com, sugaya.taichi@socionext.com, kanematsu.shinji@socionext.com, jaswinder.singh@linaro.org, masami.hiramatsu@linaro.org, linux-kernel@vger.kernel.org, Kazuhiro Kasai Subject: [PATCH 1/2] dt-bindings: dmaengine: Add Milbeaut AXI DMA controller bindings Date: Mon, 25 Mar 2019 13:15:13 +0900 Message-Id: <1553487314-9185-2-git-send-email-kasai.kazuhiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1553487314-9185-1-git-send-email-kasai.kazuhiro@socionext.com> References: <1553487314-9185-1-git-send-email-kasai.kazuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Milbeaut AXI DMA controller bindings. This DMA controller has only capable of memory to memory transfer. Signed-off-by: Kazuhiro Kasai --- .../devicetree/bindings/dma/xdmac-milbeaut.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/xdmac-milbeaut.txt -- 1.9.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/dma/xdmac-milbeaut.txt b/Documentation/devicetree/bindings/dma/xdmac-milbeaut.txt new file mode 100644 index 0000000..3a77fb1 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/xdmac-milbeaut.txt @@ -0,0 +1,24 @@ +* Milbeaut AXI DMA Controller + +Milbeaut AXI DMA controller has only memory to memory transfer capability. + +* DMA controller + +Required property: +- compatible: Should be "socionext,milbeaut-m10v-xdmac" +- reg: Should contain DMA registers location and length. +- interrupts: Should contain all of the per-channel DMA interrupts. +- #dma-cells: Should be 1. +- dma-channels: Number of DMA channels supported by the controller. + +Example: + xdmac0: dma-controller@1c250000 { + compatible = "socionext,milbeaut-m10v-xdmac"; + reg = <0x1c250000 0x1000>; + interrupts = <0 17 0x4>, + <0 18 0x4>, + <0 19 0x4>, + <0 20 0x4>; + #dma-cells = <1>; + dma-channels = <4>; + };