From patchwork Mon Dec 5 04:42:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9460279 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 48C4560236 for ; Mon, 5 Dec 2016 04:42:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CF90252D5 for ; Mon, 5 Dec 2016 04:42:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41DF52621B; Mon, 5 Dec 2016 04:42:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAE68252D5 for ; Mon, 5 Dec 2016 04:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751443AbcLEEmm (ORCPT ); Sun, 4 Dec 2016 23:42:42 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:60413 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751592AbcLEEmk (ORCPT ); Sun, 4 Dec 2016 23:42:40 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 05 Dec 2016 13:42:38 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 4DBB34F929; Mon, 5 Dec 2016 13:42:38 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 3566C480A5; Mon, 5 Dec 2016 13:42:38 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 2E81548014; Mon, 5 Dec 2016 13:42:38 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id PAN14518; Mon, 5 Dec 2016 13:42:38 +0900 X-IronPort-AV: E=Sophos;i="5.33,302,1477926000"; d="scan'208";a="227058501" Received: from mail-pu1apc01lp0015.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.15]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 05 Dec 2016 13:42:37 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SMtUmaWYfdFvS5GVTxv9iaIGmX4XpeQQdyY8PVThg/U=; b=GY8jzJ65DDHdLjmnWAjAqs1uZk8QL3/Wqv4/WW36aTCnnlyOylLjF1SSe0eRan+TNggx0EGG2TR9bwj6p7Mz/PJhe1WKbHMDEyuTM+lXNW//Kg9Qho+C0P+UQEJlUnFb47OiW6joZ2b+jcudE2RR24ciZytWhE1rmdf2YcTdLf8= 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 SG2PR0601MB1453.apcprd06.prod.outlook.com (10.169.106.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.10; Mon, 5 Dec 2016 04:42:35 +0000 Message-ID: <877f7fvvh5.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/2] arm64: dts: r8a7795: add sound CTU support User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon , Magnus CC: In-Reply-To: <878trvvvii.wl%kuninori.morimoto.gx@renesas.com> References: <878trvvvii.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Mon, 5 Dec 2016 04:42:35 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR0101CA0028.jpnprd01.prod.outlook.com (10.167.173.166) To SG2PR0601MB1453.apcprd06.prod.outlook.com (10.169.106.19) X-MS-Office365-Filtering-Correlation-Id: 534d36b7-bdab-4031-6c78-08d41cc922cb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:SG2PR0601MB1453; X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1453; 3:Nt2O0PU4cPxG8Wh576t6L9kywi3M8d543CgYbottejPAieKawttpLJuQhU5hvGPBDskGegEUu96eyBDQEwA2i9YijkuQOq43Yq0zWvLiwDfyG3hFtqpDVuwrVk1gJ+Rp2py+7KnHxxpjPuAJDhCeWcJtyrpy5hEvMelxK4ds2cRIFMG+PBUeBu+UpDIKnnA79sXcH5JVcIgpDtSqHhKXYIXDVXzzlftNRtUFVOUD4NrwV9/JUdH3Pd/rY+W48/+KxEejyCfGawEd6Jt8ROE5RA== X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1453; 25:27hpdqC6cClL9mJfb9hTip2lf+Bw4fPgwH0Imo5vK06u3e48ziGWmUenO1a2vNuTVfZP0DiAERQq4EI/Ym6XYoCBLS+/vmDO+fqgrsPuT4P6z5W5z0LYcCuiA7T1S7FqD4gDTFlJH8Esox4CBFdGLzexQIVVVKspvJ1MyBNrBlDCR5/nI1PHwUdow4k1JG9HLL1m0SIPBk3V6KsPH9wQhkARUjqCFw+IxSbgApe6meH1BeuboZssRUZmxdDlAm8TA2TiR7jU4a09btCSnPhAy9Y49dcMRGsuIdWrGk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YYUY0OlsHyoRsIGRM8nwnU+/ClODrc1h6Eku79Mk3LFwO9nDRmBZBvJ4X6v5zLJ9dgurUQeKMDpLEMkmolC4Ma0MaG4j9qedYqK5D/idAy+8u43lIKxQySBA9y/eBV2kYyV+H+2aQXibjKrk8qkH+t2wLGbBJTQ8s6YE8r5PZWfQ39DOJPRznG/R+YqSKmjPv2RT+3X41/u6Eftky9PQt+QYFl/rxOg2qti+pnJDjUXXaCK3HCan0l0kFB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:SG2PR0601MB1453; BCL:0; PCL:0; RULEID:; SRVR:SG2PR0601MB1453; X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1453; 4:7tI+DpAmaQLPtHkPQz1xB+pRDpxr9Llt8a8ydDr0pien26oy4TsqS6Q66oduCp+HsJt+AvvfWuoBqe7SGzNTnLenB630tW3kMXo1LIHV1PhZ65bVWjYyUj5xfppAAVLYMlLe/pVOg/HZVhL8cau/KuO8sLgRA7LzPrj1V9gcozq1xKyFaKIPj0AxnPEB2FPbGF6Wv1tgdjj9X+pbELKL+Ffegvp8j2QJpnwBp73J9d/PKojoNXBtiAWaOuHAYjDYdjF+Z+ZXGkOUQQNfroAEoJruyHBMWtTTu67Bc20jhjGjAAQbpaOrxD2PvEvryXXuedi1kzTYUSfbo1+hgfc8S4OtL9kEV2MO98jzmmE0FiY/HKGQx3+TtqkBoh0dPCAvgOucufOQ1sW02NyXT7RCGlxo/McgAc1UMLjkHRK3XDlzpep8yP3SNjol5pvjnf70yC4ZWfRtr3QHho+z0r45CaX7FiZgyMBwkZ5wXe3jcCOmzFjH0STK98tHlMtCg7lcvrJMX+iSsCskodvgCQZrbi5pHdIYKcFe3HcBjT8r5hsko8FCXQWniELyDLw3tJbUNteG4mCHXqHECdu1kOUafKxs5MW28PdNAduz+3ZCFaClaB1FUnO4GC2bt/BdKsy+ X-Forefront-PRVS: 0147E151B5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(66066001)(38730400001)(47776003)(4326007)(83506001)(2906002)(42186005)(189998001)(7846002)(305945005)(7736002)(733004)(39060400001)(76176999)(50986999)(4001350100001)(92566002)(54356999)(39410400001)(5001770100001)(39850400001)(33646002)(97736004)(6486002)(68736007)(6116002)(3846002)(23726003)(69596002)(46406003)(36756003)(101416001)(106356001)(105586002)(53416004)(50466002)(81156014)(39450400002)(81166006)(86362001)(8676002)(5660300001)(2950100002)(39840400001)(39860400001)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR0601MB1453; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR0601MB1453; 23:is77+q6CaOxWxohZaJpbPRI3Uuj1i/pZMnQIKYZ?= =?us-ascii?Q?NXXLQ3V0R+e6pSyrbtKoYA6ni0019qrFEH8UuQYpzZdJepMWQGIHuMszBTxM?= =?us-ascii?Q?2H6luXVH2plgQtdHNZH7RzHeg0qMnxISPuyIYH87vh3AcoUgqIWnmgB5uYQv?= =?us-ascii?Q?EcSOnyoBp8gUdrWSsvNKdypv9jbIyH72VXZau2rhvnizGTP25Ba9JAx9NXR5?= =?us-ascii?Q?X3HF/z+Ai+6QYtTcMGhxp4rszdLIcngNJrccOYeSbIWxFv4hh6KNL3l8kjjn?= =?us-ascii?Q?gfFfAzmiOaw0Fau50kqEQ2mWkGzA8Twa12UW78Bfi2r9cPIs6J0Ti/NZplnJ?= =?us-ascii?Q?ROyAE2ySWThQ9mZ2QPEkUiHMSKrCQ9ctAGJKyYdQyp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kFGS++Mtp3M067F?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1453; 6:Dud4fO1Wf7BWWK/CxVtUK6TYwDX5+9zZS++pZGN7W2kcbwU+2MREUkI9NqrJs7z8hasmsx+6nGWoqDI3FLWBasLGaX+6j6nhwBWiaf8UeV2GoltqooXz62bNkmPiX5zVpnBz1OLyKSJjulWT2ZM8vPP603+V1DMDkGSGldSDgXNM23lIxk3CTBrhkppxk9PM8csZalVFysIfwaZqEjyraNwtY2T+ftFSKWoOEEx1QX+6pMrvJu04GBFO+vOvFrf3xgsy5Q2yuqurPufXVES8Fryz2DYxScL0zyAXATE0SnIRp2i7YoDT2Pf67BW8NtiUGb/bVDYlGp4Th/cp0EWmub+XKepd9kdE8fOJrQKKoiUjyf2bGwoHYLh/H6P10zugtJpNMYQDvf0iyrITiZGrDsNx+Q2ll8fT7Elbx0AiGvFg6m7CqPzHAa5VpPTaY/0Iu9cSNdSuZINLEb4cN9sj2OcFQGdLyermFb/PpHpsUxfJKl84nV9JkKky79ABhGqK; 5:6BMJnXHgwLJ0H9opeFNpuN3pRlpKNM5tzKcf96oc1iGEOacEzGXPzENOFXmNms2V/DHFrSFp+x1q2n+ahJ4fOKr1ndzafZgJQ8UyPIFyxieXKXYSZJC2jN1WQ6OmXd5EfjxlLcVWxMyVsgb6JtiwBg==; 24:FjP2Cssr5rgO2GKS0n4uloiQQnYkiLFquLeBZ931n7yKVF/WRtT78x3w9C6SUmhGkCGn7+0Af3ap9UezLH83Yd+fh5vSZ1Y3oEp6fP3Jq8g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1453; 7:meMXonD/R4d2DCZQcMt/cDN8JgZDqsfO3eq/fu+db9CaoKftQVPBgmAkFH5bOJoI64swd1F18NYRMx5VXxTvj4h4oO8NTlwcFy+jEstO8yEk68Doja72flsuwFRJI0gq9fcue2nYIwp78v4DVUXcCA8DsnBtOZY5uXsNtImv2DZ5Nl8HLydt8W2ZrtctmhKdg5n6ieq6mFhDwBdL3NHQI2jj+yYR/q27lxFkcyu3Wbr1IJPho8XrR1vnWo2V4nFIjaWTd0+c9gkULhyKn1XrvGcw9YAfrS/zt/2wDe0qy5ymHX1zKeWzZEN0Qh3gn2zdlsXwgwshxeaVJgHZjOhjTW5PVyTjeW8Xca7WgkPk7AJ4F6JSe7RkRYGc1x6gNErxJZtytKoJmJA4yGHb52NQuDZOpgDm9ELXl212T3DByH3NEuRGdN34SEK3Jlhr9qI3bZIneuJPOZkXQjmXHEnNVQ==; 20:U6ENjFnX3mysblyFepkpn3Jno4AJwkF1O+xOhQ5wVjsiW/iC24QqFgwwNqleX7jXlor83wGTnwzZQQRvbqv0neYxhfz0Z0Or77uPoOe7dwH6ZcpX7L8rg5Y+un9GWuzho3ic45g28C6KK6DNmMSKS5jaLvXyPHiArZ5d9nphQqY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2016 04:42:35.9099 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR0601MB1453 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto This patch adds CTU (= Channel Transfer Unit) supoort which is needed to sound mixing. Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 + arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index d56e4149..bceb20d 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -495,6 +495,7 @@ <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, <&audio_clk_a>, <&cs2000>, <&audio_clk_c>, diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 4c77030..87d42dd 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1155,6 +1155,7 @@ <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, @@ -1166,6 +1167,7 @@ "src.9", "src.8", "src.7", "src.6", "src.5", "src.4", "src.3", "src.2", "src.1", "src.0", + "ctu.1", "ctu.0", "dvc.0", "dvc.1", "clk_a", "clk_b", "clk_c", "clk_i"; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; @@ -1182,6 +1184,17 @@ }; }; + rcar_sound,ctu { + ctu00: ctu@0 { }; + ctu01: ctu@1 { }; + ctu02: ctu@2 { }; + ctu03: ctu@3 { }; + ctu10: ctu@4 { }; + ctu11: ctu@5 { }; + ctu12: ctu@6 { }; + ctu13: ctu@7 { }; + }; + rcar_sound,src { src0: src-0 { interrupts = ;