From patchwork Fri Aug 24 01:41:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10574725 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27FAD920 for ; Fri, 24 Aug 2018 01:42:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17F222C29C for ; Fri, 24 Aug 2018 01:42:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B96A2C3AF; Fri, 24 Aug 2018 01:42:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AFF9D2C29C for ; Fri, 24 Aug 2018 01:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=9uhTayaCrFgIPQfd14uIN3ZDIj+wteBQ83y3KXjCzF0=; b=JQQLxSWrPvg7Cc6Vrt7+unYvyK QpmKa8iHuoBlvtk7mpeR1XeXz2IhuZLakflwbLWeoL4dLfp4vCShj7vAPZBFoLWsSNKx+TJMCLFuN DywQFBgpDHcWrmGW+oiyuV5pwa3r9l7BS+LTKa7ns8fndIthTwRzkGe3vCZlKKRW18cB19B6A5kKJ fC8+A4P/jgxJs8svwKgoxji0IGq6zAWyXmCTynkpYdan7muHLelMIGccPAfQJJ28tOYUMyNCvCyWa wY0YahDq8C/QrdQZZAPHcUHIsMcEV+VUX5yfD3QJsB8Oitff0Bt++Rn8OJJ3+IXdaoLJ0Hs1vljL1 TyIXcZQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ft17X-0000Eo-IU; Fri, 24 Aug 2018 01:42:39 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ft17L-0008Ui-1G for linux-arm-kernel@lists.infradead.org; Fri, 24 Aug 2018 01:42:28 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w7O1fPr0000411; Fri, 24 Aug 2018 10:41:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w7O1fPr0000411 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1535074887; bh=CzdodUwtZIgwu2wu5HeMR4NestBlGRCdpgz3kG8nWjE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hn9SSvvodpg88kFXgfG1lpXSR8sAqS/3MU0YdjDmwUkbB9zS6t0VdH0O4rxkW65hn xqAAeM1q+VMw507sQVsdtZmDzM9YfNqPgRkj+E428EgmsUVCI2oZcEAIf1+w/Cg1YN /2w3KFTThl0qgGmzFMGIfnpUQDdWa6JTL0HhW+vGkgVK3xEaPCRdrFue1mDTmrLV4P 50sOPF0juhOegv1ALpfNggTXwCXXPExD0o1XfZvOc1T/MwZpAQjbb3z/Oyg1Ed1jk3 MlqJKC4T6C7GyAhv3AMwmgZCEJIgizQe+VcSGUbI5HDIS+3mF5+/abXuaBJENxOlFI vK9Ko9h0RjjTg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC Date: Fri, 24 Aug 2018 10:41:12 +0900 Message-Id: <1535074873-15617-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535074873-15617-1-git-send-email-yamada.masahiro@socionext.com> References: <1535074873-15617-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180823_184227_286736_B29B1FE7 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jassi Brar , linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring , Masami Hiramatsu , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, Pro4, and sLD8 SoCs. Signed-off-by: Masahiro Yamada Reviewed-by: Rob Herring --- Changes in v2: - Rename the node "dmac" to "dma-controller" - Remove dma-channels property .../devicetree/bindings/dma/uniphier-mio-dmac.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/uniphier-mio-dmac.txt diff --git a/Documentation/devicetree/bindings/dma/uniphier-mio-dmac.txt b/Documentation/devicetree/bindings/dma/uniphier-mio-dmac.txt new file mode 100644 index 0000000..b12388d --- /dev/null +++ b/Documentation/devicetree/bindings/dma/uniphier-mio-dmac.txt @@ -0,0 +1,25 @@ +UniPhier Media IO DMA controller + +This works as an external DMA engine for SD/eMMC controllers etc. +found in UniPhier LD4, Pro4, sLD8 SoCs. + +Required properties: +- compatible: should be "socionext,uniphier-mio-dmac". +- reg: offset and length of the register set for the device. +- interrupts: a list of interrupt specifiers associated with the DMA channels. +- clocks: a single clock specifier. +- #dma-cells: should be <1>. The single cell represents the channel index. + +Example: + dmac: dma-controller@5a000000 { + compatible = "socionext,uniphier-mio-dmac"; + reg = <0x5a000000 0x1000>; + interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>, + <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>; + clocks = <&mio_clk 7>; + #dma-cells = <1>; + }; + +Note: +In the example above, "interrupts = <0 68 4>, <0 68 4>, ..." is not a typo. +The first two channels share a single interrupt line.