From patchwork Tue Jul 21 00:27:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6831601 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 81F089F38B for ; Tue, 21 Jul 2015 00:27:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CD3F2069D for ; Tue, 21 Jul 2015 00:27:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90F9E2069A for ; Tue, 21 Jul 2015 00:27:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757189AbbGUA1J (ORCPT ); Mon, 20 Jul 2015 20:27:09 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:36620 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754812AbbGUA1I (ORCPT ); Mon, 20 Jul 2015 20:27:08 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 21 Jul 2015 09:27:06 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 33695455D9; Tue, 21 Jul 2015 09:27:06 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 26A44480A4; Tue, 21 Jul 2015 09:27:06 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 1F745480A3; Tue, 21 Jul 2015 09:27:06 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id KAK22886; Tue, 21 Jul 2015 09:27:06 +0900 X-IronPort-AV: E=Sophos;i="5.15,511,1432566000"; d="scan'";a="191921002" Received: from mail-hk1lp0117.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.117]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 21 Jul 2015 09:27:05 +0900 Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB0601.apcprd06.prod.outlook.com (10.161.10.151) with Microsoft SMTP Server (TLS) id 15.1.219.17; Tue, 21 Jul 2015 00:27:03 +0000 Message-ID: <87pp3mcq8v.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 3/4] ARM: shmobile: r8a7791: Add Audio CTU support on DTSI User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon CC: Magnus , In-Reply-To: <87twsycqb5.wl%kuninori.morimoto.gx@renesas.com> References: <87twsycqb5.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Tue, 21 Jul 2015 00:27:03 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0033.jpnprd01.prod.outlook.com (25.164.161.143) To SG2PR06MB0601.apcprd06.prod.outlook.com (25.161.10.151) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0601; 2:1TvKGdDOfQmYANnWBEzIG7iCkRuvfBC+m1dCBP88QcyHoo/clV3Yqx2u8JsfOKV6; 3:E5XGNkdGuaoNSZZbNMAbatBzT+p63xvWAYgdwQ6rlyxahfptnvdF5f+rgC81XLjjcuEQiufXg7FF5PK2QRKv4FVGJGwNrQHAm2F2xRQwUY6dcHOaWyHf+3nNwjoBpMqmSpYmGwe8K1dFaFIKPvX/OA==; 25:kobISCA8cji7yDCCQ3USL2etb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C63Wb0J2eMc9lCyZD5eYw9ycYZIyM751Rq4Aj7tM5wwVWpbzpHeLC53qVkLIOhRI1WIDlnZzqzsI0U= SG2PR06MB0601: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SG2PR06MB0601; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0601; X-Forefront-PRVS: 0644578634 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(42186005)(87976001)(33646002)(53416004)(47776003)(4001350100001)(189998001)(36756003)(110136002)(19580395003)(46102003)(66066001)(229853001)(19580405001)(122386002)(83506001)(86362001)(92566002)(46406003)(23726002)(62966003)(77096005)(40100003)(54356999)(76176999)(77156002)(2950100001)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0601; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0601; 23:F19YfnhXP/5Vcww4fWduvb46n4WDy54nwzqsdp7CnEogOdos2DJZD0zF28VZlgZS7bjPw8J8u897DTy+z7d8BIUJa9ePJsWTk3OBXYhcf+4QKBrNTZidE/Vctbv3icjx81dx4xYR2kArPpKwr9xtvCBjT6+A+OWehGTektnmQ9L2AhhC6i3pUJa9YGcBf8Iz1rfJBKKfm7AgB1j4UR5CCwcmtjdY+gnWawChTvx4aWS93Jcf8pKuzZzrMhEbZA8/zQvGdYWkx3HmUl1DjVP4QGUyBDcAxc0SNXtApzj3U6ZgiompDFmGxXhi5hcujsrqx3ewYyapovTsDg6ZV9kkd9BHS0gunIFblZRd+gxfrnexcFr9IOrNFjNqMKk6bmqXJFRaA9J4qtqPXypkmgg7UBIF6ceAxtvZePt+mQsjVbSTm2bBitXNoDjNyBPedhe6u+LS38tfROL7TOSMHMLR3l3ES5xWPkbljoazL9elSXkMi+vBz/ZusH35hQVn6+gnP9TCHKc4NcGjQ0DO+LURuGXZQ49JEsehWY7X6q8MRs8O3NzF/noA0bofi+Yv/b85zdCfkWMHa3+jYqTUrcmML4KTDYvHDBPpdouzeH+7pNo0ktjjNpPG1rNCBTkrOrHim/X7Lbd4RFPFGueTFhdapT/wqfKS0RtVwSJisrRq6RSguaQirvGE1+r9EEUj1kWo9lIXPUIbqa9M45GpomPojHZDfExEAd/AHhVojToNQ95W751916b0aM8c4OdsZcx52xN7h36KdmTOPQYduKJopAu2sINl3navUID4qXCnNW8=; 5:MpaDz6e3P+HSWfPBB98tnL/OS5DmM/Mr7wjRVPl7h9MV7riAc33yYnEGkUNb5PhLlISodmSJlDsDj9huV2P08frzJ/0c3zsEbQjOX0WFbQ+uSN7uPcslzWBGHP 9ftpsIFFHeG20RXVgAdOxEwDeQBw== X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0601; 24:iaVtzQvYwKo61T52se4/cQQLVp0zfA+10trqbk7dU6OCqbBRj2z88PnCWwF8+bdHvsOQNY5JQEZ2OCw/5f8MwEpD2l++9D1RnUYHYa1poEc=; 20:e2n0FufNtL6wj0vWh//w/OZCbGucjWSHkoeKXMm2U6/XvNuiZF5qDFQ4erT5sHbQzyBNyoKl4FstUrIED6G7CYC46QyF1AIPHNn43GcIv35CsRK5eEA4SG7TXmQrAeUl50+S4WY0ML29EOXNxY5JMujqMGPaT6xQ7uPzyJhvXiw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2015 00:27:03.9954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0601 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.1 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 --- arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++++++++++ include/dt-bindings/clock/r8a7791-clock.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 07ea2be..cdd55b8 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -1311,6 +1311,7 @@ <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, + <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>; #clock-cells = <1>; @@ -1320,6 +1321,7 @@ R8A7791_CLK_SSI4 R8A7791_CLK_SSI3 R8A7791_CLK_SSI2 R8A7791_CLK_SSI1 R8A7791_CLK_SSI0 R8A7791_CLK_SCU_ALL R8A7791_CLK_SCU_DVC1 R8A7791_CLK_SCU_DVC0 + R8A7791_CLK_SCU_CTU1_MIX1 R8A7791_CLK_SCU_CTU0_MIX0 R8A7791_CLK_SCU_SRC9 R8A7791_CLK_SCU_SRC8 R8A7791_CLK_SCU_SRC7 R8A7791_CLK_SCU_SRC6 R8A7791_CLK_SCU_SRC5 R8A7791_CLK_SCU_SRC4 R8A7791_CLK_SCU_SRC3 R8A7791_CLK_SCU_SRC2 R8A7791_CLK_SCU_SRC1 R8A7791_CLK_SCU_SRC0 >; @@ -1329,6 +1331,7 @@ "ssi4", "ssi3", "ssi2", "ssi1", "ssi0", "scu-all", "scu-dvc1", "scu-dvc0", + "scu-ctu1-mix1", "scu-ctu0-mix0", "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5", "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0"; }; @@ -1582,6 +1585,7 @@ <&mstp10_clks R8A7791_CLK_SCU_SRC5>, <&mstp10_clks R8A7791_CLK_SCU_SRC4>, <&mstp10_clks R8A7791_CLK_SCU_SRC3>, <&mstp10_clks R8A7791_CLK_SCU_SRC2>, <&mstp10_clks R8A7791_CLK_SCU_SRC1>, <&mstp10_clks R8A7791_CLK_SCU_SRC0>, + <&mstp10_clks R8A7791_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7791_CLK_SCU_CTU1_MIX1>, <&mstp10_clks R8A7791_CLK_SCU_DVC0>, <&mstp10_clks R8A7791_CLK_SCU_DVC1>, <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>; clock-names = "ssi-all", @@ -1589,6 +1593,7 @@ "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", + "ctu.0", "ctu.1", "dvc.0", "dvc.1", "clk_a", "clk_b", "clk_c", "clk_i"; @@ -1605,6 +1610,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 = <0 352 IRQ_TYPE_LEVEL_HIGH>; diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h index 4022683..dd09b73 100644 --- a/include/dt-bindings/clock/r8a7791-clock.h +++ b/include/dt-bindings/clock/r8a7791-clock.h @@ -141,6 +141,8 @@ #define R8A7791_CLK_SCU_ALL 17 #define R8A7791_CLK_SCU_DVC1 18 #define R8A7791_CLK_SCU_DVC0 19 +#define R8A7791_CLK_SCU_CTU1_MIX1 20 +#define R8A7791_CLK_SCU_CTU0_MIX0 21 #define R8A7791_CLK_SCU_SRC9 22 #define R8A7791_CLK_SCU_SRC8 23 #define R8A7791_CLK_SCU_SRC7 24