From patchwork Tue Feb 9 21:56:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 8265921 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E66539F6DA for ; Tue, 9 Feb 2016 21:56:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54A282022D for ; Tue, 9 Feb 2016 21:56:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 27C2820260 for ; Tue, 9 Feb 2016 21:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933025AbcBIV4i (ORCPT ); Tue, 9 Feb 2016 16:56:38 -0500 Received: from mail-lb0-f177.google.com ([209.85.217.177]:35949 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933005AbcBIV4i (ORCPT ); Tue, 9 Feb 2016 16:56:38 -0500 Received: by mail-lb0-f177.google.com with SMTP id dx2so372504lbd.3 for ; Tue, 09 Feb 2016 13:56:37 -0800 (PST) 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 :content-type; bh=dIyd2A9LnAYpxqRw4m3fsNFY2cc6nk3jRTrHvZsBE4o=; b=kV5v1thRE806lQ+3X8ZZKtfV7iNyJNTti5JBoiXJ5RAs1jpIXkm096dsY00btthMZs xKqAwp9VmBG5CoLRgGMSlQTQ9wN3Qd1VCl/Q56fcx1HBQYix2yyoFTYk9Cx0RkP42Pyx WY9xXtt3cr0hrGKPm2oh3XFmCkxrGzC87oC9FBv8ebBRSceR5ZqaMMLuEFh6cWbfGlxO wkrk1WVzLVhYEasbOGttRQKOniQdEmr9gw+88yfGieuXXKk62w+SFnULp3urIxLeDWdX 6mfqk8elNnzWrGu5oycjKthg2MK1ZXCMDQ5tqBb0zskEWmVsh4MU/LrpW6oYg6JGVUq3 amHQ== 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:content-type; bh=dIyd2A9LnAYpxqRw4m3fsNFY2cc6nk3jRTrHvZsBE4o=; b=Ryi8u6E8w7tjZvk7CvnEjtLEtYhcb4cdohbs9MS44TQoE1Jt3Qkh9vBqaJ0eCjQaIp 6IV6lDQhY6aExJ3pm114KO8Ow+KleoTKFvHC6ROa3NjktQmKpx+pc5GyrFeju4eTt76q 8MX+FItitSIyTYd5iA/8YKfl++8Hbwtjjet6X0wuWS8Lc/oWgG7PgzaWTF2DjwE0g+ed oICP1YchLYKwF6w8juUpJTITH/LnfQ0kSqNPmCxAT5YqR+zXAxgh499wonDndSimcFGJ QISnpU7d5g5GfZzZXtOhssQQyecvQsnsa5yEKMvnEpbpJc0E9H/8dAn94KL6KHHcl+/f Dn3A== X-Gm-Message-State: AG10YOT1ObK35jOADUo7Fxu3ShRQp6krYrS6pmDLlGqPj7VDWJHQr8fs4S2ujPrhyQfFTQ== X-Received: by 10.112.73.69 with SMTP id j5mr12259255lbv.124.1455054996622; Tue, 09 Feb 2016 13:56:36 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.84.130]) by smtp.gmail.com with ESMTPSA id xo4sm4988lbb.27.2016.02.09.13.56.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 13:56:36 -0800 (PST) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/5] ARM: dts: r8a7794: add Audio-DMAC support Date: Wed, 10 Feb 2016 00:56:34 +0300 Message-ID: <5519679.0f6oS5evyW@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.2.8-200.fc22.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <12033353.rt0nolnBmD@wasted.cogentembedded.com> References: <12033353.rt0nolnBmD@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.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 --- 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 @@ -281,6 +281,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";