From patchwork Thu Feb 19 03:53:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 5849991 X-Patchwork-Delegate: geert@linux-m68k.org 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 87C909F269 for ; Thu, 19 Feb 2015 03:54:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A3F9F2024F for ; Thu, 19 Feb 2015 03:53:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 72A962022A for ; Thu, 19 Feb 2015 03:53:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751973AbbBSDx6 (ORCPT ); Wed, 18 Feb 2015 22:53:58 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:56721 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751793AbbBSDx5 (ORCPT ); Wed, 18 Feb 2015 22:53:57 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 19 Feb 2015 12:53:56 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 756F1423EF; Thu, 19 Feb 2015 12:53:56 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 5B2552806F; Thu, 19 Feb 2015 12:53:56 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 54E772806D; Thu, 19 Feb 2015 12:53:56 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id NAK14286; Thu, 19 Feb 2015 12:53:56 +0900 X-IronPort-AV: E=Sophos;i="5.09,606,1418050800"; d="scan'208";a="181302346" Received: from mail-hk1lp0122.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.122]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 19 Feb 2015 12:53:55 +0900 Received: from remon.renesas.com (211.11.155.132) by SINPR06MB169.apcprd06.prod.outlook.com (10.242.57.14) with Microsoft SMTP Server (TLS) id 15.1.87.18; Thu, 19 Feb 2015 03:53:53 +0000 Message-ID: <874mqi1rof.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 19/19] ASoC: rsnd: add sample code of dma entry User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Vinod Koul , Mark Brown , Arnd Bergmann CC: Simon , Linux-SH , Linux-ALSA , Liam Girdwood , Laurent In-Reply-To: <87vbiy1rul.wl%kuninori.morimoto.gx@renesas.com> References: <87vbiy1rul.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Date: Thu, 19 Feb 2015 03:53:53 +0000 X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: HKXPR03CA0041.apcprd03.prod.outlook.com (10.141.129.31) To SINPR06MB169.apcprd06.prod.outlook.com (10.242.57.14) Authentication-Results: intel.com; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:SINPR06MB169; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005003); SRVR:SINPR06MB169; X-Forefront-PRVS: 0492FD61DD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(19580395003)(19580405001)(83506001)(33646002)(46102003)(87976001)(53416004)(42186005)(50466002)(92566002)(77096005)(23726002)(76176999)(2950100001)(50986999)(229853001)(86362001)(575784001)(47776003)(66066001)(46406003)(36756003)(122386002)(54356999)(62966003)(77156002)(40100003); DIR:OUT; SFP:1102; SCL:1; SRVR:SINPR06MB169; H:remon.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:SINPR06MB169; X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2015 03:53:53.3965 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SINPR06MB169 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=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 rsnd driver supports Audio DMAC (via DMAEngine) / Audio DMAC peri peri (via rsnd driver) now. This patch adds DT binding sample code on DT binging text Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/renesas,rsnd.txt | 46 ++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt index 3502d22..2414e7e 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt @@ -11,6 +11,8 @@ Required properties: required register is SRU/ADG/SSI if generation1 SRU/ADG/SSIU/SSI if generation2 +- dma : Should contain Audio DMAC entry + (Audio DMAC peri peri entry is not needed) - rcar_sound,ssi : Should contain SSI feature. The number of SSI subnode should be same as HW. see below for detail. @@ -70,6 +72,50 @@ rcar_sound: rcar_sound@ec500000 { "dvc.0", "dvc.1", "clk_a", "clk_b", "clk_c", "clk_i"; + dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>, + <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>, + <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>, + <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>, + <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>, + <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>, + <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>, + <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>, + <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>, + <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>, + + <&audma0 0x85>, <&audma1 0x9a>, <&audma0 0xbc>, + <&audma0 0x87>, <&audma1 0x9c>, <&audma0 0xbe>, + <&audma0 0x89>, <&audma1 0x9e>, + <&audma0 0x8b>, <&audma1 0xa0>, + <&audma0 0x8d>, <&audma1 0xb0>, + <&audma0 0x8f>, <&audma1 0xb2>, + <&audma0 0x91>, <&audma1 0xb4>, + <&audma0 0x93>, <&audma1 0xb6>, + <&audma0 0x95>, <&audma1 0xb8>, + <&audma0 0x97>, <&audma1 0xba>; + + dma-names = "ssi0-rx", "ssi0-tx", "ssiu0-rx", "ssiu0-tx", + "ssi1-rx", "ssi1-tx", "ssiu1-rx", "ssiu1-tx", + "ssi2-rx", "ssi2-tx", "ssiu2-rx", "ssiu2-tx", + "ssi3-rx", "ssi3-tx", "ssiu3-rx", "ssiu3-tx", + "ssi4-rx", "ssi4-tx", "ssiu4-rx", "ssiu4-tx", + "ssi5-rx", "ssi5-tx", "ssiu5-rx", "ssiu5-tx", + "ssi6-rx", "ssi6-tx", "ssiu6-rx", "ssiu6-tx", + "ssi7-rx", "ssi7-tx", "ssiu7-rx", "ssiu7-tx", + "ssi8-rx", "ssi8-tx", "ssiu8-rx", "ssiu8-tx", + "ssi9-rx", "ssi9-tx", "ssiu9-rx", "ssiu9-tx", + + "src0-rx", "src0-tx", "dvc0-tx", + "src1-rx", "src1-tx", "dvc1-tx", + "src2-rx", "src2-tx", + "src3-rx", "src3-tx", + "src4-rx", "src4-tx", + "src5-rx", "src5-tx", + "src6-rx", "src6-tx", + "src7-rx", "src7-tx", + "src8-rx", "src8-tx", + "src9-rx", "src9-tx"; + rcar_sound,dvc { dvc0: dvc@0 { }; dvc1: dvc@1 { };