From patchwork Thu Sep 17 04:30:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7201891 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 86A369F40A for ; Thu, 17 Sep 2015 04:30:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8D66208F5 for ; Thu, 17 Sep 2015 04:30:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0DE0208F4 for ; Thu, 17 Sep 2015 04:30:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751899AbbIQEag (ORCPT ); Thu, 17 Sep 2015 00:30:36 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:60471 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751879AbbIQEaf (ORCPT ); Thu, 17 Sep 2015 00:30:35 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 17 Sep 2015 13:30:34 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 1541941719; Thu, 17 Sep 2015 13:30:34 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 0055F2806D; Thu, 17 Sep 2015 13:30:33 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id DEBB828070; Thu, 17 Sep 2015 13:30:33 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id PAF18980; Thu, 17 Sep 2015 13:30:33 +0900 X-IronPort-AV: E=Sophos;i="5.17,543,1437404400"; d="scan'";a="195830653" Received: from mail-sg2apc01lp0244.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.244]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 Sep 2015 13:30: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 HKXPR06MB0598.apcprd06.prod.outlook.com (10.161.181.147) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 17 Sep 2015 04:30:27 +0000 Message-ID: <87fv2d7jtl.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 12/20 v2] arm64: renesas: r8a7795: add SSI DMA support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon , Magnus , Linux-SH In-Reply-To: <87vbb97kci.wl%kuninori.morimoto.gx@renesas.com> References: <87vbb97kci.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 17 Sep 2015 04:30:27 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0028.apcprd06.prod.outlook.com (25.164.91.38) To HKXPR06MB0598.apcprd06.prod.outlook.com (25.161.181.147) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 2:HpEkBHFeOvs21iGP4iLLsD1zC79YAlqBtzb6lo4dfGIFb0Ae+LzSWLCYxSDkzMcCrDq0PWOF4yFZM+oupURboYsoZqUlmN9pT16eihuPEaMm+b1n2wS4H2SsagaADP81/NmuN/1gFPzOHGGXC4ppotrJ3hdo83UlIfHlYDccBgE=; 3:9G6IgGbcO2ygRPUIK/KihXwvZFCGvpZNkIb7nCvotNt+Bn6D1UbP4srTpKH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YueBrUFV6uTxT+D06IITB6qSnyZ9fx4ubo8wCtWcSv6TpY0JEjPN5pm1fg910uwRA4oZZXEt1zYvKIfKs2O9fRwUpBrFHN+W3U6zNxJrlx03VQfK14Mlq0AgXKga/TmuoKttCyWUG3BdxtPJ4WWAVSwvLjtr4RyErxYMpVnkRhiqpXsYiUgO+O3Y9NXF5OAX8nIgOVLrKtCvHLh20wOr9jIfCZApD8q9kg1DcqFbJpi/L7/cxj1iec8tM7XE6G/N1UJj1HoIcsgWjef4lg6we5p8VUPUFLBv96jkCu4/2ZZH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520078)(520075)(8121501046)(5005006)(520058)(3002001); SRVR:HKXPR06MB0598; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0598; X-Forefront-PRVS: 07025866F6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(5001830100001)(107886002)(81156007)(54356999)(46406003)(19580405001)(46102003)(19580395003)(50466002)(68736005)(62966003)(64706001)(189998001)(76176999)(23726002)(47776003)(86362001)(5001770100001)(87976001)(575784001)(83506001)(5001860100001)(42186005)(101416001)(50986999)(33646002)(97736004)(66066001)(5001960100002)(106356001)(105586002)(229853001)(2950100001)(4001350100001)(122386002)(77096005)(5007970100001)(77156002)(4001540100001)(92566002)(36756003)(5004730100002)(40100003)(69596002)(53416004)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0598; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB0598; 23:BgZ4jSzOq6YJ8xUXS93DB7EJRVYu3EgHVupVv+G/Z?= =?us-ascii?Q?CA8Yi0PpKxKO+TEhF44byo0VnilrMQfAGF8BNuRNS7pp9Xaj5T2ef6UkSpOz?= =?us-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LS0P9/L+EXZ7mLp2kKhjwioOUKpLrArdtVtTGt/6?= =?us-ascii?Q?A4j6ZmTFe6g+YkeUMMzraBE+m6KqzwfXQ47U3b027xWpVv2VVfXzL/bKlBol?= =?us-ascii?Q?gMp3gIMpecKHrDVJMQcAh5T164ohu+XjfGLf9CgdtmdIiLnSjtB/kycTM6P2?= =?us-ascii?Q?RVNBFevs8gVFqX3v5TWjIlH4SXSblas6WFQFVqEcJEKwh9i8NXMcZ2Nq6dtn?= =?us-ascii?Q?rfqaq1FKkzfPnlGTWMitWX8bbfjQuRW+ZvcxBzM8QTPd1UAN5/YLC7dL8AVB?= =?us-ascii?Q?JcxzUzS7NspK6QaL9VYWICBfepy6gp9XLivDn6Yi6cmEY8C3HNZ82Rcyc3un?= =?us-ascii?Q?t43vpQ/wqz3LexCyTCTz6I=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 5:MJB5j+klg7dzxNJRBgplOAJmfIkSazQFnNvhcBR0WxwAnPT4gPZuC2WhrA8rGTdS79ubLUWzSOtxrgG4+b7pl6CFEJ5rCN18WgT41Ve8LnRHztEWNzXFZ9F5XB+DHL+4Ejzs5kSzwCGdufBlU3nmDg==; 24:bSrMNk6dqXh2q93mtJgcfhUyt+PTbSeFYNlwB7bEYpdcAL1oMKSWZzF5FlPOducV/1XQSt7MZNNJe027PEXfWC+bIkdBbL4g+KOd6NG/lQE=; 20:9mZvufINjSqAu0e9kdrTnSkyl63oa/awvZwyTcMHQyAAZmRtvOtigji0l4DsUjgbRymYpYAp6/TIjzm3S1Ppy1qtu04JcX+sXZIhFT1IAZb9hD2fyyngiVGcMVx9ov4lJjkVnbpuH9jLQUR6Fnmo3pcpsR6yG7RWFyIt98K016E= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2015 04:30:27.6500 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0598 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 --- v1 -> v2 - no change 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 654452d..abe7f08 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1021,33 +1021,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"; }; }; };