From patchwork Fri Feb 19 09:35:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 8358681 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 22E4CC0553 for ; Fri, 19 Feb 2016 09:41:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3473820412 for ; Fri, 19 Feb 2016 09:41:29 +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 648DC20411 for ; Fri, 19 Feb 2016 09:41:27 +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 1aWhXU-0004d2-KS; Fri, 19 Feb 2016 09:39:52 +0000 Received: from mail-bn1on0074.outbound.protection.outlook.com ([157.56.110.74] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWhXD-0004V8-7T for linux-arm-kernel@lists.infradead.org; Fri, 19 Feb 2016 09:39:36 +0000 Received: from BLUPR0301CA0002.namprd03.prod.outlook.com (10.162.113.140) by BLUPR03MB310.namprd03.prod.outlook.com (10.141.48.25) with Microsoft SMTP Server (TLS) id 15.1.409.15; Fri, 19 Feb 2016 09:39:13 +0000 Received: from BL2FFO11FD051.protection.gbl (2a01:111:f400:7c09::119) by BLUPR0301CA0002.outlook.office365.com (2a01:111:e400:5259::12) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Fri, 19 Feb 2016 09:39:13 +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 BL2FFO11FD051.mail.protection.outlook.com (10.173.161.213) with Microsoft SMTP Server (TLS) id 15.1.415.6 via Frontend Transport; Fri, 19 Feb 2016 09:39:12 +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 u1J9d6lP028933; Fri, 19 Feb 2016 02:39:10 -0700 From: Peter Chen To: Subject: [PATCH 2/2] ARM: dts: imx35.dtsi: change the clock information for usb Date: Fri, 19 Feb 2016 17:35:04 +0800 Message-ID: <1455874504-28993-2-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455874504-28993-1-git-send-email-peter.chen@nxp.com> References: <1455874504-28993-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131003483532491980; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD051; 1:3utpW+zKqBpb/iwlLmnYA91Zb33vuFW8KLDnFlZZTjrZUmqfjVsUDfkrsySTU3gzOMOCXSty0wWtza1A3KTxfGusZaY5RqNPXCdXIcyO7bVyv+IvY92XdkLsnumnC8jidxmfI9l4hY2WaA1G0oeq4tSFOJcJ/oEsvaeM0aof6NxFU+vS5v15ytimhcLPBZ+Q2GsHkoemwuF9EOlq6qxekxK+835txq/6VxnOn0X01zPGwtW5orFzTeMwevCL57PQcX0TcExJ8VQj+xbzrAhN/cpGbKdz4nyzw3n84lLcNWc6z634wbea8qd/JrZbq+ymsLlQ7Jc4yPzepqClkyBCK5Y514TtBVrHGut7X5iVSnAKnR3gpvHoyhUNNlz6nHTdwCbI4RoPSWfklbRu1xm3BPn99q5PnvGHcgdq30ky5KdfjQh9nJyq37nzjUFcxVe82j9Xu842bXmNSWdJ+crufZIg+SKy1NT3QdIiZXghhJtsM1Oj5+T+b0wO+InvaueHRwCN5bQjSEqgZxZFs/fgrO4mGO241IZ6DHHHtY8RnwY= 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)(199003)(189002)(86362001)(229853001)(1220700001)(87936001)(50226001)(6806005)(1096002)(92566002)(2351001)(33646002)(586003)(5003940100001)(4001430100002)(5008740100001)(2950100001)(11100500001)(4326007)(106466001)(47776003)(105606002)(104016004)(36756003)(2906002)(77096005)(107886002)(5001960100002)(50986999)(48376002)(76176999)(189998001)(85426001)(19580405001)(50466002)(19580395003)(110136002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB310; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f7a05954-cebf-4341-9b6d-08d3391086bf X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB310; 2:+rVHW6ROWsI/Go76cpr2CXivpUTLpXYCTGVxCOeqVKxwIyj9kDkAkNVpAdq3P02BbNLv6RmN8c85O/D+Qhnfj0g+cwsjOEJ6oW4Yl/7NmYYLamjLY2ZeDCWqOf9kWZ41CYG90bb65p4jG4fnglBQUu5dTmNywLa1egY7sZd3YapENZIJDH6puIVckqLhigKW; 3:JWPs37J74DwL6rXSkWmYCO8Vzze7slJ27aWXdRGP2QnfjOKOS/590/krhws/XPzSPQptDvdYexGtfVtwQ/iLrlWpy7QG/+U+bzsZUcsSp0tDdj2bGdSSsVp7Hw7HH2DbZJ8DA4StRnfiDLFNwxmDXQ3VOf2V3FPNDnKYHMIgk3fDtk/mLcICWIM8s4Ozlg+5E/MYl4vkUIXztau1X8tIvF624/7YPk3GZb9TRTIaxJ0=; 25:p82e+hojjKVdvMK9p9X17K7mvgpC1WxHA0mDrRUhW1gjAQFt81M+cEaC67b0PaQYkOS/enLPcm4Ligb6GfyDu3aIgin0XfL9RLc/wuZA9zxXB8yowlKWO+6339zSZ5+9DXwqDcUl8e/93QwX7m74mAoHd51wZuIV/KZIvRt9eSHA3CekSzm8FVDbQHJ1xWWm9zpAsK0EIEdVcu2QCPFBzP/VwuHcpfW9R/fy/8lojudOgm+JgnEqcuGApCACen8gQ+Fvhd4/a8OwEpAXB4FPH09xw0gQAoRYY3eL9n5XaYwEKaxyjFya+EsMnbDuGUSszCuM6uohBmJthasXUZUwvQnJS/de9gg5BYrnD18QIV0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB310; 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:BLUPR03MB310; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB310; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB310; 4:GXx8aJuBd+Pw82vo+9+f6+41okRIpH2EQTE3q9cgCF26+4/bgG/1AF8ecdfYtefuYSAZRFahiQUgSc+en1B1SR8Uycm1soYZCn4Qd7JASFLB8bWFgFibtMCcp55YKMXzusm6g4WVoqeNLagpsGsR+flukMZJXR6dT7VpNN40vKozSN36E50iP9usrH9Ih3upqO51EYcW58Y9NQFPkTOsYX9dPs0aQ2evPUNL9EWrMGWXu+RzbVJd5rDYCsIsVn1qRYLzisqyUnHfMc1JrGv9vUIv+AjYj1d+2YDTp3paPzDPqCjuE+ZjoPRtVe3uTr8PWkmeTurmRXR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=?us-ascii?Q?GOaxkqYzp5FXazQpa4bi4Qe0RaX/KNzVbbaXp1so4XGhH66Yllfon6Z3CbJG?= =?us-ascii?Q?UYpIwEFkaXjJKina3YQqIlOfQ9Ctc2MB30wPJqBbC0qW8ugIL/ijpHQit56y?= =?us-ascii?Q?JVqN9hlyZ9nUGjyIjVjJnQwfFQ7vqT3lX7tMnwo0iRQfJdZcW/5a71y4ZO0E?= =?us-ascii?Q?wzLe5zvX6LiReZkVxYkJ9RbVHn5Fnx0euQH30z3U9zy+jUt5hpEvU+HWYh2Z?= =?us-ascii?Q?Do95TPg/JZf/I51wv2IoVYCGBm6NFCJeK6+BwYp32OrD7/A8vioRG5iXL4S7?= =?us-ascii?Q?Wns3plKxvKzmK3yp/6kefBlXxGP+06MXnCpmrK8lebGdxOpAuw1EdHv6lwAu?= =?us-ascii?Q?L8YaRkDu7zwOjA+1jkT42nqemjWUSvEr/diFyEidxxbrMXsecM/O6oStlU6K?= =?us-ascii?Q?PzmlfQXXpVrZiywOA7MNs2Rlii4CWC?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB310; 5:jGP/QrZzLjeFtn9C5KErggl7yNWs17ASx3uoC9LbFh20zJbH6idRDrSpUytCvtCu4R/5ovLnzYAFe1FmV0b1zXAV5LFuu1ZtqEyHmzdgzHfl41FBoSoRzrfQwKqZ/ZdL6+2hyrXhQ5bi10j8CBldKvF4LxvJ2TwG5XNQZeALjJ4=; 24:IAymfp4D5WYx2QH+zadKpOZeF18ePYy4gNOCWS9KFMo3iKrRzBcX66j9pQXZWBen6saYbF/7MBuVwWCVhIkEGP/nKR/RFSeQykcM+MSIrv4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2016 09:39:12.9995 (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: BLUPR03MB310 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160219_013935_486281_365E1184 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. 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 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 Acked-by: Shawn Guo --- 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 ed3dc33..14e1320 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>; }; };