From patchwork Tue Sep 20 03:36:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9340971 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 91C3E601C2 for ; Tue, 20 Sep 2016 03:38:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8249829B58 for ; Tue, 20 Sep 2016 03:38:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76A6029BEA; Tue, 20 Sep 2016 03:38:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01B1129B58 for ; Tue, 20 Sep 2016 03:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754076AbcITDiB (ORCPT ); Mon, 19 Sep 2016 23:38:01 -0400 Received: from mail-co1nam03on0082.outbound.protection.outlook.com ([104.47.40.82]:64608 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753778AbcITDh5 (ORCPT ); Mon, 19 Sep 2016 23:37:57 -0400 Received: from BN3PR0301CA0042.namprd03.prod.outlook.com (10.160.180.180) by BN6PR03MB2435.namprd03.prod.outlook.com (10.168.223.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8; Tue, 20 Sep 2016 03:37:54 +0000 Received: from BY2FFO11FD040.protection.gbl (2a01:111:f400:7c0c::186) by BN3PR0301CA0042.outlook.office365.com (2a01:111:e400:4000::52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8 via Frontend Transport; Tue, 20 Sep 2016 03:37:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.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 BY2FFO11FD040.mail.protection.outlook.com (10.1.14.225) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Tue, 20 Sep 2016 03:37:53 +0000 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8K3anto006721; Mon, 19 Sep 2016 20:37:45 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v7 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Tue, 20 Sep 2016 11:36:46 +0800 Message-ID: <1474342607-27512-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> References: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131188162739002207; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(97736004)(50226002)(92566002)(11100500001)(2171001)(68736007)(87936001)(4326007)(36756003)(19580395003)(586003)(105606002)(19580405001)(104016004)(85426001)(106466001)(229853001)(2906002)(2950100001)(77096005)(5003940100001)(356003)(305945005)(626004)(7846002)(5660300001)(8936002)(48376002)(47776003)(575784001)(86362001)(2201001)(50986999)(76176999)(7416002)(189998001)(50466002)(8676002)(8666005)(33646002)(5001770100001)(81156014)(81166006)(7059030)(32563001)(217873001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2435; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD040; 1:wed36C0uJOBy1VinXZihZLlblni22MZMS7UiZQpAmRRJoE49gwSwIPgTwc1IWmUytEceJWnD8Aohatrzo6k23qMkak+qAUkq5TK3G4Gavux13wX7Yv/lJt8Md/rwLitzwDTZGSFEHaQIGz1ZnIBFa4nS0uDspdHApKzxeQA84ngkgyKEvYUmVJTt1x2ErW/oJFiNuI2CrYxNM6gtEcyjFdEEFLobALP7bR2+r3J/a98CHDbrLrVhO4k/BtRPOq83kfY1J+PR9okWVl1yXA/LRuRYMQM6OXO3AJ7f1t7ljRq1REniaMIOe290WJJoUoxm7u2Jzvj2KbMnjeTPeYEBVVb5TLomQfoAC4YDirw2wOLohX2a7cFAtpWnedgN3Wog6lt48YehbSNQoD2zJDOGFoTqwukolO1Pi5yErsqJrhMyT0lkjTJRlvdE6S8g7t6M9bXFzZcZ9uK1mWULDsbnM9S2kV5uQonzS+OA7von1ucMB0EdteKnsrOFiZG8bdlDQLHLu6ACUxQ0wpF8tiGuY1A0Kwvi3UMN2OCZrIfvuYPzgO/bNidQMrQz/qkrIOKGSfrFoKXDWjscknme3rxdthzfyqwDiswR/slb1h//y+YlsH23cVF/l/UIiHNm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/YEB4CU/7tBQqHL2JJk5wJvux5BnHj5WR8= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2435; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2435; 31:bpRu9tHDbnikpRwy2kOXIVA2dOI2T69H9ZwrxnikPQNtrj7iH3WMmTFhOZrtIBNgmlNTNDYqKjQNFp6gLXJX8Mppzd/7MyzM5c0MRDh1J69tHlqrV9RIiMtN8ZD9qTOU4UdVCxTAHWXo9MEVyKaQIovZpz/8KWEPsU1sVYbSdZ00Zyevt8rWjDU5vj6D9GSbydc9my+ViCTx+i4Fhlpiaslb/N9qQCXue/1kZvyne44=; 4:nQ9ZcLdF+C5CsITn5muY9ed87yWTiN8di7wrOGtX34+OQN7/AhaY9MbQhmEF8N61UWxN/VD2MvottBfmCCn6qIrudJI5+l0gFl2rFFrr45XF4rRLwCnk3tqsAuevMsuufBAtyCEyT7vhuRX68urLTOsoyuZTHYNWdEUysr0wHSi5LLO5BTee/xxqexV6cWszk7CyvqX9dmd2bEqU3WpY1UMpbgrCzG/9MTL2V9qLWoxJBGobcvKhgLVBF5Y3L+exguPgjVr2iYBMRTTNQ2x8BPfVEpoOeHVrueMc3OQzSaTACM+t5xJaAkrvEitt4Ch6Qft+TpedcFjHAVC81luKkhfm4PIQatM+Qa3UJdOFu3f9+OuCMTFSOXDJV8x1TBXcpT0PmXs+UZiVYyYULonRxJAP+Yn8P9e+jpbkm+5MVGa1UH1NtgBMhllw1tyYJK501T4Gbpeecp1XLzSeJfkiR1Kb9RItBmHwCvtNw0e97f4SyGJGayDkJ/Zasr0TDj+gNCGRaQxhCRzacSePq67+cmkPFM0Ej+QHxoCZIJEv9TU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(13024025)(13015025)(13023025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BN6PR03MB2435; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2435; X-Forefront-PRVS: 0071BFA85B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2435; 23:S1EPbHJxTqWl6K4P6PnaC6hXrXUWFdEq0usiGL5at?= =?us-ascii?Q?CUmH8cHc1I0jTunj1MHf5m2A2n7dbqkrpucWp3NkXCx0losKpIBURj2IiWI5?= =?us-ascii?Q?d5VLrFUrrPtqa7N9b3tD0e0kN36YmgNUY6BetbWsi4564UEM1g2b/P3ODkhe?= =?us-ascii?Q?g0iqewCb1+8aagDrTAoqmEqvN4fjcO5sWHGb6QoxYb3vjXNrx/7L+KVh+L0c?= =?us-ascii?Q?m39xwDuW5fYA7VXdf8bqzbRU/pKytWN8QnXnyO54bfaZiCwznmLsNwXiuXXY?= =?us-ascii?Q?22bgvmBGOOu2+uKmeWuPMB6eZ1rY4WBoFs9+CwvsfcXrHipOdnHGmASwcseY?= =?us-ascii?Q?ZzA4vNHz8PMFQ7sw5JWuUhKJJE/UjeSHCnXWRri1I5oJyW/Oc5tebVtX4pZz?= =?us-ascii?Q?ucMRhrKB9F4tlNqc1jl/jEtBwh2cDGZs1PEixy/VrMDujhYz2v1dL7tl97Mt?= =?us-ascii?Q?garMEcru+OYJ42y6G4hL8ZiKva6EFDjqtl4yCM+APDqqJNLWIaE0mcMSHBfV?= =?us-ascii?Q?dbwAwoiBRoKGwXzXjYPtb+Algc3nAUuJ0gQxXOsZ+NpKqZZ0FV00xHFQvfWz?= =?us-ascii?Q?MUtUf1jAr0CRUSaHMQn3YPHytozIu3ii4BBzJV98TjDRhfhJyxORz2zGlETW?= =?us-ascii?Q?s+Dm0T1+e/BJIvfcndP3DGdhg+0ahT94tuWZaoZyhTwpC4OZ3HXerTAD8THw?= =?us-ascii?Q?IMkhVqevJTLx9F1zdRJbsCTnUak+/iwCNuhSgqflaN0XPssaDt9B8Nck4GWe?= =?us-ascii?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mwNTbMMJ+wEQeVRfzNO4l2iOGQzenBmp/9GR/8rsTb1c7v06Tnduaw/RrJUJnwZA/6f9x4AiyU6u5wmmM9aRCk+USXsJU16iL9KuXRJMf7InoXFMPmKWsiA+jT2myliWrkaUCHzGiJg=; 24:aozkDGy9etEYH2Nk7YVKjwfCMbysYtOxiU/HrBNRwrUVPM+KJi0PAHTNR9hESW2+HACEKW+62gIdtLjFLwKehlEwlzPe9vOAyQh1woxo1BY=; 7:mG/puE5PWfJNCFZQlB1CkYczp65l0tcWJqmtKVTM6iAw954ut2eCNk4RdCG2sJQM/x0yf4Mb6iHwo3+MUNqQ8bK/yyg4RGFQTRWa79NHu9dMdklcED+z/1GTnll1wYM4uDuwHvjIoLlMAFR/gRF8g971l1tGDS9X/YyH+Xr6S0Ef6gQstodl0ONQ9mBvOHPxbASzs6B2VJwU6jFUcnW4pnYJWMSB5XxGov35GhhQBx/QrGjBw4s2MY21UGXAi+AhHmVcoXGjMUZWjamJNALn0igO61L2R0AF0rE9GizH0PtcO7+cgKxsn2+dELI81qr1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2016 03:37:53.5102 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2435 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Signed-off-by: Peter Chen Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 3bee2f9..87fe31f 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -9,6 +9,8 @@ * */ +#include + / { aliases { backlight = &backlight; @@ -58,17 +60,6 @@ #address-cells = <1>; #size-cells = <0>; - reg_usb_h1_vbus: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "usb_h1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - startup-delay-us = <2>; /* USB2415 requires a POR of 1 us minimum */ - gpio = <&gpio7 12 0>; - }; - reg_panel: regulator@1 { compatible = "regulator-fixed"; reg = <1>; @@ -188,7 +179,7 @@ pinctrl_usbh: usbhgrp { fsl,pins = < - MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000 + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x130b0 >; }; @@ -259,9 +250,16 @@ &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks IMX6QDL_CLK_CKO>; status = "okay"; + + usb2415: hub@1 { + compatible = "usb424,2514"; + reg = <1>; + + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &usdhc3 {