From patchwork Wed Nov 25 06:37:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7695541 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 784809F1D3 for ; Wed, 25 Nov 2015 06:37:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8415A208AB for ; Wed, 25 Nov 2015 06:37:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D4D9208AA for ; Wed, 25 Nov 2015 06:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754425AbbKYGhP (ORCPT ); Wed, 25 Nov 2015 01:37:15 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:56141 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751495AbbKYGhN (ORCPT ); Wed, 25 Nov 2015 01:37:13 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 25 Nov 2015 15:37:11 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 5582E47C28; Wed, 25 Nov 2015 15:37:11 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 4375D18070; Wed, 25 Nov 2015 15:37:11 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 3C63F1800A; Wed, 25 Nov 2015 15:37:11 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id RAG06720; Wed, 25 Nov 2015 15:37:11 +0900 X-IronPort-AV: E=Sophos;i="5.20,341,1444662000"; d="scan'";a="200492701" Received: from mail-sg2apc01lp0241.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.241]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 Nov 2015 15:37:10 +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 SG2PR06MB1017.apcprd06.prod.outlook.com (10.161.9.25) with Microsoft SMTP Server (TLS) id 15.1.331.20; Wed, 25 Nov 2015 06:37:08 +0000 Message-ID: <87wpt67fpa.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 04/12] arm64: renesas: r8a7795: Sound SRC 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:37:08 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0015.jpnprd01.prod.outlook.com (25.161.131.153) To SG2PR06MB1017.apcprd06.prod.outlook.com (25.161.9.25) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1017; 2:IEcun6tQhb7NLzaRqQE90WDIDQHd4temvago+wo7JQKNnu7V78n64kx/qxI/gbwFuLvCS1c/vaMWIbLhastQEZN8T6xEZ6dJlAW1Zp9OAi8WM6EynC9CTufzfFSGx01D6+fYIb/R6Tg5va6uMizuIA==; 3:pUO3YuMHX+XG0wQWRagKvD0gtdqELXCQwB5o71QLcb7+qEz/Iz+aahvZs06FYoIAaF9aEuE4GZVazWAVOl/s5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Osv/KTU3NlJH0OzyGyNrrsmMFdlaJz1ulrCy8TIJdneHf9OuDxSaFGuAqmziCzf2RAF6LBg7JE5+OmeL4tm/54g4etN4iZNXyot3M4jROhijLiu9xnCc9DPHA6C/I4VwTw907KF/79dD0xYb52wqE9z3nsqj5opsWDRqSi1wCslBQxo29H3MvrRQFhS6p2jFo0OHR5uedICwZW76bRUFDt3ZXvkTx7/fsTNGRMtvFCorpmUqeOoVGTF1/RsY01lYwnwXxhVRLCU/deM/Id/F2 gJZctnnnn+OGFjVAEjUeyXY7rQ 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)(520078)(5005006)(10201501046)(3002001); SRVR:SG2PR06MB1017; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1017; X-Forefront-PRVS: 0771670921 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(36756003)(3846002)(47776003)(586003)(66066001)(575784001)(92566002)(5007970100001)(50466002)(229853001)(5004730100002)(86362001)(6116002)(106356001)(33646002)(5008740100001)(46406003)(23726003)(101416001)(2950100001)(189998001)(122386002)(76176999)(40100003)(42186005)(87976001)(81156007)(54356999)(50986999)(19580395003)(77096005)(69596002)(19580405001)(83506001)(105586002)(110136002)(5001960100002)(53416004)(97736004)(4001350100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1017; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1017; 23:Zaq+UcH9FCfEbswMayfPFChVSlDZs/qqJIhbkFFhS?= =?us-ascii?Q?WHl+pI9RAsU8F7UzECY8fuexUiXFfkvhhK6JnoxSo25I3x5bTKd4t9BA//S6?= =?us-ascii?Q?BnUWVSGZ6YL5mm50UH3fxfpjmdfrdAv7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?us-ascii?Q?NuJCZLxwku6WI5yAMneEAaCMpY1Y2xi0EB1IMKMZRRZpV1mn/nOnew1izKrs?= =?us-ascii?Q?C0ShkFXG8DDoF9Acd34/9VJgmmH0Owrc9NKGCA7YBdM4WhOs7G/Q0A0aJc8B?= =?us-ascii?Q?AhsvbYr+kmUkeHUCOeYNsjWEUINHlAg?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1017; 5:NURCt6zZgJ4gw9CqepHGYtJ/IzrGphFYARjhfGL+FXX7VtiLqIWeRtf9TFFKpJh+hT8rIuVJ2SpXmCA6FfI3GabTMy+7lHKIr+AY3DLejPkb9oFfNDnLnilauYcAg1fC; 24:1OEqWlCLnBIyPRurxxVcb/8SGLjbFXVh9oQFTkE4DgSeWMprsbyq9O2PP9F3OltrqFQLyO/o+gm4iPu1w5hf6UC8kyrwZqFhPbEdFb9KVdc=; 20:shGn6nRlf1mdKSoC0dSfVFI9cK5xNy+o8lzz0Anqzvo68lHg9S4EWN/ZVt4ifvXC7Vu8wfYH69pxUr2Dh8vfK2htZke1n6t+WKu2TQ8CFksTYz8+pUdxpo2QX2E7rG0aP+4IGTlvLCjqBlRc3MPFSBVVXM3p1NzpTiaKlvn7RGo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2015 06:37:08.7533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1017 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 Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 26ae5eb..17b8e82 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -525,6 +525,11 @@ <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, + <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, + <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, + <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, + <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, + <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&cpg CPG_CORE R8A7795_CLK_S0D4>; @@ -532,10 +537,66 @@ "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0", + "src.9", "src.8", "src.7", "src.6", + "src.5", "src.4", "src.3", "src.2", + "src.1", "src.0", "clk_a", "clk_b", "clk_c", "clk_i"; power-domains = <&cpg>; status = "disabled"; + rcar_sound,src { + src0: src@0 { + interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x85>, <&audma1 0x9a>; + dma-names = "rx", "tx"; + }; + src1: src@1 { + interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x87>, <&audma1 0x9c>; + dma-names = "rx", "tx"; + }; + src2: src@2 { + interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x89>, <&audma1 0x9e>; + dma-names = "rx", "tx"; + }; + src3: src@3 { + interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8b>, <&audma1 0xa0>; + dma-names = "rx", "tx"; + }; + src4: src@4 { + interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8d>, <&audma1 0xb0>; + dma-names = "rx", "tx"; + }; + src5: src@5 { + interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8f>, <&audma1 0xb2>; + dma-names = "rx", "tx"; + }; + src6: src@6 { + interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x91>, <&audma1 0xb4>; + dma-names = "rx", "tx"; + }; + src7: src@7 { + interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x93>, <&audma1 0xb6>; + dma-names = "rx", "tx"; + }; + src8: src@8 { + interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x95>, <&audma1 0xb8>; + dma-names = "rx", "tx"; + }; + src9: src@9 { + interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x97>, <&audma1 0xba>; + dma-names = "rx", "tx"; + }; + }; + rcar_sound,ssi { ssi0: ssi@0 { interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;