From patchwork Thu Aug 20 06:29:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7040821 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 5CED3C05AC for ; Thu, 20 Aug 2015 06:29:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E32F2053A for ; Thu, 20 Aug 2015 06:29:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 960D520532 for ; Thu, 20 Aug 2015 06:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752370AbbHTG3f (ORCPT ); Thu, 20 Aug 2015 02:29:35 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:5248 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751413AbbHTG3e (ORCPT ); Thu, 20 Aug 2015 02:29:34 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 20 Aug 2015 15:29:33 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 6AE454C838; Thu, 20 Aug 2015 15:29:33 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 5D4DF8002E; Thu, 20 Aug 2015 15:29:33 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 56DA48002D; Thu, 20 Aug 2015 15:29:33 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id RAF32421; Thu, 20 Aug 2015 15:29:33 +0900 X-IronPort-AV: E=Sophos;i="5.15,713,1432566000"; d="scan'";a="193894503" Received: from mail-pu1apc01lp0023.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.23]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 20 Aug 2015 15:29:32 +0900 Received: from SIXPR06MB0922.apcprd06.prod.outlook.com (10.162.173.157) by SIXPR06MB0431.apcprd06.prod.outlook.com (10.160.174.23) with Microsoft SMTP Server (TLS) id 15.1.231.21; Thu, 20 Aug 2015 06:29:32 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SIXPR06MB0922.apcprd06.prod.outlook.com (10.162.173.157) with Microsoft SMTP Server (TLS) id 15.1.231.21; Thu, 20 Aug 2015 06:29:31 +0000 From: Yoshihiro Shimoda To: CC: , , Yoshihiro Shimoda Subject: [PATCH 2/7][RFC] arm64: dts: r8a7795: add EHCI[012] clocks Date: Thu, 20 Aug 2015 15:29:09 +0900 Message-ID: <1440052154-3768-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1440052154-3768-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1440052154-3768-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0033.apcprd06.prod.outlook.com (25.164.91.43) To SIXPR06MB0922.apcprd06.prod.outlook.com (25.162.173.157) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0922; 2:uKSHwYwmIGf1DRc6vthCukWoUNOw1jfW3Ia+wHusWtDPt+dnOCwQsBITfzIGQGGmQX+utB1XDc28/idIDIqKNZEwutB8fZGfFcrfPBb0Co8LCn4Su3SzHpfxQNDJr5z/vn7G/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87XonOBxDQ03UvHXuaBTNoBBSIcO5AOxBr54/mxh6W63BvHcSXla; 4:KPYav7j8aMZlqE/rSm3j6bFuo6b5lqSrZL8cbZpuyzjNo2TRdHcFnf3m8OaAjTUfVS2707TBwgKuc5hqCr1lv8sEa2w/f+IfJO4jKqIDMDps2oYq+Q+cqf87tqSFKBWGFD1cjnWfYs+HvQ2EOetbFYG0xiM0CNsPLxGC7wXLEb21LX3EbxFrhVnCsndPrmF34cLIq3O5WYUq8ik8EFzzFXPUVIfspoWkNofoqEeq4KD9CHZM5s3hFmElkFfkb4bmZwkj4RTS3bp26e1UVsoqmlxW4qMhntTNxEzNiyAzbLdiawxvtAt2+HAfbYmZbvxO 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:SIXPR06MB0922; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0922; X-Forefront-PRVS: 0674DC6DD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(189002)(199003)(46102003)(66066001)(5001960100002)(40100003)(76176999)(97736004)(42382002)(50986999)(62966003)(64706001)(42186005)(5001860100001)(122386002)(48376002)(5007970100001)(50466002)(110136002)(189998001)(36756003)(47776003)(4001540100001)(5003940100001)(77156002)(229853001)(50226001)(19580395003)(19580405001)(105586002)(81156007)(106356001)(76506005)(101416001)(5001830100001)(78352002)(87976001)(2351001)(68736005)(107886002)(2950100001)(575784001)(77096005)(33646002)(92566002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0922; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:0; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0922; 23:YnBh1v9No0884u7EhPrf9bjR9xLJUKz1ZzpOZENL+?= =?us-ascii?Q?rH8K8Ew+A9hhtLnxbEmtSd1BE6QXDkcczRfr7RUAOss3/Zr+9ke2NckAob/4?= =?us-ascii?Q?apONgNhfuLGcYEFJVTb7QMVLnlr6/0OgDsyOiJ1kOw3yNJoVKqXWvNPFjR7Q?= =?us-ascii?Q?nmC6M5gGbmjArYLenouiyAdOGnmND3KPOFdzrSGPZWX9VJCfirAqeY5iuNQV?= =?us-ascii?Q?o+U4duJ797CFEA/ZBsnhPCd/eW3ZobchNiCqTzuH49/aAxmokeKGe9vdLHDA?= =?us-ascii?Q?LRCsG67thycRQKN/aISPIqvrGrarjDOGC1HrfHswdLYNjdag7G0FdCvKLQde?= =?us-ascii?Q?Z9EMlT+RikP+7AKiR4r8BIUlrxMFXTucjq92UwSxM8RsnwdrUrnnrcC1HOzs?= =?us-ascii?Q?UWdXLybCTaX/qcVvIfM8aCx7PVsC4YX69m8q7pOR3TA1xlhmMlHH/x5jKUYB?= =?us-ascii?Q?BJhDsdjsArtxzsrd+BzmnAqxi0T07joJWGFSXKwqbUhCQHz/dihnxjM53i03?= =?us-ascii?Q?9gTxZAcj+N8UFrP2bfFQDZl7YvCDddqwqJvK8BJChZeYDRz4Wa0fK9HCH3Qb?= =?us-ascii?Q?0mZIq7phsxBR4VT6TySFcIrxVb4e0BsFXkdiTcqLvI5HG6NrtM1EZWM3XXPi?= =?us-ascii?Q?nVT2AAYtk3KS+BDGv9nUVxea+GrjTxopftrTi/dL2bwuHrVFM1RMzuCZHVkm?= =?us-ascii?Q?kKE9jXhlQxixsbxtKWZ0fP5nz/QmeAgjEKWJ7MY8JIioARAieBIdvABy+066?= =?us-ascii?Q?evd64iclJsOkIHsX8Te77sYpjN7S4sbqLUJp8SezV03T7JE/hJ3ssSMH752E?= =?us-ascii?Q?ctVPm/CxphgJLXg2HTzqAFOkjkCPbeIX8vd1PxhKL8HrfHwpeGm9wdP5j5lv?= =?us-ascii?Q?gW0fq7JI0WryrYyA4I463USsRPLL48I/Ly6bwCNaui97h8IEclfliN41bbD9?= =?us-ascii?Q?loCyQgVWb7K9Bc7RlKSHU2LaQDeamLSBmac1IfJX7XfDh6k+UeY9MyoftxAi?= =?us-ascii?Q?rCQ0hv5dyaKfB1ZLEQM4yBxYTZxDHSHbSyUolSSO/xDUXoBGLPJ+gZ5lwFuq?= =?us-ascii?Q?Mwlz5vXT0hg2grnAsbwxZ1aUsi5ovNNVdKtQvoWpzyW21YgR8HYmEO4+AqWc?= =?us-ascii?Q?/h0IAVZ/k1QEOqbqBRmyaN0NkNjR6DUPgO2VLGQtlZo/MmteGhXYTGL/V0i5?= =?us-ascii?Q?hlHBfaWzwhPVH6hbkn2QuWXGDOaxbUdr6SA3rGU9HeHPR6hgwlVdApbj9rIo?= =?us-ascii?Q?NenHkDPn3YjaTwnDlWOwhsZR+4bpahhPRpAXvlk?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0922; 5:SBqh+gHZ50GTcC655bsPRTFPZ8N47x/1Ogo3wA10CP2Ngqfe23cL4gGZnFCxSh740ult4hmDp81MXCer/SKocIVI4lOWNdhnz2QeaOxB3DAm+ki2DNjjkDbuCJaEzTr+HDlCDzrlucfXevqAYTs16A==; 24:GgufzHQp50pQ4xiOMn2mFORV5eiTaraqhdX1XAe3woRQIc8fFS2V9m0bnwhNY/JrURYG4SI0a/1E5MN7dW3E7tj7EzFFKP77WGEKF/dVRN8=; 20:aEYTdsc7YOUgT4ejXNv0IJQxrRMqPiRWfRLJll08Mkx+8821mH0WfDDpzotcIpYqHd/ma5O/w+u9AdtSOYw7/ZZZU6fwRqBS26XoWyKUoV30vXuZwLiHmPyMtw8sNBthQ9cAUC+iwwMYbqSKk9z5qsl3d5PPlhRe9dTgXuBjt0U= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2015 06:29:31.1489 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0922 X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0431; 2:NmRcsRlfk43HZxHz+XwyDEvB/GZkZyy7sO1dUjTKh0YfZZNQwY9NolAfYgc9UabVdR6ctrlZtaFy2AILZS6zmIjhR3AsmNdtn/kszWt21DnwwLs8mCAC00Jeu6QHmAAQRFPVxUw7SgsTYlRWaTRdHrR4BETQXTebm5V2qy61me8=; 3:HhyWVSu5Jh2CVmMVqxUFziMsjSJfbPgyYPmush/RSduw+ytxP5IMfF856177ImE3jDmFbofall/zy3lgbfUEndk/5eW/auISK8Wv1fyT7rwbIvFijQusAx3wO6ndkJESACM0pfXGJv4L7oYKxfeCeA==; 25:VXRClZgXKCa4XtbCWRMh6E9ebWMyPHkys5euPHPCG37iDBXu2rwLi+GbN+wbY9lKy6iZ6eColswjENYXNKMwCWed4Ba5SaKQ8njE/gxG8h3xJMLeItP0baFlputzrJX4F1bffclaucHw2WLRtb525zPje+bSgcJuc6RGMYR/4iRCXhDiW8saKKZXZ5zjzcjeztsCb8WZPviSf88Si1W5bLhz/Pm9o4HFyBTa6FOOGzeUwl/fRiwVGHOPYhP/G/GkYOSX8OvR49KeMzzhUGtRhQ==; 23:mdgd+6+rgzcZiJ11zbBmZsdtHVgM2Um7aAe/l9D+cyrMP2iKYfE1V/NFt8hjFEDz8TJidREDZQtEZvX9UEQph9Yb5PbAkvcT2GM+BY6ilFgssf25cy4WqJJ3Ri7RtG1l0MwISarwcqyG6UuvMAYAjbDPA+wzRmddUtTuNpFmPwavJgjXhgu5Ksja/pxNk79T X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 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 Signed-off-by: Yoshihiro Shimoda --- 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 4744f1c..6930048 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 = <&p_clk>; + clocks = <&p_clk>, <&p_clk>, <&p_clk>, + <&p_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 */