From patchwork Fri Nov 6 06:36:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7566661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CAB07C05C6 for ; Fri, 6 Nov 2015 06:38:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4B5720742 for ; Fri, 6 Nov 2015 06:38:26 +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 085CD2073C for ; Fri, 6 Nov 2015 06:38:26 +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 1Zuadq-0007NA-Om; Fri, 06 Nov 2015 06:36:54 +0000 Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie1.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zuadl-000747-6f for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2015 06:36:51 +0000 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 06 Nov 2015 15:36:28 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 771D44474A; Fri, 6 Nov 2015 15:36:28 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 669FB8002E; Fri, 6 Nov 2015 15:36:28 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 5E7948002D; Fri, 6 Nov 2015 15:36:28 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id RAV02348; Fri, 6 Nov 2015 15:36:28 +0900 X-IronPort-AV: E=Sophos;i="5.20,250,1444662000"; d="scan'";a="199215179" Received: from mail-sg2apc01lp0247.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.247]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 06 Nov 2015 15:36:27 +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 HKXPR06MB1015.apcprd06.prod.outlook.com (10.161.180.156) with Microsoft SMTP Server (TLS) id 15.1.312.18; Fri, 6 Nov 2015 06:36:25 +0000 Message-ID: <878u6bk5ar.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 04/12 v6] arm64: renesas: r8a7795: Sound SRC 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") Date: Fri, 6 Nov 2015 06:36:25 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HKXPR02CA0063.apcprd02.prod.outlook.com (25.161.48.48) To HKXPR06MB1015.apcprd06.prod.outlook.com (25.161.180.156) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1015; 2:73O/4QRYmrP/9pWeuo+nEdCiLvrhW+rciYVtE/5OLFLhzZLpZlFcyYmyRckU7eX4ceylN01eTPp3uSGVDDe2+0XfJYAlpUL5nuheyPjnQ0JG2w0Ihq1CJ2FVDnWe3TgpoYZr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:/ySM+lQWBFIv9lcJTnzXwb3qZFE0yfxeva1RzelJ1331u0+FSioMb9INrgMz5f/+xk7Mfdrohb/S8j9xiCZFIWo70yreTzsbEnPjw4uKMw/l2cIm5H7+H3QMm11ku9LFcQ+QiegSPKX5wWcaFx37AwYVdlB5EMKHNolqRHhcXxe+gS5HphD6vBfJzhXQTr5fy8SVhveaILsuO3j5yyZaYRanAqKw9FlmyGqapxcxWjO4uoEO/XgtGYV8ApINlrauSpkMZIP4bPz3yK0Sv7BsDIFYAo2KbXC6fDbSS76asbdCmPGry6OUttBmJB2Vhm7s0p7eowMwry+zdrJrd4pKFMq8Yl9hf9Aih+fhm8c0qzAAOyYpxSuJntwgp50KC6sN 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)(3002001)(10201501046); SRVR:HKXPR06MB1015; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB1015; X-Forefront-PRVS: 07521929C1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(19580395003)(87976001)(106356001)(50986999)(5001770100001)(77096005)(50466002)(83506001)(229853001)(5007970100001)(46406003)(86362001)(189998001)(36756003)(19580405001)(53416004)(97736004)(42186005)(575784001)(105586002)(4001350100001)(92566002)(2950100001)(5004730100002)(33646002)(66066001)(122386002)(40100003)(81156007)(23726002)(47776003)(5008740100001)(101416001)(54356999)(5001960100002)(76176999)(69596002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB1015; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB1015; 23:4tJAJDxBEIyGL5cp8ofDZ7bgB7rIVzy23AUaEoU/h?= =?us-ascii?Q?Nd/x+qPckzcHkOpdWfXBYpi35gbr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ee+5nnec8uHoyXAzPBSliMFSqKK3W5FoPeTgnKDMMXqpcy+?= =?us-ascii?Q?SvSR8CQCikhHy8vBy0J6gdTMwWVJjkYH/8pDQR57wOdMmL8ldmnlhvTk0yPS?= =?us-ascii?Q?Nx64iD2hDBm/YtF4ZH1XrYow0GhGmyX+dmSkWFVotik9tnnlfR61mqZ7cSL7?= =?us-ascii?Q?nL8kcs4DnE=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1015; 5:yknk2PJttfKLRXWQU4kwjr0sAe4K311mNehiX7EARvUcfJagGWciEgrKhh0qBgknG5QfH/8MV5BIW5kB5mbOMDkmBomZUeXV4+o4P9vaysJKnZjlIm8+H1L1a/W0zye+kfF8icWovoXlT7s1J1HD/A==; 24:p/GNwN5SLUa5fwh2rlO6ENfOeYC4C6noD2SpCnZ6LdcEobHZMKRmoIxPBxpFO24c/ynJoZIA7vyXfD4a8ajbavJ9uTVYOGoMPETInn+wpFg=; 20:gCfn5w9xfKKBFMWu1APtuqbhuBKyMHXbWmUK/RJ7HHX9MzF78y7etHNYWtCDYRGB0Pfwg7711db/6ZCqFBJFqkxILGnF1sk7QtxN4jKZJ6wXN3Pd8eMmvHOrFDkz4IWXCADG3qVKU7TmwoAb2jqk9qIIkgFI0oKI+/203qhG0zQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 06:36:25.5888 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1015 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151105_223649_766626_7083EC7B X-CRM114-Status: UNSURE ( 7.61 ) 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 Signed-off-by: Simon Horman --- v5 -> v6 - no change 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 17ced05..4cceb93 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -524,6 +524,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>; @@ -531,10 +536,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>;