From patchwork Wed Jul 27 21:02:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9250407 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4C94860757 for ; Wed, 27 Jul 2016 21:03:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CDFB212D6 for ; Wed, 27 Jul 2016 21:03:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31C3625D91; Wed, 27 Jul 2016 21:03:57 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96CEF212D6 for ; Wed, 27 Jul 2016 21:03:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSVyY-0002Bo-5C; Wed, 27 Jul 2016 21:02:46 +0000 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSVyU-000207-Gy for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2016 21:02:43 +0000 Received: by mail-lf0-x22b.google.com with SMTP id l69so35944872lfg.1 for ; Wed, 27 Jul 2016 14:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=WsP4UbayJDiP+sQWj47r2LcKUQTw7dnwurco8gaQgu4=; b=2BcNov+O7Y04x8Q5JtcphteVcf5Q4NsBO3ILIqPUCXKOYyfLWq/mH+6AfZkBvEA+pL T76G1KyW/6JwJnVVIHd+/LBebna4gE+UyMj12OyHFSQd+rX01qNxY7eISPxxkqgn7Ju9 Z8wt2QA+C+qZ3LGXgONyg2PBqsHAMQ/Vj+ZI8Bkm0gGWVBODttA5nLSw6ChxaVHWxzN8 im7fv9Fi+ynlNqRfqVeQyD7juHO91pXcMKpylSeWpVwpunO3/9imtAXTA8qnBzcjPvNJ eGWTSPYKa28WdPKSJvO5f9KCh0aGX5DAMij44mzuIObVtJt7VBQUPqORXhwVMgf13JMR PB8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=WsP4UbayJDiP+sQWj47r2LcKUQTw7dnwurco8gaQgu4=; b=c0AWUZ/6jgXxHZ+vquhNna+r4hrUT/Ag6nEzPVN89qqVUq+wRb1wSNAEsYY4Jl+Hy6 LWmxNXPnQDkYrFa1NvSb1FjsKBDsY/XeYgnHcY+H/1SH9s3QX4gAqUFKp3AsuKYqpwrS rUHVU45t9wPSTX+oDNdGIbw1KqlTlq9p504oyGni06fBj0BWUu3C6UAaAfimsATtlCNA UferWbFUQMdGtzYDoDUHDNZrbG/QohlrbPXbqG5IbOAUlotFX+T4O8c7Hjwg6RLMov72 S+dQznWstnYN2OWHjIaSHFoV0y4jJNlPjOHbCLH7q3Uc9sYIiBhrLFVXLqJUFAoW+XTM GCKg== X-Gm-Message-State: AEkooutDo1JX4pzH9EfZ9k9+se3/G3/O/LzLOQ6XpaBEo3GDIxCmPrqjOYSK6G3DUe7vMg== X-Received: by 10.25.34.65 with SMTP id i62mr12388094lfi.7.1469653340473; Wed, 27 Jul 2016 14:02:20 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.21]) by smtp.gmail.com with ESMTPSA id s187sm1311928lfd.3.2016.07.27.14.02.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 14:02:19 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v4 4/6] ARM: dts: r8a7794: add Audio-DMAC support Date: Thu, 28 Jul 2016 00:02:18 +0300 Message-ID: <6419837.qqlciQTB8q@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.6.4-201.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <3910788.ckTpUWEs6B@wasted.cogentembedded.com> References: <3910788.ckTpUWEs6B@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160727_140242_795367_1A8719E3 X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org 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 Describe Audio-DMAC in the R8A7794 device tree. This patch is loosely based on the commit 8994fff67761 ("ARM: shmobile: r8a7791: Add Audio DMAC devices to DT"). Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 4: - refreshed the patch. Changes in version 3: - refreshed the patch. arch/arm/boot/dts/r8a7794.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -296,6 +296,34 @@ dma-channels = <15>; }; + audma0: dma-controller@ec700000 { + compatible = "renesas,dmac-r8a7794", "renesas,rcar-dmac"; + reg = <0 0xec700000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", "ch4", "ch5", + "ch6", "ch7", "ch8", "ch9", "ch10", "ch11", + "ch12"; + clocks = <&mstp5_clks R8A7794_CLK_AUDIO_DMAC0>; + clock-names = "fck"; + power-domains = <&cpg_clocks>; + #dma-cells = <1>; + dma-channels = <13>; + }; + scifa0: serial@e6c40000 { compatible = "renesas,scifa-r8a7794", "renesas,rcar-gen2-scifa", "renesas,scifa";