From patchwork Wed Nov 25 06:36:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7695511 Return-Path: X-Original-To: patchwork-linux-sh@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 51D679F1D3 for ; Wed, 25 Nov 2015 06:36:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 66C502082A for ; Wed, 25 Nov 2015 06:36:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 79925207E6 for ; Wed, 25 Nov 2015 06:36:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755161AbbKYGgH (ORCPT ); Wed, 25 Nov 2015 01:36:07 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:22228 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754425AbbKYGgF (ORCPT ); Wed, 25 Nov 2015 01:36:05 -0500 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 25 Nov 2015 15:36:04 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 4944A4B8DA; Wed, 25 Nov 2015 15:36:04 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 388C58002F; Wed, 25 Nov 2015 15:36:04 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 34AAE8002D; Wed, 25 Nov 2015 15:36:04 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id RAV10852; Wed, 25 Nov 2015 15:36:04 +0900 X-IronPort-AV: E=Sophos;i="5.20,341,1444662000"; d="scan'";a="200492643" Received: from mail-hk2apc01lp0212.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.212]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 Nov 2015 15:36:03 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB1019.apcprd06.prod.outlook.com (10.161.9.27) with Microsoft SMTP Server (TLS) id 15.1.331.20; Wed, 25 Nov 2015 06:36:02 +0000 Message-ID: <871tbe8ubn.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 01/12] arm64: renesas: r8a7795: add AUDIO_DMAC support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon CC: Magnus , , In-Reply-To: <8737vu8ucv.wl%kuninori.morimoto.gx@renesas.com> References: <8737vu8ucv.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 25 Nov 2015 06:36:02 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR0201CA0017.apcprd02.prod.outlook.com (25.164.90.155) To SG2PR06MB1019.apcprd06.prod.outlook.com (25.161.9.27) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1019; 2:9y9ANocDpYJv05Ry3G/GDTsz6CKZhl7w7vQzMn7aRMwGkhGYU1u0BLG4YpkXHs9pAi42O7Y6i4pLrd6rL3KYBDVNij5msY1hzYiS07BR4PQsJWvwSkWBip50GUBO+sy41vPV/bg3DDrB93K6Oz5++A==; 3:jNIgvtjGDw+GkhNQEpRjOexdr8MYhn+nVIlPy8H9MhC3QtEanneeZ7x/e44Y3oMbvxuQVw0J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H6Qs3US0TqR3u12t9faSJPHQzjgRbF11IrouWkuhBggoNrUzgRltVAxgqPq8q9sdt4A+lo8VklB05QlxYq8E0etglJSLdhTEK/wB5Xl1+I4XU9qfov8/mS9EjdT2sdu+fy2PpFJS+awv/Rgj9JAMA5QQM4HxgdYCNbZD6O2tsEYiMD9khQHHO8i8lewxLlJyTNo3OU95+YNcMp/kDbJfoqdR0J0tkOcJLxUnMqnzWzc7CqV0aAjXfOimrYLECmFjGGE/5skVZjCHVBmd8vBZrtLUShbj2+Nf8GP8U/9hQ6O bNA/mIXPoatIff0G/X6veInAlI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046); SRVR:SG2PR06MB1019; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1019; X-Forefront-PRVS: 0771670921 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(586003)(33646002)(101416001)(66066001)(47776003)(3846002)(86362001)(122386002)(69596002)(19580395003)(81156007)(23726003)(40100003)(110136002)(50986999)(50466002)(19580405001)(87976001)(42186005)(5001960100002)(97736004)(6116002)(5001920100001)(5004730100002)(229853001)(2950100001)(36756003)(76176999)(106356001)(53416004)(4001350100001)(105586002)(83506001)(77096005)(189998001)(5007970100001)(92566002)(46406003)(5008740100001)(54356999); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1019; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1019; 23:7FKbbthQszXkAPS5vH4fWLP878gxTea4yYI9TQOQL?= =?us-ascii?Q?cjC7zB6nT6eUG0S+04aipmRv3zdxAIf2FyG/AoboBTw83jNP40MyKyKkvTPM?= =?us-ascii?Q?Ba4D/CaWfj79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9qNeS?= =?us-ascii?Q?EKjomVXv4O+UM7HvWTsA6L+olADPEmcHomJ+ytKuGiAqh66df21B2wgwsG5W?= =?us-ascii?Q?XZMtMuuwxloQesym06j1cG7xo8+cxfYs38PcDxiU6i79bVW0dlFTArvoUuiP?= =?us-ascii?Q?h6Nxgk5Gg3UvCk1VJXcn0tI1pa9PsJ290ed7z/qCMZmpnptezPOvw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1019; 5:UCCCT1WxzCByNgBZ85wWJC9eO+P8TY9lMmGAvvVPIYFKEywGNr5VieR4sYSno6iYYRCGW6QWJkX31JtRbJCWKOQNG+0/aYGUVHeX6XKEcyzWvnIgZLeeg5JKmCkOvHwnN7rXiUK6uAsHgrTv+OZgqw==; 24:ii0++kx+HR8RdUg9qGREiXLqqTMJfgdV3XsdriV/+TE5XhnJWFbqPBTTZIoMna/XoKo/eHk17HfvuDp34pHEFzpCxb+8xBOSlzBnG5Nk00s=; 20:kzQAAEr1WpvaRr1sKpCh3DeF5nUnY1JAiXjAHsnSm106Jn1aVJ9m63IkajEUzxbuFXqorc+thTHYNUsVJZCg5EvB4eGf3o+d4WFnueyM8bCF7NtKxyNoDS5Vy1gafvBJ7JhrNgL1x7cJ7TDtSLvEKZ09eDNJ7vhES/LuX1xCeQY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2015 06:36:02.3259 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1019 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 64 ++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index c01a7e4..18d2221 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -203,6 +203,70 @@ #power-domain-cells = <0>; }; + audma0: dma-controller@ec700000 { + compatible = "renesas,rcar-dmac"; + reg = <0 0xec700000 0 0x10000>; + interrupts = <0 350 IRQ_TYPE_LEVEL_HIGH + 0 320 IRQ_TYPE_LEVEL_HIGH + 0 321 IRQ_TYPE_LEVEL_HIGH + 0 322 IRQ_TYPE_LEVEL_HIGH + 0 323 IRQ_TYPE_LEVEL_HIGH + 0 324 IRQ_TYPE_LEVEL_HIGH + 0 325 IRQ_TYPE_LEVEL_HIGH + 0 326 IRQ_TYPE_LEVEL_HIGH + 0 327 IRQ_TYPE_LEVEL_HIGH + 0 328 IRQ_TYPE_LEVEL_HIGH + 0 329 IRQ_TYPE_LEVEL_HIGH + 0 330 IRQ_TYPE_LEVEL_HIGH + 0 331 IRQ_TYPE_LEVEL_HIGH + 0 332 IRQ_TYPE_LEVEL_HIGH + 0 333 IRQ_TYPE_LEVEL_HIGH + 0 334 IRQ_TYPE_LEVEL_HIGH + 0 335 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 502>; + clock-names = "fck"; + power-domains = <&cpg>; + #dma-cells = <1>; + dma-channels = <16>; + }; + + audma1: dma-controller@ec720000 { + compatible = "renesas,rcar-dmac"; + reg = <0 0xec720000 0 0x10000>; + interrupts = <0 351 IRQ_TYPE_LEVEL_HIGH + 0 336 IRQ_TYPE_LEVEL_HIGH + 0 337 IRQ_TYPE_LEVEL_HIGH + 0 338 IRQ_TYPE_LEVEL_HIGH + 0 339 IRQ_TYPE_LEVEL_HIGH + 0 340 IRQ_TYPE_LEVEL_HIGH + 0 341 IRQ_TYPE_LEVEL_HIGH + 0 342 IRQ_TYPE_LEVEL_HIGH + 0 343 IRQ_TYPE_LEVEL_HIGH + 0 344 IRQ_TYPE_LEVEL_HIGH + 0 345 IRQ_TYPE_LEVEL_HIGH + 0 346 IRQ_TYPE_LEVEL_HIGH + 0 347 IRQ_TYPE_LEVEL_HIGH + 0 348 IRQ_TYPE_LEVEL_HIGH + 0 349 IRQ_TYPE_LEVEL_HIGH + 0 382 IRQ_TYPE_LEVEL_HIGH + 0 383 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 501>; + clock-names = "fck"; + power-domains = <&cpg>; + #dma-cells = <1>; + dma-channels = <16>; + }; + pfc: pfc@e6060000 { compatible = "renesas,pfc-r8a7795"; reg = <0 0xe6060000 0 0x50c>;