From patchwork Mon Aug 24 02:29:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7059821 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 AA6F79F344 for ; Mon, 24 Aug 2015 02:29:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBB59206A5 for ; Mon, 24 Aug 2015 02:29:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDD39206A1 for ; Mon, 24 Aug 2015 02:29:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753573AbbHXC3U (ORCPT ); Sun, 23 Aug 2015 22:29:20 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:49826 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751303AbbHXC3T (ORCPT ); Sun, 23 Aug 2015 22:29:19 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 24 Aug 2015 11:29:18 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id AEE9741EB9; Mon, 24 Aug 2015 11:29:18 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id A26382806E; Mon, 24 Aug 2015 11:29:18 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 9CC302806D; Mon, 24 Aug 2015 11:29:18 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id MAB19165; Mon, 24 Aug 2015 11:29:18 +0900 X-IronPort-AV: E=Sophos;i="5.15,735,1432566000"; d="scan'";a="194128801" Received: from mail-hk1lp0126.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.126]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 Aug 2015 11:29:17 +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 HK2PR06MB0594.apcprd06.prod.outlook.com (10.161.187.145) with Microsoft SMTP Server (TLS) id 15.1.231.21; Mon, 24 Aug 2015 02:29:16 +0000 Message-ID: <87bndx778o.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 12/25 v7][RFC] arm64: renesas: r8a7795: add EHCI[012] clocks 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:29:16 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0034.apcprd06.prod.outlook.com (25.164.91.44) To HK2PR06MB0594.apcprd06.prod.outlook.com (25.161.187.145) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 2:aosDKzj6kD0FdbhDEChwVC7HHh+3KK5cPvQtiFI+jS63aO6FzmEmQG0rSvckm1P26KEV2AUXAAVvnXa6+QSk+Uon5UflZZUw6R1GAVkQgpwm2oL0tbuULLREYYxBZPB6ixfuACO31W+yvmGNQ86C/zACnt84JtU09GzYfeLTf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H6vAAuYtMDuXrENrdiBe9wAarmM+CX2R2dGclSkQSNZXv2WbesFVGrDraRLJATbDWZSSeQlgQ9e5hlpX+dt4FP1Wp48aQjMs7wfUpzkhYl3hARgbw9LRXIFTMnqpqIkqzqmq92MqgL9L0mS5XWK1xGEZT8j5b+24EM6swJXn647/cvo7pC/HAK/aAyM0cL3RZpPTo4iX0FECiDPwUUUziZqO6Ql0fd9TYThPzZTePBQSHnIHz7tdzruiM4qOt8/t29YfUOV5ybHhnxga+MywKVvvCPY1VN X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:HK2PR06MB0594; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0594; X-Forefront-PRVS: 06780E24F8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(77096005)(122386002)(77156002)(23726002)(4001540100001)(66066001)(40100003)(86362001)(5007970100001)(19580405001)(64706001)(69596002)(19580395003)(50466002)(68736005)(53416004)(4001350100001)(97736004)(83506001)(575784001)(87976001)(46102003)(81156007)(33646002)(46406003)(101416001)(106356001)(92566002)(5001860100001)(107886002)(42186005)(36756003)(54356999)(189998001)(47776003)(5004730100002)(62966003)(110136002)(5001960100002)(50986999)(76176999)(105586002)(229853001)(2950100001)(5001830100001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0594; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0594; 23:SL9fb3inOveppxOrV3E/k0rtl9hUReuxHnrvsUQuO?= =?us-ascii?Q?3H6WtAz28rcnxaxx2vVM+Z8QKKrKUHSc+LhNesKpMGoq+OisDG+qq2RiOYY0?= =?us-ascii?Q?cmMZsno6qgjEtByeS+AtkrIgs38OIFAImg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vopZyE0JE2vAxO00pRFdhfE3YTspKtXy6BDQGuUxDKR4I+yGO6sVdRN8qi7?= =?us-ascii?Q?n6e2eI6I793/vj717mXOl2YAqjKP3IZ6vLfoTwwCgIuAbTtyypXfOSM6t2nw?= =?us-ascii?Q?hoxVh3zr6G/J9t6m5rpxSAnJqcqDPSAlZP+vvtoLAJBdvoEbfm0FoS5f2WG4?= =?us-ascii?Q?nxLGXq0Tdt5hmBQ3F5xSc8SBgfJb4vbBaUQJx46dXbsiU9AowgELCN/rf5Yz?= =?us-ascii?Q?xdPaAZcfJP9/d2wa4HAlA5xiBunkMxSlIy8qm92F/sHrr9pTPqGhPpBMD9ro?= =?us-ascii?Q?wZDobvnUJwyw3q7AGIyuj0=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0594; 5:W5p8LtONyKmAa8DUaWqZznviK6QpYS0Jj660cJgf+1SFvSWZBOcu25SfWzZXO+KVg4MOW7FO3ze2/xLzFJC/ASQ2FMUgHgMQ7JXpHlG7XvsjEZa+SiOoxDEKe6N1MbvJDaQQvThaAiGC1tNmbhPMyA==; 24:CRYEChoOhpXU8AX7ai4VBDwPkYrFb/0yFSILi5ZTWMMej/UN38PJUBoEsKxstC70z5MO1J8YT+oE1F34IN3Mv2In+eZmzFmslL3NPmiJW3U=; 20:bmL6qEmWdWMVljceGsUDwe5AvFGfwaLkoD80KjmW4ejBtXIhDAfxQMi+NT0DRJ4iXsFOkMDgnoCiiKQMD/wmdncMriJiQyrG02/uFn30IS4yIbHml5SWb4NZDUZNxgX9c4Tbye/fMZLP4O03tsPUf42mdkXPx7U+vD5dAptn60E= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2015 02:29:16.3357 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0594 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 | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 77cfcea..c62b57b 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -105,10 +105,14 @@ compatible = "renesas,r8a7795-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>; - clocks = <&s3d4_clk>; + clocks = <&s3d4_clk>, <&s3d4_clk>, <&s3d4_clk>, + <&s3d4_clk>; #clock-cells = <1>; - renesas,clock-indices = ; - clock-output-names = "hsusb"; + renesas,clock-indices = ; + clock-output-names = "hsusb", "ehci0", "ehci1", "ehci2"; }; }; }; diff --git a/include/dt-bindings/clock/r8a7795-clock.h b/include/dt-bindings/clock/r8a7795-clock.h index ffb0b5b..2bd9d93 100644 --- a/include/dt-bindings/clock/r8a7795-clock.h +++ b/include/dt-bindings/clock/r8a7795-clock.h @@ -30,6 +30,9 @@ /* MSTP7 */ #define R8A7795_CLK_HSUSB 4 +#define R8A7795_CLK_EHCI0 3 +#define R8A7795_CLK_EHCI1 2 +#define R8A7795_CLK_EHCI2 1 /* MSTP8 */