From patchwork Tue Jan 3 06:33:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9494467 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 06D1C60414 for ; Tue, 3 Jan 2017 06:36:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE94D266F3 for ; Tue, 3 Jan 2017 06:36:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E319A269DA; Tue, 3 Jan 2017 06:36:45 +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 47AF2266F3 for ; Tue, 3 Jan 2017 06:36:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934481AbdACGeQ (ORCPT ); Tue, 3 Jan 2017 01:34:16 -0500 Received: from mail-sn1nam02on0064.outbound.protection.outlook.com ([104.47.36.64]:57093 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934454AbdACGeA (ORCPT ); Tue, 3 Jan 2017 01:34:00 -0500 Received: from CY4PR03CA0017.namprd03.prod.outlook.com (10.168.162.27) by DM5PR03MB2473.namprd03.prod.outlook.com (10.168.233.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Tue, 3 Jan 2017 06:33:57 +0000 Received: from BN1AFFO11FD030.protection.gbl (2a01:111:f400:7c10::121) by CY4PR03CA0017.outlook.office365.com (2603:10b6:903:33::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Tue, 3 Jan 2017 06:33:57 +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 BN1AFFO11FD030.mail.protection.outlook.com (10.58.52.168) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Tue, 3 Jan 2017 06:33:57 +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 v036WhRH011369; Mon, 2 Jan 2017 23:33:48 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Tue, 3 Jan 2017 14:33:30 +0800 Message-ID: <1483425211-14473-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483425211-14473-1-git-send-email-peter.chen@nxp.com> References: <1483425211-14473-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131278988375772419; (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)(336005)(39860400002)(39850400002)(39450400003)(39380400002)(39400400002)(39840400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(8676002)(50226002)(2201001)(7406005)(7416002)(92566002)(8936002)(8656002)(356003)(47776003)(54906002)(97736004)(68736007)(6666003)(81166006)(76176999)(2950100002)(305945005)(81156014)(50986999)(5001770100001)(50466002)(39060400001)(85426001)(48376002)(36756003)(5003940100001)(2171001)(77096006)(4326007)(626004)(104016004)(189998001)(86362001)(106466001)(105606002)(2906002)(33646002)(5660300001)(38730400001)(575784001)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2473; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD030; 1:NK5qLevp2qOUnfu6OYWlQMiQneeLfnQcMyzcHOkU17DT+0qsgAEYV9K9KzqLJ1sUUch5uTtWhrft4jVOhizGzW8CKh1mzQuBp8JqPSc/C+Qy9KCELgCA0ztJQWEY/PLlltHHn/LSYlGrm4t3pqgKyl2bKYIowjBZsIJ/NfKC6AT08M41oWwxh5UGc25zOJU1LWGgRP70GdxGjzBr7t3o2p4QLNcbewPggDhlklS9cmeGwmQgrumQb6+FE09o7g6vJU+RPW78i3MJsbj5Ix2xXXtBseanU5QrkUS5cE09C4Y3BIzTHogppjDp/wApdD29t2vYYy7HKKTHCk8wHLj0qZIqgJY0dLVz4/HNht5awqC46j6HOQb8r/rQz/PAa3m6oNGO4oL21iPJCnhslFpPBE0fu0DVXMkD4dm/f/S/J65my+MfeudI5pgYuDPly2PmalUEtxXA4yL8h4KaYFzH5BCIQ7a3p/wW644xMGrgcdrjwX4b45cA0M3L2FGtmY1T3H1LeRZiBkuFKjjIyPCZsdmT38opn9u3CHWFIW56vlFMxaeqKbAmEqS8ihr7Of6VNwtopWOyofjPLgQixcpfNHXX7n68N1U4/69BNtp2kLJQM8nb0MzEplmNlouT8IKtMQD+F5MFHdg3QbBgriWpWmejZ9RP2puM+TtV3bzT8jO48FXn8/i4iH1JOfBXXxZ00CekdjNPP+HQvxgVJPHw/pREzL/A86ActqHRqQxhmluXcWj1oVT11hPWS2cXGh1owr9z0P8Q7/foNxasACK0SA== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 77a63c33-922e-4664-eb67-08d433a27f10 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM5PR03MB2473; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2473; 3:WDzHWDCupSxJkpiA8wlNMN0bJm3Nou5z4cXSgVo6b3hcEX2oP2Cc0nMd1Ph6PsVleN6hNOfItfncogE+tzYlM9/GNTQEUlemb+/ER2KCLCxh9z+Ql1r4C+e+EW9g/+y4xoGkQTSR0TgWPC22EUcfNE7ilaZ3PQ7aS2bY6siiMzHXQVXYlB4/qZrrmNyI+nLPuLfS/56XKMb64BoKHqoPA7VtGlMDxrbrWpXiYdq9lKZRSAVgCA+swNkz+Gzj3acKiIXnkiQHktOPxkUNRMP9F9RX6HumYgMEWOQH2uPGVBn/lrWN7vU2uW11ASSo6KrlvsuIP5nEP+XCZTEOOhvU9GCJzXs69RwW4OJWLZnS9u0fVlsaIB/QUKh/LcNRqp+G X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2473; 25:izj2mawMm1HPeQOyvCUDdT+4HQ8f50S5GkrvNnATORA4HTh7wi8civtXGlERgZgIBlf5TdyKDmsphX0i2wbwBldSGzcgUP4N3tCk/ZTgC6WqUcmNheWHLpmF9OSpeNaNmoq7/aCgLdl81yu9NgnkaQRRpb5tWvVRlHrD0sqnQtQJz2OTHb3XqS7Fckk0SMV9s6AqrOv0f1r5uDIOhFtatUPN+AuRodA0Ad8GUVcuXYm593gyhUPnKAxalJ6iXn0BTb9weGRd2zkZEEfGR1/e1ZP6M2yvOkgsm39HYYggm10lgED5HhywupplhPxYlSJ11Mzvzqz2FY1P7lqp9QpDf+V6G2AnRVa9WHwxazdOr6GZyB1AWoELXYd6NPMBjdMXWHrfogfcuP7ENKVrU5HODTbRPEA3aNl83mey6QLOHl+3GSJ3g75fgbLPFMkJzmAFszqiXcVm9pTMyJh0d3l+axuh5zkmBhc9/rjPRJoFRArW91U4G35ZniE/VFWwnl7xBiwZBzEl3rTlFYEgCgXGShIWT/UhSGjPBKCZNwmvne+Y6HBu/JSkKz2Z8rCA7IQjDfr2pzHjJDkh1Nmeeq1XtWWasdyGJ45BzDt8N59KihUoIBhgkBsYWvaT7AGsE6BBMpfTU4b1FH1FKS2jhraefDL8sns+WNAdez6qY38ZdOYMWxPKIrPcmneMpGlmckBovZRKzz8S+nOeD5IFTOK/ieJn2tbKjmxI54gOZXzAK2UoYgECD10S7JKU1x3D3ZEE X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2473; 31:lN0oD92myL4SpOdRZAtnLtKykrcrH/kXW8yHDVilttiBE20EtlLLI1//6ykcgBRhzYjGrh60qW3HHpLgzSqIUlTVDzJK25Pwmx0W6i99g0BITj5BLp+obKzbl+Gj8MaQU8YgcU2eN7nRrWNg+GswjskJC6+Vp19E2+ofiOpWLcegXPKwsrAEwueFt9N3TYlg93+8WVBdacTlEwza1yn7Ajyh+aGS8KCAIzkl+Go+TY0WE7xE3dBvGFv4VbO3lAMExlfMagxNYOC0rsFzJS3k3A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13015025)(13017025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123565025)(20161123563025); SRVR:DM5PR03MB2473; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2473; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2473; 4:HS+vFdKKaE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0CvccVnbsnznqsaK7aRIhmvwRVAYfBkl1lFctFZxqjLtVl2vmzgVNIIkVqcrn3; 24:89e0fXVqTCISfk4MhWEZ8RR0MARc5UFk2oPi3xe1Ykug3wpc4F8xXjdnRDvKTWgfgUv9/XADfoDYlF0v2VnWo14Y4GAVyT1xVW4yR0dE/Xc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2473; 7:LdsotU6yuvGbGdku+smxP+1eBwY7EUsvg8nGHOGvupOSRC0dmO2jUNkTYl5MZ0G3n1MQr+fIiff8YqqWJSTibJooZ36f0MQEuRQf6OEhtQGeby3HhUzCdy7eqi55kKkrajlLVowu602B0N26HBqZhzqocEpiq5HfeJN0tXSNSh6vyLEg96JSNXunrI4GhvXObmw9V49log/vLOjKTqupA2hxUgnvQjettM3xWqkCsqA/iBzDdE4vWGD90TGN0fWQu5PA9HTmUU2vYct4ROOGibPmZ9AvPgK11uqAYKStJm1etnQoc0kaFidMj968+l4Vl6IzQiOsQm2fAK3+vBJpskYFOrGNcAo9V9H+0O+m4RNeYzcwB2URXLgPRpIPMJDr05FIpGKFV/9CaFMgbAO6UxQLSI+4ixZkkxUbGu7Z4dIwpxQcFrshKSKHQBEnwWegGKLhHnxnyUmF2NyFrLtR9w== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2017 06:33:57.2963 (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: DM5PR03MB2473 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 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 {