From patchwork Mon Aug 24 02:28:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7059811 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 652479F344 for ; Mon, 24 Aug 2015 02:29:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45593206A5 for ; Mon, 24 Aug 2015 02:29:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5CF9B206A1 for ; Mon, 24 Aug 2015 02:29:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbbHXC3D (ORCPT ); Sun, 23 Aug 2015 22:29:03 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:19187 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753536AbbHXC3B (ORCPT ); Sun, 23 Aug 2015 22:29:01 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 24 Aug 2015 11:28:59 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 1194B44B97; Mon, 24 Aug 2015 11:29:00 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 0671D8002E; Mon, 24 Aug 2015 11:28:59 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id F2FEC8002D; Mon, 24 Aug 2015 11:28:59 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id MAF06617; Mon, 24 Aug 2015 11:28:59 +0900 X-IronPort-AV: E=Sophos;i="5.15,735,1432566000"; d="scan'";a="192932983" Received: from mail-pu1apc01lp0016.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.16]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 Aug 2015 11:28:59 +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 SIXPR06MB0608.apcprd06.prod.outlook.com (10.160.237.15) with Microsoft SMTP Server (TLS) id 15.1.243.23; Mon, 24 Aug 2015 02:28:56 +0000 Message-ID: <87d1yd7797.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 11/25 v7][RFC] arm64: renesas: r8a7795: add mstp7 node and enable HSUSB clock User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Simon CC: Magnus , , YOSHIYUKI ITO , Hisao Munakata , Yusuke Goda , Yoshihiro Shimoda , TOSHIAKI KOMATSU , Gaku Inami In-Reply-To: <87si7977g4.wl%kuninori.morimoto.gx@renesas.com> References: <87si7977g4.wl%kuninori.morimoto.gx@renesas.com> Date: Mon, 24 Aug 2015 02:28:56 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0042.jpnprd01.prod.outlook.com (25.164.162.26) To SIXPR06MB0608.apcprd06.prod.outlook.com (25.160.237.15) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0608; 2:PITROmEwyCnoSgZmdKYfeCM9I0pd/lFR0HTB3D9xEhneWkSdzT6wAyzN7mjsCufkGEp95nXJd5oT96DuMZa+C6ckAPp+t2tUGQHdbEh4HPjy9Vh8aYGqqfbnVl2TEWOLu89NJAeZpC05EP/HY4FcF8upx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M5MJUUMbjveQB5ugkFs15QjkxoDHR2SJYjMEYyxQAwv5Iz01OwyLOJ2puDGUlsQfZ4FijaWwpoMD5+gCXn9o3I8YdJoWU2/F3EwVHFkaqBGn2tY/FztjX3QKHqzGgty7bDUDF+tFI7SG+Ayga+FGCzlcD1FBYRcXo/JyyNG/zzkaviPUB3vbaz9IwLoXUk0Nb4p7D5mVB0nxCEiPe4L1yZ/AmnWHQHaMV4QT+Oqom7uqYr3JzD/EZIP+tg+1LnU0nU0Mlh7ufv/hY5WT+xDMmGY1ayusdb/vmuc585ameBG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:SIXPR06MB0608; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0608; X-Forefront-PRVS: 06780E24F8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(77096005)(2950100001)(69596002)(5007970100001)(77156002)(47776003)(122386002)(40100003)(62966003)(83506001)(87976001)(64706001)(66066001)(86362001)(575784001)(68736005)(92566002)(5004730100002)(23726002)(81156007)(4001350100001)(189998001)(36756003)(5001830100001)(5001960100002)(46406003)(5001920100001)(5001860100001)(97736004)(4001540100001)(46102003)(19580405001)(42186005)(106356001)(110136002)(229853001)(76176999)(107886002)(53416004)(101416001)(54356999)(105586002)(50986999)(50466002)(33646002)(19580395003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0608; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0608; 23:zEEWQSPipFjwEix+GUE9M4EvnguZsi3FVEelVQ7JM?= =?us-ascii?Q?VBnCkYOsCe7eZMj9QtfcpexgylpA3x3yxMTZh5jiQkqdfWY3/8sjyKmsTwO1?= =?us-ascii?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qfdLFCIayh0ul4tm8TQhpLycZ6YSB?= =?us-ascii?Q?wAmvgqte3D1izwcwGyOjSkpLPNZhFTsw3c1dl8kx/8lbEEmLOirSDbGIRe/H?= =?us-ascii?Q?d85ixfA8RD3TL+h6uTU6xyZaXXW4lEn+tI8gTWTMZL6P0rrqvS/LyEAC/Ws+?= =?us-ascii?Q?yyECjHpejjCqbmYgp3mzDbGdSIdssOIsoaT4EoqmtV0EVllqKL7+yfotnlHJ?= =?us-ascii?Q?Bq8ClewrP+c6bsU60CjdmB6O86DKKPKDWf+3XX3fXxyuL7MUJVageTm8O1jk?= =?us-ascii?Q?bjMHpqnGl5H+Yd/evelevHS/ASkSi57NzS7hCZXd0y2b6OcgZpgcYXbh4GZ/?= =?us-ascii?Q?fyUoewfyhH+YXN7chDWzwb8DKTvj2gnFvZLZ9CD6bRFSEqe0+NpZmpo5isP6?= =?us-ascii?Q?dX6cQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0608; 5:aGpZVe3bkzFi98xvbb3UoBWUpgTQT2Mf/6HXbPbK1gkx7zbtcgY5eyjkxvRSMQJ5JOSpHUOvJvi1x3YAdiJn1l5sTuZjgUDFmYJoK9nltEe9dl9GH4uQx+IgdAxpXOTvKgbeTFlvPEIdkQ5PKt/u/g==; 24:T8yAjcNPBqyiXG67jOHleNpzJcBUA0dRQ7H2B4Jp5dMJi9S/dlB9hbQ46NqG7n2Y69gjgeZcSrzZoYKzlhcw6pAMU4XVanWqzy1Xnc653eg=; 20:8VBdYdctpwVDxIHkYJRI4rAkXvfsbubMMSA/574VZaf+0CMpE/Tfkn8cN1omUgek3zDLCQo0YGZZ/27v8iVHSs3nhqN0E03rqdfJ1njO7sr5hCfTgpcvix7NfAEFTli1TaC75rQcFkjoCHE1Y4ldb1RfdDp9EbXPx6iX78go/kg= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2015 02:28:56.1937 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0608 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: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Signed-off-by: Kuninori Morimoto --- v5 -> v7 - based on Gen3 v7 patch set arch/arm64/boot/dts/renesas/r8a7795.dtsi | 10 ++++++++++ include/dt-bindings/clock/r8a7795-clock.h | 1 + 2 files changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index c3421b3..77cfcea 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -100,6 +100,16 @@ renesas,clock-indices = ; clock-output-names = "scif2"; }; + + mstp7_clks: mstp7_clks@e615014c { + compatible = "renesas,r8a7795-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>; + clocks = <&s3d4_clk>; + #clock-cells = <1>; + renesas,clock-indices = ; + clock-output-names = "hsusb"; + }; }; }; diff --git a/include/dt-bindings/clock/r8a7795-clock.h b/include/dt-bindings/clock/r8a7795-clock.h index 27b3a29..ffb0b5b 100644 --- a/include/dt-bindings/clock/r8a7795-clock.h +++ b/include/dt-bindings/clock/r8a7795-clock.h @@ -29,6 +29,7 @@ /* MSTP5 */ /* MSTP7 */ +#define R8A7795_CLK_HSUSB 4 /* MSTP8 */