From patchwork Fri Nov 6 06:29:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7566631 Return-Path: X-Original-To: patchwork-linux-arm@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 AF81B9F71A for ; Fri, 6 Nov 2015 06:37:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C72302073E for ; Fri, 6 Nov 2015 06:37:44 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id D5C822073C for ; Fri, 6 Nov 2015 06:37:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zuac6-0005kX-7t; Fri, 06 Nov 2015 06:35:06 +0000 Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zuac2-00057u-EY for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2015 06:35:03 +0000 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 06 Nov 2015 15:34:40 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 968A33E3EF; Fri, 6 Nov 2015 15:34:40 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 86FF18002E; Fri, 6 Nov 2015 15:34:40 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 80F938002D; Fri, 6 Nov 2015 15:34:40 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id RBM01559; Fri, 6 Nov 2015 15:34:40 +0900 X-IronPort-AV: E=Sophos;i="5.20,250,1444662000"; d="scan'";a="197995251" Received: from mail-sg2apc01lp0239.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.239]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 06 Nov 2015 15:34:39 +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 HKXPR06MB1016.apcprd06.prod.outlook.com (10.161.181.156) with Microsoft SMTP Server (TLS) id 15.1.312.18; Fri, 6 Nov 2015 06:34:37 +0000 Date: Fri, 6 Nov 2015 15:29:20 +0900 Message-ID: <87d1vnk5dr.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 01/12 v6] arm64: renesas: r8a7795: add AUDIO_DMAC support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: , , Simon Horman In-Reply-To: <87egg3k5g6.wl%kuninori.morimoto.gx@renesas.com> References: <87egg3k5g6.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0021.jpnprd01.prod.outlook.com (25.161.74.159) To HKXPR06MB1016.apcprd06.prod.outlook.com (25.161.181.156) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1016; 2:LjDM4hzW2g7YRaW1ohjwfFroPP4OhXkOsYNOPk+6+XRMJM7YMDt4jLUm0xQikjyq7Ba+ba24hGIZ6KXMraL7YsTXwTJXDzLnSZsn4reyIIT9SG4AIQanCtwQwco2uVZHo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9I+bc3WJxoWRP5wrB+lZ; 4:7E1vq10PnaunPGDKrJXESpJn5+zxbo8EfvnFkK1vjCse64aqzNjSQPvF7NYjDVsQJQcM+1exMRBVC5U3oK5vwgZPECmiGfbLRDDiyhZmvd4V/3CAvMa8tfR2xVZvK5eBpv3fWuE39LsjwIHswC7ZyIRfqQByGFHB4ek5mdlURCeMvT+eLJEYCO7mHmi1hfBz2gn3rff74diiSgRS3pp41lD+zGhkryMxvgA1peZrEqXu50+REKQtocfd4V2ur+iJJK1FiusMsMV+CA3GJBrbXqjN0heYR3bSIDfGwZU/bxpZM+DZZGxxD+CV3wXX+IQwmcs8HoKhG4XISzqJTg8QrmjpDJPUceJVZyAtYJ5+hYlHLJT14HSUIN44O4Qu4NpO X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(10201501046)(3002001); SRVR:HKXPR06MB1016; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB1016; X-Forefront-PRVS: 07521929C1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(50466002)(5008740100001)(106356001)(76176999)(77096005)(5001960100002)(54356999)(229853001)(92566002)(105586002)(50986999)(36756003)(23726002)(5004730100002)(87976001)(5001920100001)(33646002)(81156007)(83506001)(5001770100001)(122386002)(46406003)(4001350100001)(5007970100001)(2950100001)(53416004)(19580395003)(86362001)(19580405001)(69596002)(97736004)(66066001)(101416001)(189998001)(40100003)(42186005)(47776003)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB1016; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB1016; 23:HJCk2LQKZw8Pka0VW59oEuwiL3RBLjCFvqSOYslGf?= =?us-ascii?Q?67Fq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XkAHWjco+MLqwihXVcfS?= =?us-ascii?Q?AWxAY+Sjddf+ZhlyVO8gd7cYLdQATk2iv89muFOZVaEuCC61byuv1He4eg0U?= =?us-ascii?Q?fPHkctLdLkA/nL60EbNs5hfW5u2zO2a/IJGIGrvzG0CMMTeDrsy3VGRfhRcB?= =?us-ascii?Q?jB0YLWIoqWrdN5uxASh64g5+rqVu1MTWRnlgzJ5ULiqm32oh/um7QOq9ZodQ?= =?us-ascii?Q?mGj7k/3h6M=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1016; 5:XGkZ0dhKNUOCM3plkOG069pqee/7nBnqwBK3c7ZNgWkwQAfe+rQLJ+wrlaE0ELRH8Eh1yXIdZgyItOOg87eSbB3vM/tMSISyiJKLDEJJyx5n/0+FtPSEhs2+URWDHSAEijUwz2vCYjt6eBnVJuTWpA==; 24:ACSxp+9ETjLcudrMUT9vvWm9JGwtC30kVzyUiAH2M4Z3Bz550AhFIJSMH3dmHtHbP8wXUDw3tKB8IxatC57jG0y7sx5je7OOJfHIEiqoUtA=; 20:xEFgqSfqHNBcF96fWPvHqsnDBfXIjKjfgtL1BhVBrYTLo4yBevTcFy/Ooxc5StdkJ97PCyaL3yNNnC1Blz2jL6LlPxAFWD1IJmTxz9DUVdZSpNuKBFbV5ysJwzpuP4NcEfucFRlwNKM2/RiBk9XraExP73xwuPn2SqcQObbh5Eg= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 06:34:37.7247 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1016 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151105_223502_844135_0CDF3E52 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) 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: Magnus Damm Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_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 From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- v5 -> v6 - no change 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 fc76934..e419163 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -202,6 +202,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>;