From patchwork Fri Jun 17 10:09:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9183275 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 5C2D460832 for ; Fri, 17 Jun 2016 10:20:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A2791FF60 for ; Fri, 17 Jun 2016 10:20:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EEAC2839C; Fri, 17 Jun 2016 10:20:17 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id B68BA28390 for ; Fri, 17 Jun 2016 10:20:16 +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 1bDqrS-0008KH-Br; Fri, 17 Jun 2016 10:18:50 +0000 Received: from mail-bn1bon0062.outbound.protection.outlook.com ([157.56.111.62] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDqqA-0006Pm-Sm for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 10:17:34 +0000 Received: from CH1PR03CA003.namprd03.prod.outlook.com (10.255.156.148) by SN1PR0301MB1629.namprd03.prod.outlook.com (10.162.130.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Fri, 17 Jun 2016 10:17:09 +0000 Received: from BY2FFO11FD046.protection.gbl (10.255.156.132) by CH1PR03CA003.outlook.office365.com (10.255.156.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Fri, 17 Jun 2016 10:17:08 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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; freescale.mail.onmicrosoft.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 BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Fri, 17 Jun 2016 10:17:08 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u5HAFbT0029984; Fri, 17 Jun 2016 03:17:01 -0700 From: Peter Chen To: , , , , , Subject: [PATCH 12/12] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Fri, 17 Jun 2016 18:09:25 +0800 Message-ID: <1466158165-9380-13-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466158165-9380-1-git-send-email-peter.chen@nxp.com> References: <1466158165-9380-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131106322287862236; (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)(3190300001)(199003)(189002)(5001770100001)(107886002)(19580395003)(48376002)(5003940100001)(97736004)(586003)(50466002)(19580405001)(229853001)(36756003)(2201001)(106466001)(105606002)(5008740100001)(87936001)(50226002)(8936002)(4001430100002)(33646002)(2171001)(2950100001)(92566002)(2906002)(11100500001)(4326007)(189998001)(68736007)(6806005)(77096005)(86362001)(104016004)(356003)(85426001)(47776003)(8676002)(81156014)(50986999)(76176999)(81166006)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB1629; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:KmxmPKNJnpb28/xaiz2BfhgqHVv/F6d1HJmZl+WiQVbz1yu1ynn2/cBcYgExhjza1CYQK06xHO/qz7RuWbvSVHxntR9D2qd/Y+CElGlnr3smsszEqk96MRq/N+7NU9EBex9bcoSxUjjK75BNMBea2M8iQhwfpf9sgjq2/yg2mT+rUg3RRbzXrCHG2Q7Fl0XhFcd5zWwrAeZFPBFtijaegqkZ0N4HcxLdEgPAruvGwc3wSe2ZhhSnpRFJ1a7sFHlmbF9c9UTF0zqaME3VSexpaR1hrSPaqLKceWDndmQkmCCffx1kYO/AXJ0X1qp136E/KC1pGGCYj18Yi/b+HTd+7uBhgSsy50nm1zAgVHSCzswLpJduBn8Y5y1womGWaJxl5f2qVpu2znDpulpRgFFFFMCgFo9/yFBIWeckAvXo70xlo0e6aawPCTYglnOvc76C1aN407yUmlgIQ0Q4OV1mNtpqdQy+xQqtVIsK8z2ZoyEypG3urCk+5HXN/re8DU91jB8qS+98AI0tcVQ6P3g2XvHDb0PzO+Z9OyakJKtKGgJ44V2VP7z87yo07lcQ+XPkecdVumgghMAzbGtODKAIC32KXTCmLKLTHQQwDOjcRjyj8ln4ToToQp3SkX2AsV+7rN9CeRxQsLmyHHTl2HIzBWnzhsW0UC1pPHRHUVdYyv8= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f8c92185-85b0-4a2b-407d-08d396988a3b X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1629; 2:RE222WiniPotu8q7yBuQlq9Uh1mYq0b7L5qRdhEhy5XISkynr4UtbJB0GUVs+LEFtbyb27/m/QB1V/5brrzONAB/9ZmUwIbq4PLdEuRokX8qNyhpLEyO3YOw6Mv9eRImkz92cMVWCHXGpbT/bzExx6YkUUa5qCtuAOphKXCM+NSGgZSIi+rz80wkk+hA9IwG; 3:89inhf7kkEYRTPHRR+8Lgr1CCxHDYpTF+8+EwcYA58r+PyJPf2mj7LLVMtv83oDtQgss98xbXGCwQAWaXYS8Fyxemo7Y/+AK87XjxxMU++iR8f9SNoLI5iHnufUgYm6VJ/mDLe2wcLNodLYF65guLO4jyczaqa81iBESCb7M9A2w9nfdcMjyuv3vaiTs8deKR3dWl7HzB+tsItaDjsk1U5ztF7X6azlt7r0bXLb1ujc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1629; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1629; 25:GA7EnJKRO5aBFkTFs4v3XBAypGVAYbTWAEPidJ5bm8uLfKNlm01ewKxtZl2H/VHzgi6xMZaNWR6gIxn0cyqBEI8y7UeKhE8hpDoIUmZtDhIyGjhFM6u7w5brgMsXDg11ElfiEOB4ztOsnAfP3ocdzZG6kgdprXcskQRqSRBzdaZqTTXwFPVWsS3qTYZ9Uy8grnhm+eX86qDBXZDyoQ2M4yepg0tFAGXR5FGEl1DjW6Ku64Ny/0n3CJt7K5D/52DjRvGGw+bUrpDGktezfgfc02LGYYGbHQr/+4in16OqlNgf/Uhyu4keK8/5/OIekRLT56b1AXUO4i7+2oUeZ5PNP42p6Hatz74twdCRKcTjuNF9Bf6WEO2eMgSV8e4oSm5BJ6ZNG95/FKgp5SBEFsQpKbJWkMevFbDyqpMot9mIiit0131W9a6y+lYz3UOkSHH85O15mZFSDhMIorhCQs+TcJHncNFGzd4KROd3yGPbmdXVuUEtmctEk4UpA/f4uH6uWL0LmpHVHuDDqnFaMvymZT/6315ocZU3tA4ZPfv6kfk9F9EVBQkPiEE4QfNisqVG4MK6PxTEM5s/9RRDl9hbdAlTlnVP06W58/jOmIdZ/W18CAijL8Q0jrRdrEbG23S8aJBb2iDihHPsrNXq624VCK8ccV0sIMbbmlbG8VKfqjfwCAyJb1YZFLG0SP5l4i4PZrBrCuyA7XdOOsSADab0vXrMdNqom2XKeh385xtILT8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13024025)(13015025)(13018025)(13017025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:SN1PR0301MB1629; BCL:0; PCL:0; RULEID:(400006); SRVR:SN1PR0301MB1629; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1629; 4:ieKvn1NIHnDfem4GoQbpRwpktLwO5TR4egS2086eHNWd3Foqz9UfsX9EYpFAtHwMJYsUpMetrJjCMJaGBu3G7ApmWpj2P+ag6x9u/JWwHA86wo53upYuOsjhD1wojoKeDQI6XZY8Y0Y3a7ijubj/F/cQ8N2I1Xzj703RTmHlYfHa052ncE4AjsCLI/xq2HE4yDpgjSBgOcFANOUazsmlhMwzlMyMrZ4SCrtniozjbzcXN8ARHLFcwqd6Y8FhefnUYSuHX6beNtuS9z6cAZvROjcPGuJFlfgkNgtW08/HXarBczWOtIviZ6cn8v+QC32QeG89Hlw70EBwVB3fdHRxK46k8PhFPY8/bePX35tjTnHEoLkxnY/+qV42zZBAH+fo/qhxyRXcfHrnaCKi1GaqzfOklEwNm9vVBMg+0HZyns5peNzQj7um6dtNngaB+VltC+JWszEEb4poobq9Ei9N+FYapLxOzM0WLKc3cn1MFGbSKv6C1jNTwga+q404uJeWWTK+ABU0lb/zH9bOImh7Bw== X-Forefront-PRVS: 09760A0505 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1629; 23:6lny/VXfiCVpXeDStByEIstpAkSFWmshsNG2P4o?= =?us-ascii?Q?/42Pwyown61Q/8Rqtj17B7Q6YYdlveOw2wNnR2XpXaYvjtmPgb2BJEr/Tyu0?= =?us-ascii?Q?WbqAiVvXin4gGId4bF5f19znY4PIONc8DR3CFo5ND3lEKcAQ5vpe7+dHMmli?= =?us-ascii?Q?mR0c1cmkNww3nYabHAlWakXgRXpYB8/ddDGjCfzPFtcW2ulQ6wQpXEBb9+yQ?= =?us-ascii?Q?UwOjSh+5ZQ5E46UHIAO72dk9E/bMp8AXU40I91EpLP/pqeSscSJWdQVKOKV1?= =?us-ascii?Q?QoVHwBVK6Dxp98xeMTa8a6OcemHPxiMEWTKCYTbCOuXH+Wlo09Kb+GWsacQ8?= =?us-ascii?Q?dmAH2E5vSliY2LCT7YDkL8Ni3QK+9QwuKIVauImrkq6zbaQom9f2ouOQnssA?= =?us-ascii?Q?OvpGTFFPVL58RIuSzgABhbVudSNbxt+UwTOgXo7C5lrNqQKnFvcb10mK2u4Z?= =?us-ascii?Q?ObAdLTrBP4WAhA6hH3grpU23Syd9JV25BgGVfHizb3PexqG+twy+9bvQ6ZY5?= =?us-ascii?Q?uejlAZsj+WXGH1OyathA2eWIDh0Lg4Cd71u3V5lBf2S587GBzCzf/wcuLpGb?= =?us-ascii?Q?jmUEP3ZZV8jr3CuWBVAm53e28kpG5Zy9pKeGiI5ngKFQJ4eTgP3tGurm8Ryg?= =?us-ascii?Q?P0WSRXWVkrQ7qfHZTr3dEJP0i8HnpTc/hH2c+NRKFmvhQC+TgEAzWjjlh9iv?= =?us-ascii?Q?IDREYqWnNtaB6U2wUCuRr2uD2dfntDsepdOurJJ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DjxhwAZ5dJfYrS4IR1B2iYVV3zBg4fmHX/uZnDrbbcSrJgIbHpbV6IBmFWKMNZdIFKdjapGoOFTyQ=; 24:miVvqxflgn45OEV71VPksQF0oL5Dflq71n7fauj2avb3dCstMDoqD4MVdv6Lt/kdqN8YcXzw836p8/izkCjmJbT+h+Z8/fxu3PkciDu+BfE=; 7:nXN9mZhJDOV5BB414l4s65gYp/GZtbZcPxb30Lnkx8ScfkWvp+e7gAYAM0Pmg22jm5RBN4sPKYhNF3WJui+TCen5iteniT+NIt1UJ8A73qQwzvSkWHOKQNIC0ctpw24VCNIW54UA7Iy4fSJzVIaSA9bSekkrEO6TXeDIAcOqKyJ46xNFetfPlgUsniFNnXLyQ3uknQZeki5trUh98GM6Xw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2016 10:17:08.5210 (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: SN1PR0301MB1629 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160617_031731_271118_55BFAB35 X-CRM114-Status: GOOD ( 12.81 ) 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, k.kozlowski@samsung.com, stephen.boyd@linaro.org, oscar@naiandei.net, arnd@arndb.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-mmc@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, javier@osg.samsung.com, Peter Chen , p.zabel@pengutronix.de, festevam@gmail.com, 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-Virus-Scanned: ClamAV using ClamSMTP From: Peter Chen 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, with "usb-pwrseq" phandle to handle power sequence stuffs. Signed-off-by: Peter Chen Signed-off-by: Maciej S. Szmigiero --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 3bee2f9..f921174 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>; @@ -89,6 +80,13 @@ mux-int-port = <1>; mux-ext-port = <6>; }; + + usb2415_pwrseq: usb2415_pwrseq { + compatible = "usb-pwrseq-generic"; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &fec { @@ -259,9 +257,15 @@ &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks IMX6QDL_CLK_CKO>; status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + hub: usb2415@1 { + compatible = "usb424,2514"; + reg = <1>; + usb-pwrseq = <&usb2415_pwrseq>; + }; }; &usdhc3 {