From patchwork Wed Sep 30 02:25:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7292321 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 288AE9F302 for ; Wed, 30 Sep 2015 02:31:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55E2020645 for ; Wed, 30 Sep 2015 02:31:56 +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 7556920642 for ; Wed, 30 Sep 2015 02:31:55 +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 1Zh7A7-0008GV-2J; Wed, 30 Sep 2015 02:30:31 +0000 Received: from mail-by2on0116.outbound.protection.outlook.com ([207.46.100.116] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh76E-0005yK-D1 for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2015 02:26:31 +0000 Received: from CO2PR03CA0042.namprd03.prod.outlook.com (10.141.194.169) by BN3PR0301MB0851.namprd03.prod.outlook.com (10.160.154.149) with Microsoft SMTP Server (TLS) id 15.1.280.20; Wed, 30 Sep 2015 02:26:08 +0000 Received: from BN1BFFO11FD056.protection.gbl (2a01:111:f400:7c10::1:113) by CO2PR03CA0042.outlook.office365.com (2a01:111:e400:1414::41) with Microsoft SMTP Server (TLS) id 15.1.286.15 via Frontend Transport; Wed, 30 Sep 2015 02:26:08 +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 BN1BFFO11FD056.mail.protection.outlook.com (10.58.145.11) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Wed, 30 Sep 2015 02:26:07 +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 t8U2Pq2n017073; Tue, 29 Sep 2015 19:26:04 -0700 From: Peter Chen To: Subject: [RESEND PATCH v3 4/5] ARM: dts: imx35.dtsi: change the clock information for usb Date: Wed, 30 Sep 2015 10:25:24 +0800 Message-ID: <1443579925-1330-5-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; BN1BFFO11FD056; 1:Pgeb3QySu9xTFBazTycWJE3DVE9IXNPYak/uM12B1KqO4UKmJE6DFpuxhidZRpGCOSFLB35xLnwbhAgu4M4DkzkWzn63mWINRGGRYy4sZqRWfV0hkX/Pi5PPAdQD1EMT5dkyRgInrfk5c5z3Bacb+Qp7Ayni2/SiJzi7B9T/+jQkeRhwcLmVQN3i/snKSLxqzZfy/tY46Wv0t27Dr1YqA3b55jFRshku2mqUlwj+IkYnDmjXDOk2szRBxx1H3ICrIiEGJapKVCG5XKewPd00WYvNea+IpZmLgQCwtDmLtfw0whCY+Sa1Wi+ZfTjIkk3W074EGa+pwZTRlfWVlxX09Q9joNl3gNAi/j4iKLCqeEpCK8ZvOIJuyPnf0W1DAOMmGWWO8DcZR8m3H16ugOoq/Y7mz/yEDXDCKSICzykBoca/1BRm7+mx3IUYzbw3RnLx X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(3190300001)(339900001)(199003)(189002)(77096005)(229853001)(106466001)(6806005)(48376002)(92566002)(105606002)(33646002)(50226001)(19580405001)(19580395003)(4001540100001)(2351001)(50466002)(85426001)(5001860100001)(5001830100001)(77156002)(86362001)(104016004)(81156007)(87936001)(62966003)(5007970100001)(76176999)(50986999)(46102003)(97736004)(2950100001)(47776003)(189998001)(5003940100001)(5001920100001)(110136002)(64706001)(36756003)(68736005)(11100500001)(107886002)(5001960100002)(5008740100001)(4001430100001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0851; 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; BN3PR0301MB0851; 2:e5HbzFUNGjhEA1mxP/E1YejsQUJDhN9wkYtxbYCN6l3oHn2vZml+y2AOExvXcS5nrHsxVm8XSpVV2PtFV5nCGLV02CEm4n9VE2H1BFbJdqdJMQQ1MMEUBBC1fIrJUUNW2cBWT53C/14x/TIfcZI1OWih9CszF/DCspKN5qSg//I=; 3:xzsYlSTSoVTQqQySKtc03Gf7XFdxU7Bgbq3nkfNPjb7aO1l7YeqZW7DyGdqEH9fJy8uABBdDNCaGJ+OZMXc9fm2ZLEnreeJXQGxv2dkKytIRkHqK0CE3QZR5SmbyQ1jhmv22aYegeBFxsBKl+HcJZRnimES06JCI4EZeC1rWhCOWfSo6ceL3uG6yng/h9T/T1IWAFA/RKZiZZJzSnUWmT8i7dzyEkzy7cOvEAhmpGug=; 25:pF+ZxL5JlcDcRr56AIWMKB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VS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001); SRVR:BN3PR0301MB0851; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB0851; X-Forefront-PRVS: 071518EF63 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB0851; 23:HpSLup/ZVgeDoGPAkOB+/FyUyncm/wEpNIUREjj?= =?us-ascii?Q?XJgWE0jC42KtEjbstQ5HQROj4xrcJjZJMfmge+jYDnDYetUUc7uk1CTGh/xX?= =?us-ascii?Q?QV+N6hblVq+XROjb6NGlXbGUWa2c5bcMnV3049xLHfd74x/t6naswb8zXcmM?= =?us-ascii?Q?1in+ElYssfKcLVOxmTmKE8rLEcy7/eWiXOISwKWtofhHZJ/7s6RL4n2h96Ia?= =?us-ascii?Q?zuUZwz3pvyg2cGn2bylUwdAApFJO9ETqy7/B/JNgSQ3OgGVmHKXNZN9DBxoY?= =?us-ascii?Q?Kq5a6xy+JmmBPcpDhW9xZ4DcsgzrLVs++z4duJ+0576pshcibTWIqAhUWe8c?= =?us-ascii?Q?XzGmaDUjbUud908zDyOVLvKacZPDfueO5+itJGCVRtYJv/c+eNt6gpWdyvTI?= =?us-ascii?Q?RA+oI6yHjZ55Wl3QnjZCfnXOKm+fKvtAvu50LLNIDlC6Y8rCIm9w4bKyf8be?= =?us-ascii?Q?xfoz8fC+IBrTT1uwLGm5PNkRw2vlC0Q0+IdKVlktqMO93y2v/7ZzlU/7FM9R?= =?us-ascii?Q?y5BUIxjZV+A47L2VKOWSz2TKh5y59O87itE9EACQ4QLl9jf489gcwvvj6UUR?= =?us-ascii?Q?rQhDoxNo7kEnK50c4TX2tf2fxwuUT782oj6rhdRaOkxre5R64cMzDwLnPwyg?= =?us-ascii?Q?p4RYjQJFrjxJROApKwiLlTMWXMLgRIahFqXk7S8ekTy8T/yl7HF88UYBhFLH?= =?us-ascii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f6iU9A6/7bC9xq7a8vDodLO+kuVur060h7vfStUpXzxLD/fYYNtHLcM5JFvRrgB0dQxPdlHqCeKjaHBQYDCI/PbM=; 20:MRZ2G+KUKV61OHMseOXaFe5FDL+JVWD9s0ui3gJDY/xeTVA2qCPWMdHb+3KotXTIe9C/EnoY1V788ylR1KgCoQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2015 02:26:07.0139 (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: BN3PR0301MB0851 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_192630_538444_5C21B22E X-CRM114-Status: GOOD ( 17.23 ) 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 imx35, it needs three clocks to let the controller work, the old code is wrong, and the usbmisc does not include clock handling code any more. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx35.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e6540b5..5b887d0 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++ b/arch/arm/boot/dts/imx35.dtsi @@ -305,7 +305,8 @@ compatible = "fsl,imx35-usb", "fsl,imx27-usb"; reg = <0x53ff4000 0x0200>; interrupts = <37>; - clocks = <&clks 73>; + clocks = <&clks 9>, <&clks 73>, <&clks 28>; + clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 0>; fsl,usbphy = <&usbphy0>; status = "disabled"; @@ -315,7 +316,8 @@ compatible = "fsl,imx35-usb", "fsl,imx27-usb"; reg = <0x53ff4400 0x0200>; interrupts = <35>; - clocks = <&clks 73>; + clocks = <&clks 9>, <&clks 73>, <&clks 28>; + clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 1>; fsl,usbphy = <&usbphy1>; dr_mode = "host"; @@ -325,8 +327,6 @@ usbmisc: usbmisc@53ff4600 { #index-cells = <1>; compatible = "fsl,imx35-usbmisc"; - clocks = <&clks 9>, <&clks 73>, <&clks 28>; - clock-names = "ipg", "ahb", "per"; reg = <0x53ff4600 0x00f>; }; };