Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488AbdFMCBD (ORCPT ); Mon, 12 Jun 2017 22:01:03 -0400 Received: from mail-sn1nam02on0059.outbound.protection.outlook.com ([104.47.36.59]:48992 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753270AbdFMCA4 (ORCPT ); Mon, 12 Jun 2017 22:00:56 -0400 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; From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v15 6/7] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Tue, 13 Jun 2017 09:59:25 +0800 Message-ID: <1497319166-17287-7-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> References: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131417928532805859;(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)(336005)(39410400002)(39450400003)(39380400002)(39840400002)(39860400002)(39400400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(48376002)(8656002)(50466002)(38730400002)(498600001)(4326008)(53936002)(54906002)(2171002)(81166006)(50226002)(305945005)(8936002)(8676002)(6666003)(189998001)(5660300001)(39060400002)(2950100002)(7416002)(7406005)(356003)(5003940100001)(575784001)(77096006)(33646002)(2201001)(86362001)(106466001)(105606002)(50986999)(76176999)(2906002)(36756003)(104016004)(85426001)(47776003)(32563001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0301MB0899;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD028;1:5xKzUeP3F36wURLBmhuQTUU+ywLDUYa5WVYq7J4YDd8O9nvqYWWTdySImA8r5904E2owl3jjBUDbv0i6ncoMRfPZcecjQHX/8Mic3SaDm9I8ygKs0qQpLvTn2ERr8Ib4vbVASJ7Z8862+vrEcDVjHtrFoXEukL/xaItRSO4b8+iy84rB4ntE8S4j2gsG6K+Po6r/QHWuKC8gm/Qb7X4MggiatVXm8RscrrCDCvPXdkllfXetfRYMMM2yEBCNEa5DLFOxxVFPweqJAR6gTxSkec9KcaJdNH+q58Y4AslpjVtezs/A+rPExXJDNB9cv429j4qIebo2yTgbUM2v79waxXnr7OKAY+tXgUpwMB98Cm7xeC3dlULKukz12vA8Yqn9pGNioEiHiDfIJKU4zKo4d/QHzEVKfCxpf8NV8/XgWRYy9Isp12wQ944ABj6DlKAxOs4qE4tV2c6rOeF88Fblq4OdauZZ6w8EJPRdjq6vF1p77186WnNW3K7t9AlXSL0Y0O0Q1I2FqKMh3qsUpGfAVOmIXnJtAYnZIjwwA0UydID8lh57dQyWi5q6PINuXLnSWV3F/mtz0OjIKzcNL5rFo1iSBCgFaMRj7hxJ3rTnzznpV3pWs7m1ahQR4/WOOnvQ3DYJ+VzixV2xjxoRmuy9r9q5rxJ1ccBOq3PFZG3Fy6jsP0jNqviUob40FJ+X6pUoh8biB5znCdbU4/sS+EYHlaoHZj+QMEz6gh6JAeTLfAs= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0301MB0899: X-MS-Office365-Filtering-Correlation-Id: 9bfbc20e-5637-4e0e-c8e3-08d4b20005c7 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BN3PR0301MB0899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Kg85OFn343oGtkZvftD7N6+KvzMq9VrxsCZd9P+0qfYZuh98AGhLMbKRV2po5tUzzTxGy6SynQHWx7dGgBaenM9uBZ9J4Sy7uGwk8L8ngM2wyPjHXunLxGbZhogiUP4v/TBCv8tkTr4p4Uy4jjuQa4G3aEl0CzpMrJNenzGMBxO3IaGIU3oTqvkh/yzBYqlm+Po95t X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123556025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123559100)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR0301MB0899;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR0301MB0899; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0301MB0899;4:PrrhcWzO4FlOhydPiJltJOGcpMIs+iD1PpotIoM4?= =?us-ascii?Q?hTS+KA+JvUs9MeQPv/oBY73bCR6UjivKf3lpc8HQ3UuweBnWqhSud4Vi/hL9?= =?us-ascii?Q?lkQU+npdvVPCOgQmxQexjoGldEGS3IXTRWGAT+KxY+ogit3aGzxlZebWpcS2?= =?us-ascii?Q?IMgY1PKMSHAv5+swBVFy0dvoqnTU4V9b3cmgOJPhaDDp2jPfl+MNbaItXp4p?= =?us-ascii?Q?VRoROgnMiXbvHnuOT3a0mT/WWyiVvLto3JzOnjbVbpOH/bL/cXt7mYJ4l4Hi?= =?us-ascii?Q?nBCrTOHl2XpyAaFFBt+uRILnTQIz9Z8Z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us-ascii?Q?1hC4YN/PKQXRV5oyzmz2c1wZ35FurZhMezxKDlBz5fAkoDkhCRnSpuehpDXo?= =?us-ascii?Q?xiEmjJwPxw09nyDqWss7oWp6l39TSgG7T3xdkD2O?= X-Forefront-PRVS: 0337AFFE9A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0301MB0899;23:9llM2+6IhKqXr0oAyOER1WDRl5YT3LulYlu166s?= =?us-ascii?Q?i+KRBBVSXIMn8F/uIE1mX0ZFVM/+//+4W7hXk4e9ErhWPj64YtbXImOych5t?= =?us-ascii?Q?dWj20opImKadJGTIIPtZbV0iIY5xDFKIrbz4L2Md2BU6ujTw/oLwyfUm8zaM?= =?us-ascii?Q?8Mp4cKOe3/Dnkpb4541lKK4jZY+nxYIRCaPBE3jQyrC7TgoixKt0YL7CGtt2?= =?us-ascii?Q?PFSeeAQBj+8pB4cIwGrlh6d2q8fHvEoi6gilFzje4a/kuQos8m23B4syG87n?= =?us-ascii?Q?WNrEKINxpGvDR9EAlYhB6Yk5WdtbWKCyaBAP58YiwiXPOIpS0plvK1MnTqQr?= =?us-ascii?Q?OwripHxt+maOYlz5VSOb0nOQ8o9s7mGrjQd/QrXvdhlmORjPpQXFvg6/Tc7U?= =?us-ascii?Q?xOw6aZpSoWFnxJd80cZ2A2L9mt+ZL2cQZgi8WHrxME/WWLnDUakj4rL/guKI?= =?us-ascii?Q?yQZUXYg1qOgLpjLcYIc7T5dsFA6PCjRmJrGN8Y+qZmLxNl19M6fApHlNcisM?= =?us-ascii?Q?KCXPhvTveir4vBTWcaO9a0zP4QlS3qBSwG5T0ePZpjcCZVboUWoXprtI/dvQ?= =?us-ascii?Q?Ofx/EjH5MMim5ctlbsIxtiWH3AIC1+nxIT3RQ7eyiNpyy1OOAJfy1CtMtBUa?= =?us-ascii?Q?Grta/TJgkqsns+ju2TVkjRiWBIhxwDr2g9pQ1dcgnqMwexYHGkA8P+1XvtV6?= =?us-ascii?Q?YIrubQ2cF5YQpw86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Q+teKdhgggMKshpnhrNayeC6rVZ2zfZ6thvisTgSl8ElaYs6N6NSyNWJCEyEWYQL7OYGlB2wdzRqijExoReXxJjzheL6lw575jNoJCt9X1fSiib8lnYQz0hqTSRTrc1BmthHLL+amUHamy20JpObLM638LpTjigwK2qXZKga/uKlgLY11/KLfX5X9v/Is4XVYGPor3N2qKlZPtV5Pss0tdCY8shJn1nZlD388+c67CC4JH3/M4+AztbTGIzjoZRzRf3p+v+x6iQv1crTJeJUbmJlDOhYExBqYUp62gyWLJNqdyIDI/FukKUWvMAlefJgd2GIdNFZA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 02:00:52.9685 (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: BN3PR0301MB0899 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1944 Lines: 73 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 Tested-by: Maciej S. Szmigiero --- 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 c96c91d..a173de2 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 { -- 2.7.4