From patchwork Thu Sep 10 07:16:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7151381 X-Patchwork-Delegate: horms@verge.net.au 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 5EA639F39B for ; Thu, 10 Sep 2015 07:16:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78E0E20906 for ; Thu, 10 Sep 2015 07:16:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7B764208D6 for ; Thu, 10 Sep 2015 07:16:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753926AbbIJHQh (ORCPT ); Thu, 10 Sep 2015 03:16:37 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:63244 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753756AbbIJHQd (ORCPT ); Thu, 10 Sep 2015 03:16:33 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 10 Sep 2015 16:16:32 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 2B3563FEA0; Thu, 10 Sep 2015 16:16:32 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 26AC0480A4; Thu, 10 Sep 2015 16:16:32 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 21B43480A3; Thu, 10 Sep 2015 16:16:32 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id SAH10994; Thu, 10 Sep 2015 16:16:32 +0900 X-IronPort-AV: E=Sophos;i="5.17,502,1437404400"; d="scan'";a="195342319" Received: from mail-pu1apc01lp0019.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.19]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 10 Sep 2015 16:16:31 +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 HK2PR06MB0594.apcprd06.prod.outlook.com (10.161.187.145) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 07:16:26 +0000 Message-ID: <87io7in3xo.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 06/14][RFC] arm64: renesas: r8a7795: add SSI DMA support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Wolfram Sang , Simon CC: Magnus , Linux-SH In-Reply-To: <87si6mn452.wl%kuninori.morimoto.gx@renesas.com> References: <87si6mn452.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Sep 2015 07:16:26 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0038.apcprd06.prod.outlook.com (25.164.91.48) To HK2PR06MB0594.apcprd06.prod.outlook.com (25.161.187.145) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 2:Mmzwd+hwLS9cBW7WryZ4QjC0fuIGYe1/Ahd1KyiLCyRwj+HsI11HWBGiazOxnttJlwg6yKBNn0lgg5CHr7zRSDfIMfsBK2YxFBZTi3E98vMngCpnqs5v60qNGh3FnzRtQ6HGylX4dfzRwW6DnQgddYJFXknMW87FHnLFlXYFuY8=; 3:canXk0Lba86yLpChomxxd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OTCy3tUedKxKMW7l2Nn33LRux1NpirdJakyorkKz6w+pa9Tl7Z0PCCy3HiIwgHSdKTaD82vk/EF3aQLVpx8cXguAsmSdrDMWJC/o5GPp69AyeB0T7JPnc/X/12a5D4CCvtiJ0Spnx0Ix0M7lhfzpaCcqMuPtgZLsWt9ecWSYRKFXwGVOhIB9qV0dWzvBI68TbcFhQ2GJepngVTaMvPEX7JXi4IePG7jRyOUEVcmgtomU0D7OJV+v5d/yn6rKXERDygN29nnyGtp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:HK2PR06MB0594; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0594; X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(33646002)(46406003)(47776003)(229853001)(105586002)(106356001)(53416004)(46102003)(50986999)(54356999)(76176999)(77156002)(68736005)(86362001)(62966003)(42186005)(4001540100001)(81156007)(5007970100001)(101416001)(77096005)(2950100001)(4001350100001)(97736004)(575784001)(40100003)(5001770100001)(83506001)(122386002)(50466002)(19580395003)(5001830100001)(92566002)(5001860100001)(87976001)(19580405001)(5001920100001)(66066001)(5001960100002)(23726002)(5004730100002)(64706001)(69596002)(189998001)(36756003)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0594; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0594; 23:IG6dYXF8vpf4526OPkEz3zEgugnhsh2jP0ilMuCsH?= =?us-ascii?Q?NtGmtibfiwXUw0kyWtiuX+n5Jo2FQ1JWKRmUf0eTKfXlTJ4yEGqcPFAPQXcQ?= =?us-ascii?Q?DKD4g89tzI4XcYH2tTM/CorWULSLZyBs8gtfg0z00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wYbd9P/Gy139YS0ha7GvOls2iWvYtmDQIIilbQEUHrh8b?= =?us-ascii?Q?Pm/upl2bpG5pzek939I0zsq87uwvtudzzyZUVw0jeAYzx+1ewA/B+rWMiO87?= =?us-ascii?Q?lBwoesConrTmn449iNPU97c4pZ+QltTV7p7HNQat/KYrsNLKg4dXM1BCS/Kw?= =?us-ascii?Q?+KDpLU1xYeDXac1kDZezyzaEOr26DLmXAxKTwEpTiU2f1/tAzm9jUttNYbff?= =?us-ascii?Q?n96X5H5KqkzHsbEL20ELw600k7nSicvaF5PmwhcS9IozJULVhHh9HqUS9e9u?= =?us-ascii?Q?1Wwvf97+4JGv7f0Ypy93zU43vw3Yj1L3k38YCoi6FLY?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 5:0oEXTtfVTNtwRdIl1NVhy6jLHn0t4fWefftU+BfP7qKFdIJ9aQ3aENu7zkTLzew2kdpzwNaWF+kQo7CMAvCiYQqvX7cLRJvDG8mpM/V8Nf2/pX1oNNG/Ny8YtMQ0e2s0pYGmdB4udjUkATM7n3c2XQ==; 24:l+RSrXqPsGxWcn4KycyyqJGAjduZMm/m4y8utk4x/dce62VWg8n01pfvN38ouQd7LblIc3oHGIPkfFV1ToI19BaIjLwZRZGIJqTSB8eOS/E=; 20:zmFb9w91dEoRbWZbm9pb9vUIZriyfBW7SWXg/uZD4aPaZvv07t0ssYrPTthxqfdswyLa1kbFgqpgC1aNirJ4GM0jGTLXuD6H8YAACYEuxcX51ChgNIOR7MgOxUOCm1w38FqBkGcd96uaOBmiypp+RZyZ5i1xNlYaXZKrsf/Ld+Q= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 07:16:26.9646 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0594 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 4586690..aaafd3a 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -761,33 +761,53 @@ rcar_sound,ssi { ssi0: ssi@0 { interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi1: ssi@1 { interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi2: ssi@2 { interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi3: ssi@3 { interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi4: ssi@4 { interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi5: ssi@5 { interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi6: ssi@6 { interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi7: ssi@7 { interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi8: ssi@8 { interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>; + dma-names = "rx", "tx", "rxu", "txu"; }; ssi9: ssi@9 { interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>; + dma-names = "rx", "tx", "rxu", "txu"; }; }; };