From patchwork Fri Feb 19 09:35:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 8358671 Return-Path: X-Original-To: patchwork-linux-arm@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 58202C0553 for ; Fri, 19 Feb 2016 09:41:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C94220411 for ; Fri, 19 Feb 2016 09:41:21 +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 95D6C203F7 for ; Fri, 19 Feb 2016 09:41:20 +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 1aWhXE-0004Yq-JQ; Fri, 19 Feb 2016 09:39:36 +0000 Received: from mail-bl2on0079.outbound.protection.outlook.com ([65.55.169.79] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWhXB-0004Ui-Fg for linux-arm-kernel@lists.infradead.org; Fri, 19 Feb 2016 09:39:34 +0000 Received: from BN3PR0301CA0009.namprd03.prod.outlook.com (10.160.180.147) by CY1PR03MB1503.namprd03.prod.outlook.com (10.163.17.21) with Microsoft SMTP Server (TLS) id 15.1.409.15; Fri, 19 Feb 2016 09:39:10 +0000 Received: from BL2FFO11OLC011.protection.gbl (2a01:111:f400:7c09::186) by BN3PR0301CA0009.outlook.office365.com (2a01:111:e400:4000::19) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Fri, 19 Feb 2016 09:39:10 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11OLC011.mail.protection.outlook.com (10.173.160.157) with Microsoft SMTP Server (TLS) id 15.1.415.6 via Frontend Transport; Fri, 19 Feb 2016 09:39:10 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u1J9d6lO028933; Fri, 19 Feb 2016 02:39:07 -0700 From: Peter Chen To: Subject: [PATCH 1/2] ARM: dts: imx25.dtsi: change the clock information for usb Date: Fri, 19 Feb 2016 17:35:03 +0800 Message-ID: <1455874504-28993-1-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131003483505978537; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC011; 1:gKCN/yOJa2RsSQNw2pD5jkW6gagICCjGtrzlSS6JsJYBcpsSKhJSXA+69mQIknrJFuQnDuy+Ex1+6mcXY0GaiEOOE+zNJszLrxDgTyE+1BHyg36rWNTBbZlPaAD3bTMRG8jAZdPSSkyzLbJHG2axQmFV/zN++xxg0FZC1o7M1T9v3pI3ToxIG/zoCMVRE0PRaadi2fCcZmoJJXN0nvSsOiAJ8EXGvQncWByW3qTI8wtkTvmcselMXcvTnEizIChbBUs5cOldaIh90RLvaUjZPD8xZS3OkkE69ZjFHQquv+rerXdI5KiDWmYMbmrh+keMLuozfkbHsorwHQyoz7ro646ocBR6D/AMHX28X46+cKA4hPOj6lpXRahEti8s+IgeeW9yfC3LI4BYmokTKsf50Hm5A8nDVHDIEut9KX6ciw3Ei/ZzUiRT54FLXhtN4zcrhVFJ+nlBVze7ARQFVg84q3qt/cmFTyC5m+0Qkr5mCVNCrGjamkfHIh0TRTboHrLj9qflgtzN04b1hOQQhiIb9IGnqJYBeNK3hgCrbfHHyRU= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(3190300001)(189002)(199003)(104016004)(106466001)(1096002)(33646002)(85426001)(5003940100001)(189998001)(87936001)(92566002)(19580395003)(107886002)(5001960100002)(6806005)(11100500001)(1220700001)(19580405001)(77096005)(110136002)(36756003)(86362001)(2351001)(4326007)(5008740100001)(4001430100002)(50986999)(50226001)(48376002)(50466002)(229853001)(105606002)(47776003)(2906002)(586003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1503; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6884927b-e808-44ea-0b4c-08d33910852b X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1503; 2:MSNxLz8wT/0IyutOBbH1YGQsvcTlWDGM3nB4E6sNBFs+KDCUQM1PHPCGi7v61g5tyKbdAK7xPZNcclR95UnjUMFTySWsfl6SBs5FaXhFONqJucuQLhatOS2A5Rp+CBWKGQJhJ5sxhDHHq5WEIFRawhgJ8Q2+INk86HowMvtTWCN2QX2eMZn1WwQ3+g9DW3/c; 3:53+cVxaOHiVSvy3eidInJrcUPtl9mFnOvbTGnDHqliMgUJJGMXT2/iiPqZTFDzjTLfFYLvuAxSqjmUWwhrighoUiTH21NkrRF/nE7wiHgLaCiUUa26HL93NTXXCVuM3A4+PnoQGURr5AuNQ6QpsoPOGBODoQBZdBah1pCQ/a/VtwOlubvqPHlAT5aybgJHmqWHL0nsJUmI412i7Kao/LtsWy2tJ1hnWzM/Pcqm3L3KI=; 25:zryvYi2JReKGgNe4dAOzK8lvzsQFxmDLrjjYGkVN9r7k5ViH/w6NpNBn5hf0jGHgJDxBm313Vu/14KmKCgih9aZW45llnknTjD3vf/ymz5bwUve+jiaJtnbx8/Sc437H3aQVakDVllD3kJsx2rF6hP6IR5VSdKHpuOsE8Fdyv3F7B6seCwnT3vjHCLL254aHgKBZeTTYrkBNMZmqHrX4GLWqimFNIJ0xLaNbq0zpIDTG0lYfEQxWUV1sMZzq0G+TeSdqIUe6DEHgAonIuJmqSr3lDyqzPWwzYWuCfSBlTDGLV9B070yO8hyKH4ztRNmDt02b3iK/UbBUi8ZpcBk6kJu7b9xbsgSadvd9v0h4y7c= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1503; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(5005006)(13015025)(13018025)(13017025)(13024025)(8121501046)(10201501046)(3002001); SRVR:CY1PR03MB1503; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR03MB1503; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1503; 4:fmkNpnsDa3J++ezaM1wKofux3AwWNiK+Hseb4DMki6OXKlIZvNMrWABzhxQUgrcmvx6V+p8AC7z8KE+lrjriXyCol/Kr01y2dlKEMpRNNT7/tnfenEYIlJEc1gc7ASDDx8bgkH+tQaPyLIdm0ADBVcSJlOHL1A1I/IxeRxxwuqfqmxy1wT5d165EUIAiGsi5c2FFKM8oGqhmzztm1mZTb8dUHCGokJhKxZubBbZVCdyBh+Tt31tCZBiXa/Vn5kQ4IR2eD/jFA2X0EX7naam9xsWYmn6wRM068YpZona8gL0okpP7dWlaZVwJ3O6xTqp6/8oATEAcJtWqXrNJ3gFoIZ0xSQeRkZOQSCo7Utnl5p/Au4DRZV1CIt5DMF+epwyb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ZhWdInVWrG6ueBf?= =?us-ascii?Q?2MMCzYhET9rwzb0VsaNcGrzP1p2Xy6Mazzkshj5B66mM5pTtEcS0LEJZrCLT?= =?us-ascii?Q?fzxFaoTjgTgOsXDgOtep1kiiPy0BEmiYy8De6k/KKhimZQREqCj88hfTowkj?= =?us-ascii?Q?WHCJr2Unggl7Fu4XaXfKY33Ljg3jOKlL53G5QUYrc/9rOyYEbaP3625Lx5pt?= =?us-ascii?Q?yW0rjswgDqt+iivjys0qP85oB8LQcC2y+Tr2Y0O8dDBjYfYcQamjinyBQirD?= =?us-ascii?Q?Gfws0tDRxP3LYFqVxQL1PxdToUEVqw2iwtdDJr48oH3Z9iCLjP1+cLHB+Kcl?= =?us-ascii?Q?PPT6rKq6Is0ERb64/he8ssozt9ESTaIgXn1vQF+4c+FX8LnXQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1503; 5:WsSGMF7kDzf2ho+UcKKmiXJapPdArZXAr7QzELaXepVuOfiaHrnBnkD6pOQF28JFhRrDw1m5q2GrLl6TuM2rp/rU9nfR9vBfKO2fBf1X0wZ3MwIVMLdrcGMNjsktq2Wm3A8MGsFfuZr0F5irNZGH2+P+CzNPpVvYWeypw/vrFOk=; 24:JjHfazukFCfuTaNjWbWXEpCD1rS8Mgh9coKVmPsofy3h+0DVDUd0buoQk87dC22TBQWjtoIddkpJ+aiJYCvbS+vax2oztPcdYYfoZjv3TeE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2016 09:39:10.3482 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1503 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160219_013933_722608_F567F39F X-CRM114-Status: GOOD ( 10.94 ) 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: mark.rutland@arm.com, 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, 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 From: Peter Chen 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. Acked-by: Shawn Guo Tested-by: Fabio Estevam Signed-off-by: Peter Chen --- Shawn, the related changes for i.mx27 has already been in mainline. Unlike the changes for i.mx27, it is not a bug fix for i.mx25 and i.mx35. 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 cde329e..d82e8d8 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -497,7 +497,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"; @@ -507,7 +508,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"; @@ -516,8 +518,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>; };