From patchwork Thu Oct 11 16:41:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10637011 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 DF271112B for ; Thu, 11 Oct 2018 16:46:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6DEA2BC69 for ; Thu, 11 Oct 2018 16:46:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C50B92BC7E; Thu, 11 Oct 2018 16:46:38 +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 4CBA92BC69 for ; Thu, 11 Oct 2018 16:46:38 +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=afRF+ySOoZwaqq+RtJAq3B0Sjvt6JVYCnAKYcclNNxY=; b=i/f0p5IboRiY6q7uPvMoIw/MSq mmmueePw2OyNpE2wL7AQqGkQ4JQi7LgHc7Cz464cgq+0HRGa1rQMRYAeve9P+XsVvwN/WQrraKry7 c3BU6RPNSbOSTf+Bo6Xacx7P83eu3n+48aenGFJn2KMcMxua37rZqFCnvUs5aSFmq/Jz5t2dyOPGG ne1v4aDATm6f3ui0/CFaA+gJC8S+V7P0UXsrRNFfWHDo4bHbF/BH2LdeWcYFgbUWpJNanQdTbU7yF 6DTRbELD6Z7wBEZK9O27locUHSWpb98fIma7GZS85XapmxRiWEN68hvprrPq+YLN8yy9Fnuf0lEtR ktC8u5mg==; 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 1gAe6c-0000oR-HQ; Thu, 11 Oct 2018 16:46:34 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAe27-00063k-8B for linux-arm-kernel@lists.infradead.org; Thu, 11 Oct 2018 16:42:02 +0000 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-07.nifty.com with ESMTP id w9BGf9b9007909; Fri, 12 Oct 2018 01:41:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w9BGf9b9007909 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1539276071; bh=iRhBghOfbe1mUlmrIyQZV10oc98t0c1hQwHeiRi6HsU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EfFAIugur5+P/yKOZcFwMDRzefKTFFO9URQvQ68zHeOc7grCmOmw0/RldHxpLkB0k cHFKwlGbmXEr0yiZtpg96aJ661SUHq6Dh4XQjwtrafmaE7f5HWAobo5gm8UIHXy67U ZIkWJPsuTuQUvGpgUjjDVlZ4butc6D4h6f4DoVrJIqtmNCC3G49yLNIg3Ev7rSOqyA +8a6cMoNBt1XZeqjpm4OnijzJTWGIiiWelKrkNRzt4BCZ5F3rTvKu9zkL66RrfJCG1 GNxUYFkgjb5Md7DjkkSk2g49i6Svl3B8CN99X6Z89Ni0kHzf+i6SHQRRsrIOMCdP0G r5KbtBi8fk+eQ== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC Date: Fri, 12 Oct 2018 01:41:02 +0900 Message-Id: <1539276063-5103-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539276063-5103-1-git-send-email-yamada.masahiro@socionext.com> References: <1539276063-5103-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181011_094155_556151_B9D7B8E3 X-CRM114-Status: GOOD ( 12.11 ) 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, Masahiro Yamada , linux-kernel@vger.kernel.org, Jassi Brar , 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 v4: None Changes in v3: - Add Rob's Reviewed-by 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.