{"id":809432,"url":"http://patchwork.ozlabs.org/api/1.0/patches/809432/?format=json","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.0/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170903224100.17893-7-stefan.bruens@rwth-aachen.de>","date":"2017-09-03T22:40:57","name":"[06/10] arm64: allwinner: a64: Add devicetree binding for DMA controller","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":true,"hash":"f08de4f8a2780766e47232f38e10547021ea381f","submitter":{"id":67055,"url":"http://patchwork.ozlabs.org/api/1.0/people/67055/?format=json","name":"Stefan Brüns","email":"stefan.bruens@rwth-aachen.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170903224100.17893-7-stefan.bruens@rwth-aachen.de/mbox/","series":[{"id":1285,"url":"http://patchwork.ozlabs.org/api/1.0/series/1285/?format=json","date":"2017-09-03T22:40:57","name":"dmaengine: sun6i: Fixes for H3/A83T, enable A64","version":1,"mbox":"http://patchwork.ozlabs.org/series/1285/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809432/checks/","tags":{},"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlp001fFXz9s06\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 08:42:40 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753097AbdICWmG (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tSun, 3 Sep 2017 18:42:06 -0400","from mail-out-2.itc.rwth-aachen.de ([134.130.5.47]:16103 \"EHLO\n\tmail-out-2.itc.rwth-aachen.de\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1753335AbdICWlO (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Sun, 3 Sep 2017 18:41:14 -0400","from rwthex-w2-b.rwth-ad.de ([134.130.26.159])\n\tby mail-in-2.itc.rwth-aachen.de with ESMTP; 04 Sep 2017 00:41:12 +0200","from pebbles.fritz.box (92.225.242.208) by rwthex-w2-b.rwth-ad.de\n\t(2002:8682:1a9f::8682:1a9f) with Microsoft SMTP Server (TLS) id\n\t15.0.1320.4; Mon, 4 Sep 2017 00:41:11 +0200"],"X-IronPort-AV":"E=Sophos;i=\"5.41,472,1498514400\"; d=\"scan'208\";a=\"11607793\"","From":"=?utf-8?q?Stefan_Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>","To":"<linux-sunxi@googlegroups.com>","CC":"<devicetree@vger.kernel.org>, <dmaengine@vger.kernel.org>,\n\tVinod Koul <vinod.koul@intel.com>,\n\t<linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tChen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>,\n\tCode Kipper <codekipper@gmail.com>,\n\tAndre Przywara <andre.przywara@arm.com>","Subject":"[PATCH 06/10] arm64: allwinner: a64: Add devicetree binding for DMA\n\tcontroller","Date":"Mon, 4 Sep 2017 00:40:57 +0200","Message-ID":"<20170903224100.17893-7-stefan.bruens@rwth-aachen.de>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170903224100.17893-1-stefan.bruens@rwth-aachen.de>","References":"<20170903224100.17893-1-stefan.bruens@rwth-aachen.de>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"8bit","X-Originating-IP":"[92.225.242.208]","X-ClientProxiedBy":"rwthex-w1-b.rwth-ad.de (2002:8682:1a9d::8682:1a9d) To\n\trwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f)","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"The A64 is register compatible with the H3, but has a different number\nof dma channels and request ports.\n\nAttach additional properties to the node to allow future reuse of the\ncompatible for controllers with different number of channels/requests.\n\nIf dma-requests is not specified, the register layout defined maximum\nof 32 is used.\n\nSigned-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>\n---\n .../devicetree/bindings/dma/sun6i-dma.txt          | 26 ++++++++++++++++++++++\n 1 file changed, 26 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/dma/sun6i-dma.txt b/Documentation/devicetree/bindings/dma/sun6i-dma.txt\nindex 6b267045f522..66195fb31296 100644\n--- a/Documentation/devicetree/bindings/dma/sun6i-dma.txt\n+++ b/Documentation/devicetree/bindings/dma/sun6i-dma.txt\n@@ -26,6 +26,32 @@ Example:\n \t\t#dma-cells = <1>;\n \t};\n \n+------------------------------------------------------------------------------\n+For A64 DMA controller:\n+\n+Required properties:\n+- compatible:\t\"allwinner,sun50i-a64-dma\"\n+- dma-channels: Number of DMA channels supported by the controller.\n+\t\tRefer to Documentation/devicetree/bindings/dma/dma.txt\n+- all properties above, i.e. reg, interrupts, clocks, resets and #dma-cells\n+\n+Optional properties:\n+- dma-requests: Number of DMA request signals supported by the controller.\n+\t\tRefer to Documentation/devicetree/bindings/dma/dma.txt\n+\n+Example:\n+\tdma: dma-controller@01c02000 {\n+\t\tcompatible = \"allwinner,sun50i-a64-dma\";\n+\t\treg = <0x01c02000 0x1000>;\n+\t\tinterrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;\n+\t\tclocks = <&ccu CLK_BUS_DMA>;\n+\t\tdma-channels = <8>;\n+\t\tdma-requests = <27>;\n+\t\tresets = <&ccu RST_BUS_DMA>;\n+\t\t#dma-cells = <1>;\n+\t};\n+------------------------------------------------------------------------------\n+\n Clients:\n \n DMA clients connected to the A31 DMA controller must use the format\n","prefixes":["06/10"]}