From patchwork Tue Jul 21 00:26:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6831581 Return-Path: X-Original-To: patchwork-linux-sh@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 83E40C05AC for ; Tue, 21 Jul 2015 00:26:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8914D2069D for ; Tue, 21 Jul 2015 00:26:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FB342069A for ; Tue, 21 Jul 2015 00:26:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757282AbbGUA0Z (ORCPT ); Mon, 20 Jul 2015 20:26:25 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:50628 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754373AbbGUA0Y (ORCPT ); Mon, 20 Jul 2015 20:26:24 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie1.idc.renesas.com with ESMTP; 21 Jul 2015 09:26:22 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 977FD485F6; Tue, 21 Jul 2015 09:26:22 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 87E36480A3; Tue, 21 Jul 2015 09:26:22 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 847DD480A5; Tue, 21 Jul 2015 09:26:22 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id KAQ22618; Tue, 21 Jul 2015 09:26:22 +0900 X-IronPort-AV: E=Sophos;i="5.15,511,1432566000"; d="scan'";a="190737954" Received: from mail-hk2apc01lp0214.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.214]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 21 Jul 2015 09:26:22 +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 HKXPR06MB0599.apcprd06.prod.outlook.com (10.161.181.148) with Microsoft SMTP Server (TLS) id 15.1.219.17; Tue, 21 Jul 2015 00:26:20 +0000 Message-ID: <87si8icqa2.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/4] ARM: shmobile: r8a7790: 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:26:20 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0040.jpnprd01.prod.outlook.com (25.165.48.150) To HKXPR06MB0599.apcprd06.prod.outlook.com (25.161.181.148) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0599; 2:OWB7ZOopaqhfKq3+hp/CgYjkiP+g/KS9nKWtC1SH6lP6KcBgSyForCysiz8In0zh; 3:5EdwYDDx3ap/X1Q5QW7sYG4a7LH9LNQrdmsii/sZk7/7y+Gn+3U3S0QYXR5d3Jco8voTUAx8zQygXaET+92T7cyWGLJQ4Y1mRJk+OiRr94//r7TwQfM76D8hw284iTPmxHDG4ei33gGdsWYwZm7HFg==; 25:2EZKpyyBugS+bcfD0EdkqM4e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+xoBbtHNY4tbBqohwWDDV6fBdc5yUJ6xd/ZZ5BYl2d9BKVv+sHtyNv9Y9d3YaTrwPDqfrglGF1yBO89mnfu8w1PBSHrNU7R4E54= HKXPR06MB0599: 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:HKXPR06MB0599; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0599; X-Forefront-PRVS: 0644578634 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(229853001)(2950100001)(76176999)(33646002)(50986999)(87976001)(46102003)(62966003)(575784001)(77156002)(54356999)(4001350100001)(86362001)(46406003)(83506001)(77096005)(122386002)(92566002)(23726002)(40100003)(189998001)(110136002)(42186005)(19580395003)(19580405001)(36756003)(53416004)(47776003)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0599; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0599; 23:wAbTHD05hIXlcHXn3ulKEBsCj0Qep4fSomlEdMcLbXBaUM6CnSxB5iEX3QF2iJpSy5/ciEK52jQm4VaSlzCfy8thJPGyT6Fv4c0hjCpfz2xXQgAeF+uhm2EELjr6XfiEYP+i3kGHGyctmR6W9yhSPhXBsoFKzzR/bUZp+Wp+DZ1Gl2RLUrlcrIxIcH5uybnBRmKx0oNz+JuWbxBg2FFH9wdPYZROay1l0KddrqSyz861ToIv5XV6iVhjoYAiphyxJQ9HBBLPXVnY9I9iXb/moRH/xqKgLmnwdHWgf1xQ6IVdnXZJBqMxSa2RyQp8YHETzMTzrVDcdt0pfltcgS84GVnL0OeIHFRe9kKZWF6mrKUo8LXUTk6HuSyXv7fo9s8LYnhCxDWk/mY+JF5TKMnmrnK9fjLr5f1O5Ng4RztQocbdzKoxgTqI77DElukJkYdhRP3RnXgS+5/AvjoeqJMnAVZTKTRamJTeM0Soi0LbySXphChOoX9qZObm8XcXe7NwbeDVqKstMz8TiC5shTQnVJtC9F+mGUV1u1Cjt6rzcVVZ6mmshxagoDYy+VfQTUYIBWSgvIyRA/+N6/J4ThPAVNja1NXPkiue5KmFgyjQxWM9p8VUKuTnrZn24t7qg2taYri1RYlFXUeC0P8VTE0JXtP1H1RrtvdxvONWYNIJtPhKpVQC985MM93Jpl6KUfJ5ZxSNZ/uXb3v/WKT2GsILWsMYjF5KrjXJDpCRls2mClWMP/v7CU9CcwQDGP8lZkk/nJ828lMo9mxBmRI0RdoPyO0gPXylvRozjteg8/BkZ7q9wmsHfHX1CC6ACUDSO/WU X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0599; 5:qeNfwuDpPF9kN6Tc5ZHeh397QqQ32K9D8IyWd/SZSviAySeb4z3sF2v45w2wmu6tu8VVv/A7ecztRnI0CQifUBNJBr1I4RLV4trGo8CKMPZrwn8kX9vQiVg3hdAqhqMZvMCxu749dWffSF/wS7JNoA==; 24:DNiXdr7XmcIf3VB03oN530iv39+btlLAWolDs8MNMdl82+od2gl3jAgCBk0/zBEeyQAWHq/24LaOQHKGygtFILBaKOUpT3XsgYa+7T0A4NA=; 20:uHE2fZ6Mf8HPakb2FA+rEmoZbp/cne6BbfkCj8Pn6wPhQJoK57DFF3WaZjv2wejkaP+M8IHXICqZ/mImmqV7GF3zl88q5Vf5nKnj40w50dTbOJhOWgcrNg+QWeOVlATvA5wylUGtwg0s16895jwW+A+tucDJJ9A69liYN4c/E8A= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2015 00:26:20.8679 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0599 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 Tested-by: Keita Kobayashi --- arch/arm/boot/dts/r8a7790.dtsi | 16 ++++++++++++++++ include/dt-bindings/clock/r8a7790-clock.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 3ae0c3b..6aa1d75 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi @@ -1303,6 +1303,7 @@ <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, + <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>; #clock-cells = <1>; @@ -1312,6 +1313,7 @@ R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0 R8A7790_CLK_SCU_ALL R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0 + R8A7790_CLK_SCU_CTU1_MIX1 R8A7790_CLK_SCU_CTU0_MIX0 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0 >; @@ -1321,6 +1323,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"; }; @@ -1536,6 +1539,7 @@ <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>, <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>, <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>, + <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>, <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>, <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>; clock-names = "ssi-all", @@ -1543,6 +1547,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"; @@ -1559,6 +1564,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/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h index e119ef3..7b1ad89 100644 --- a/include/dt-bindings/clock/r8a7790-clock.h +++ b/include/dt-bindings/clock/r8a7790-clock.h @@ -144,6 +144,8 @@ #define R8A7790_CLK_SCU_ALL 17 #define R8A7790_CLK_SCU_DVC1 18 #define R8A7790_CLK_SCU_DVC0 19 +#define R8A7790_CLK_SCU_CTU1_MIX1 20 +#define R8A7790_CLK_SCU_CTU0_MIX0 21 #define R8A7790_CLK_SCU_SRC9 22 #define R8A7790_CLK_SCU_SRC8 23 #define R8A7790_CLK_SCU_SRC7 24