From patchwork Wed Sep 30 02:25:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7292311 Return-Path: X-Original-To: patchwork-linux-arm@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 A5E2F9F302 for ; Wed, 30 Sep 2015 02:31:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6894204B5 for ; Wed, 30 Sep 2015 02:31:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7327204A0 for ; Wed, 30 Sep 2015 02:31:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh79J-0007gf-Ba; Wed, 30 Sep 2015 02:29:41 +0000 Received: from mail-by2on0142.outbound.protection.outlook.com ([207.46.100.142] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh76B-0005zI-Uy for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2015 02:26:29 +0000 Received: from CO2PR03CA0033.namprd03.prod.outlook.com (10.141.194.160) by CY1PR0301MB0860.namprd03.prod.outlook.com (10.160.163.155) with Microsoft SMTP Server (TLS) id 15.1.280.20; Wed, 30 Sep 2015 02:26:06 +0000 Received: from BN1BFFO11FD014.protection.gbl (2a01:111:f400:7c10::1:105) by CO2PR03CA0033.outlook.office365.com (2a01:111:e400:1414::32) with Microsoft SMTP Server (TLS) id 15.1.286.15 via Frontend Transport; Wed, 30 Sep 2015 02:26:05 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD014.mail.protection.outlook.com (10.58.144.77) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Wed, 30 Sep 2015 02:26:04 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t8U2Pq2m017073; Tue, 29 Sep 2015 19:26:02 -0700 From: Peter Chen To: Subject: [RESEND PATCH v3 3/5] ARM: dts: imx25.dtsi: change the clock information for usb Date: Wed, 30 Sep 2015 10:25:23 +0800 Message-ID: <1443579925-1330-4-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443579925-1330-1-git-send-email-peter.chen@freescale.com> References: <1443579925-1330-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD014; 1:bCwVrDeLC1w9bTydo1YabyhMe0UI+I+kiPGlJKtI0QjF8oHuKoz7FXBhIG5jVjmLIFWGwjMxbTdOVi2T0h2trDfRydWvc72d1UmAo0gtMEpOroKi9WygRltJMCd7TtiKAB/bflt/6B1qUo1pa7y6YwWzjRrwveDhx3oEJTTsRaukyr95RZqWM4PzklMIWy6K+s1Rtk7TtD+iL+aQv+Cx4FLk9ARxZ7pilW3IK74v2UW71i6b+q4uVl6/3o3ll2xSOx6vq99YAPJzwHvyxtbbPGOJFB8JW9YAPqncvnUPNKo6UY+Nnxh7f4nrFogRRLArS2cWHxyW8vaUdBmIbFFM2m/r9L6WLb8/PC7BFwIt8fD8xoVhSx5SF6oY4EZc0E2QCq1SYSrMLYH5cp21clSRdwTw40+mb5QyUssYPX55H5HgIofTdNfaIgT6ByXNMSP6 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(3190300001)(199003)(189002)(50986999)(92566002)(5001860100001)(229853001)(48376002)(33646002)(97736004)(76176999)(5001830100001)(68736005)(189998001)(4001540100001)(50226001)(77156002)(5008740100001)(47776003)(62966003)(50466002)(81156007)(2950100001)(2351001)(19580405001)(5003940100001)(64706001)(106466001)(19580395003)(36756003)(6806005)(104016004)(87936001)(5001960100002)(107886002)(110136002)(5007970100001)(77096005)(86362001)(85426001)(46102003)(105606002)(217873001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0860; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0860; 2:hHzJt2MqJFWvZb0t1C9SLQqbyt4Da6LtJqWvltS+dGPt4foQq4vwqOBa4Mikf0BBnKRzgZsHY4tKM8jh1p86Lvhh1Qg0O4kj431E5Kki1r6fsiKPrAeaZK34VER7i18c7qUbuvbiFLdS8h7vqooBHtMjWOBPbQHzr6/MvnMf3Ys=; 3:Za8BrhyicS5oKHSk0RM9Yz288r2yW3N13IDh7ahACEsQG6zOCo6zWI9Peb8alHxJSZUQ/lWxGp1m1OwkFNG6Wb96Cmbe2fOYJmVZU+gG/qNtmbgSNAjWPprRT+9QKT0PONmyAPv2uBtVCAKYWCxPzWfItf6HU79/a3YlT3wg5H2OS72hk/CzEmkp1N/4ao1plTZ7NBaijYtTMFkUplCnwYkKi4eR2EPj4iUODHI6mpY=; 25:X2wfuBzHOo95cEqKqINWuLH5+0K5UcTGXUuLXL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ft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001); SRVR:CY1PR0301MB0860; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0860; X-Forefront-PRVS: 071518EF63 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0860; 23:3w6QIhyo/V05aXF6beAUooX40aQag9ambR8LVD5?= =?us-ascii?Q?GSVLKIuSF9qmLgvaVFB23mTbYDtNAJIXEDCrT93rbn6fXzkYR0FvVMAkqT1Y?= =?us-ascii?Q?sPnsycEtn8gcSthzf9/ZVn5k/iwtNIkK8vUQAvX0jrKfSa5n+mftE5CLkHul?= =?us-ascii?Q?JeIu3ODs/uu+IZKGJMY8DSJhzwz2N0OZrzzX3HgoOvAY8S3qamqruQJ9hRmR?= =?us-ascii?Q?fbbwXvvjq78jjguLe3E5AHL3ko+SnKiIikvQFz1YDd9QPFHZBYbLJiX9zYW0?= =?us-ascii?Q?dgeb8syijr9TE0IuOaJT3HB9xhzXbgMsiWG/BnyGIuJ3T+mr0AcHmgJnH6gB?= =?us-ascii?Q?b34vS5IsawFcnBLksysyv3VFZPcF7mQPUdO3OLQpkSLn2M4zBKfKK+Fs53Pb?= =?us-ascii?Q?CkgYkithIaRtbzdk7NURaX0o7JoIwrX+lfqP8Ush5Itt5M4u7Mm24eoKg14V?= =?us-ascii?Q?l9PMPwF51q2jkKaa/hWTx1D7rqDQP/jzLbIgS+MF0sxHo38jtLSsGSGAvxWG?= =?us-ascii?Q?x/P6jKkMiVWfxGyRXIu85t1FnvfT7t9faoV4zTZHKpw/JdFJa3PmL4lKpa7P?= =?us-ascii?Q?524Dg6X3gcRhDwV0vvUNXxgLgxWDGIDbQ4beSqUpzsOfB7aN9KH6dVszxb6v?= =?us-ascii?Q?OkkdNbBAgXEggZkvGj4W7n7MAqzF3FgjtSC3ejXF4JjwWhtom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3WrdYnLleA3b+5k0iL9owlQ=; 20:JqyVMQ3LOSU9aqBNmgrF5ZxqcsqZkNb1rBjGcvXtUvlLWrUWSxf1r7WdpjFnzet0nVuWvyoGEnMGefokEvsusQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2015 02:26:04.7369 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0860 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_192628_647843_E4805811 X-CRM114-Status: GOOD ( 16.89 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, pawel.moll@arm.com, robh+dt@kernel.org, Peter Chen , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 For imx25, it needs three clocks to let the controller work, the old code is wrong, and usbmisc has not included clock handling code any more. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx25.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 677f81d..ab843bd 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -493,7 +493,8 @@ compatible = "fsl,imx25-usb", "fsl,imx27-usb"; reg = <0x53ff4000 0x0200>; interrupts = <37>; - clocks = <&clks 70>; + clocks = <&clks 9>, <&clks 70>, <&clks 8>; + clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 0>; fsl,usbphy = <&usbphy0>; status = "disabled"; @@ -503,7 +504,8 @@ compatible = "fsl,imx25-usb", "fsl,imx27-usb"; reg = <0x53ff4400 0x0200>; interrupts = <35>; - clocks = <&clks 70>; + clocks = <&clks 9>, <&clks 70>, <&clks 8>; + clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 1>; fsl,usbphy = <&usbphy1>; status = "disabled"; @@ -512,8 +514,6 @@ usbmisc: usbmisc@53ff4600 { #index-cells = <1>; compatible = "fsl,imx25-usbmisc"; - clocks = <&clks 9>, <&clks 70>, <&clks 8>; - clock-names = "ipg", "ahb", "per"; reg = <0x53ff4600 0x00f>; };