Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbcKHDWf (ORCPT ); Mon, 7 Nov 2016 22:22:35 -0500 Received: from mail-dm3nam03on0072.outbound.protection.outlook.com ([104.47.41.72]:51648 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752954AbcKHDW2 (ORCPT ); Mon, 7 Nov 2016 22:22:28 -0500 X-Greylist: delayed 906 seconds by postgrey-1.27 at vger.kernel.org; Mon, 07 Nov 2016 22:22:28 EST 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; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1449;Count:10 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v9 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Tue, 8 Nov 2016 10:51:11 +0800 Message-ID: <1478573472-29516-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> References: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131230471361468741;(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)(104016004)(50466002)(47776003)(6666003)(2950100002)(48376002)(8676002)(33646002)(106466001)(5003940100001)(50226002)(2171001)(229853001)(2201001)(87936001)(356003)(105606002)(76176999)(586003)(92566002)(77096005)(189998001)(86362001)(575784001)(85426001)(36756003)(50986999)(5660300001)(81166006)(8936002)(5001770100001)(2906002)(97736004)(81156014)(626004)(68736007)(7406005)(7416002)(305945005)(7846002)(4326007)(8666005)(7059030)(32563001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR03MB2892;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD054;1:pfRl+j3RSvTzhBorJQHftUpM8ate4UTGMepRpUJk30e8qp6HDYGuhgR8OC2hL6VpsESyV6TelyyiQbcs8aOsUZsi8DI64YUH8/jYKzjfHbv3wyznCFx0GjpJNhKrrtmiBCR98Q9q3g8Aoi2ziON0uv6wc0f2c4AUUVkKzL8rGKgGWyufwF2SB/aUD8sc6EjquO4/Q7eeDySqDTBaLTJu97YjqKDC8AJgyRsv9yCpViTIdS/tqmMSU1KCdU9sMXivipl8R3uNPfS/fkfuxaMnd9Z+dOgQWMPF6EAQOlLDWBw2dEns5sJZ5yMobQwTJ7HhsqcM/OqP0HUlFzzmkL3SV7wQVl1dz6g7icqo3O8P0qlHdalGQD4Lrj6vzTxwoeK5FXjn5br4N2A0mkNF6URjtJyU7xLD4x/j/DIQviIAA2QQgdoQNG2sZ0xqRv3tT11GqJZI7RDXRxpk57CORhjKz5dne2WKA+s2hA5njkWpxwVDZNDFV6eUqsHz8ZzDrrdmsDEo0p5dsSwZ5QTG7SUUiMx8ODJCMzq0xD4ctE+uoiAwC5CLklneBnEXWf/dCf9kLQBjj8PAUCRBstJ1JnBLPOgHbWXehzfuhoOCR0NciOoSha7qH4/0N86s18vb7cdVP5ThCBvRmut+ULnpilHm1KRYcVCTZGfoF9mLuYL4vw9TkgovfJltqW0DqrqojnGUpSR3OVeeARMXoqVyULMCeIz2LoTcSlXCN3gx6U/Ji4lXFI6r29pXbiBauF9K40Ah MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3695f90c-cd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XUhCuLITQPEG93nsKZpkdpI7PkfuZvDXA==;31:HcpZrzSrtP7JDE3iYukehvtODvUIzF3BvbpFBcRMcYBR8SRgzX+6mdE8enptkiWMZCBwzUD1YEDkRI3Y/fBLLM7FvG9OVl/kOnDptMPTz9fF/qUsjF8B7OZbCV9ckpvoWn86o+w0RcnY9A6xbqpIJPz9eJlWQnLi4mES1PwvBUiZ8rTb99uGOJE7YQOlW9r3Xvcpp8ZY5YPad1y219Zd0qoZ0y6790pgHPyEvi7p7JBc3pUWZ0i9Cj4ub+NQ9xnZRkrKNSJN3wNK4TFv2g5+9WrjFcxDV36ucAp5FpjfL2bVtOZBdlve0Iv9kIsqzHvf 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)(8121501046)(13023025)(5005006)(13017025)(13015025)(13018025)(13024025)(10201501046)(3002001)(6055026);SRVR:DM5PR03MB2892;BCL:0;PCL:0;RULEID:(400006);SRVR:DM5PR03MB2892; X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2892;4:tRjM5RFDTsVfb97avMMG0yacqK/1lTcXWe48tIaXd7Y5/vV6GQaS8FrfDa+dOUFfCeDM+i3nVOD633bpoAf2qD9w5Ep+DreMNvRz/QWUxcIk1/68JSMP00tKsnY25yk3Ssou2IZL8T9f/xwoWJnOb5gI8jUsgesqhZEv/akNCxiIyhSvNDqTvIBEOjhIEn/AYqaax0EFPexCu2z5LuBnUsHmge1nDd0LJQQr2z4NJesoLxNeKJ7tLvhNT82PH7DS68GLUKr8aSORcgskGCv3ypuTGagm3SFipwqCIN94K+impTvFIXSEAevbA+ZEInI6Pzc0RdKchtogInZnySBTMdI/BuR5jLZNCPRIqV/LSJO2sN9gYS/v/T5OLC+yx/kJkomWYldWIC5vDh2Z+F1bvtXNxso2sMRyv7Qyd0NiyqnB54Yszhi+cySkoXOl3Iq0zlZ8byVqvrp1c3PNr+zlvzLqSaJdo4hevGtF1kQG7cka7bGqGBwjoExxzq/d7TljJbmUQn6ap0Xrh67d79vep5yquKxuAPnaO5JFFZHlYs43wgHVB7dUZQmP06slvs/9 X-Forefront-PRVS: 01208B1E18 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR03MB2892;23:nRG1ssf6KCp22QVmqaJJceGjPm7gg+Jqt9o+iU/2j?= =?us-ascii?Q?EScOx8Gvlc11r5lkV66sBa705ugV5WtlpOUumL2HnArZQNYg8+V06i8y6rv/?= =?us-ascii?Q?vwa7GjyXSYWYnCxQBFB9p5TtOBTrhn7Y4xeSYTlNvo8fpOZx2xamhlHElsuy?= =?us-ascii?Q?FKGbKAh24PBIOo9pT61yySMLGSAc+0cfXid5sSQGGbqwisF3/UJrnn06Q1AS?= =?us-ascii?Q?U3ngGWNl+LbJb0ePXmlFCZvX2HDy6v78HknOVWEfLBSZJWtJGMMWW6w9/44y?= =?us-ascii?Q?LfqXzrIOJSXGnJ92vBEV7m4TrUwgxhj6bj4Q36cwK0J7asonTIiSNjqFvkTh?= =?us-ascii?Q?Yl82Rg50geFqkKsFzrF6vtXEu6ko0lYT2pS4bBFLfaTRYGIYWAUsBKGpBdHi?= =?us-ascii?Q?fqUxN7bt3iQWl7VAt6VX5O5MSLaTW4Y4xjyDs/H78fe0Vxny9j0PZab7+h3O?= =?us-ascii?Q?twBndiTzLNRUrXWylRGTgYwnZc4titEp2g1I336Niqzptsdza9QeOhR6o6E/?= =?us-ascii?Q?Lm8GA7k4GxEBBt9Ytui8BdkkEeX5OTKE58euKlQbXapZTig21UuiifjhRZnf?= =?us-ascii?Q?pFPrFmw80aAfluoyCFkRb7qRmXsggW3plOsv6gghZN7xAgqsKYvoOZS7t77o?= =?us-ascii?Q?StasLOiI3jrEm7Iq/THdfZy0d8uI41WF6SRba2n7FIBJznGqstKhYIdm9I/8?= =?us-ascii?Q?VVqPOjqqTNwpg0qjczCsHqQSVRJ4GSEZJejTpaFXC0c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m7o3X13BTjDvE1zW5fEAxy8bWy/y8Qhi8RIzvQY6xd9t1fA4wUWnqYAmOSjy+xra0gzojawN0jAr354pxF6A8949qauSJtxpRFXp8MgVujrbvDZaC6evaNf6WmsV4;24:EYxrE+V75dSjXbPfHUXolenUgPgXl+3eJWHorqrRZdQJwqTqg2Rrh8bO9zVrDQJ95JGuVKEtpurVrsBgZ6IaL4OmExJAjErq/uvi9QZ4w0s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2892;7://JB0Paddg4Fzypa5kMG9e8R0LZyNMan89bi1nT9nZXL/HaDeKGU54jDIy7E2RT5XMJn0bE0YFdguunSZB2KelK9qAaJJ6ecYeeA8ZRQDFZHaPQufL6L9UYIoSo7413P85dCvgUMBKtrz/PnYP05aOAjx1hvxi9p/A6xJ5UQ16kiWob+JcbjM4BNZ7Jc58Bt6zA3BS9ivr/mSVTp5nZR77IPeDvM3Zi/kwoZ9VZXr8Ty/kaNDv2ilSj0XrfmoRgXRsHW8najr9nxIK+rQquzFVuSyNbDtowAdzRqTd4e8g3SR3cBkGuV0OFA/xAmLzzXKP8RldbV2tI6WCEcmibUmLkLctfBGftbu/frSQq8Q+8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2016 02:52:15.6008 (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: DM5PR03MB2892 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