From patchwork Sat Feb 11 01:27:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9567749 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 388CC60572 for ; Sat, 11 Feb 2017 01:50:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26BBC2853B for ; Sat, 11 Feb 2017 01:50:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B350285DE; Sat, 11 Feb 2017 01:50:57 +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 9E1D92853B for ; Sat, 11 Feb 2017 01:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932113AbdBKBuy (ORCPT ); Fri, 10 Feb 2017 20:50:54 -0500 Received: from mail-by2nam03on0055.outbound.protection.outlook.com ([104.47.42.55]:33328 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752201AbdBKBt2 (ORCPT ); Fri, 10 Feb 2017 20:49:28 -0500 Received: from BN3PR0301CA0057.namprd03.prod.outlook.com (10.160.152.153) by DM2PR0301MB0735.namprd03.prod.outlook.com (10.160.97.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Sat, 11 Feb 2017 01:48:29 +0000 Received: from BN1AFFO11FD019.protection.gbl (2a01:111:f400:7c10::180) by BN3PR0301CA0057.outlook.office365.com (2a01:111:e400:401e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Sat, 11 Feb 2017 01:48:29 +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 BN1AFFO11FD019.mail.protection.outlook.com (10.58.52.79) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Sat, 11 Feb 2017 01:48:27 +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 v1B1kZwU001095; Fri, 10 Feb 2017 18:48:18 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v13 11/12] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Sat, 11 Feb 2017 09:27:22 +0800 Message-ID: <1486776443-2280-12-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> References: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131312513082734243; (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)(39410400002)(39840400002)(39400400002)(39450400003)(39850400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(2950100002)(189998001)(7416002)(39060400001)(50466002)(2906002)(4326007)(104016004)(8936002)(8676002)(36756003)(356003)(81166006)(575784001)(38730400002)(81156014)(7406005)(2201001)(48376002)(86362001)(305945005)(626004)(76176999)(53936002)(5660300001)(92566002)(33646002)(5003940100001)(50226002)(6666003)(97736004)(85426001)(106466001)(8656002)(68736007)(105606002)(47776003)(77096006)(2171002)(50986999)(54906002)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0735; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD019; 1:qHO6fZvrG8SqjqLtJRQkGMv2aEPq+NCneS/22Vi85/vpZ2xFPnDNt48D/saFIU7euqmIi1joQNaSxlRExZ1cV6iDNh1Vcpp3Hx8K3ck8h2vuGlhplOyIIJ9q3X9iK7d3vGelTpmBIeUjwkRR8QWs3Y/O093vbODzpjvqHU1mf3d839+/8zKJ/YYuDuA2rNg6ZNwqTWfmhnSleRlgV3E6ueYA+pYrEVHu+qCifuiU1PKjlnLRlFAL55vpOlzbjhXFEZFJH42mCcuLA+QqAFSm4v1X5k+75nhr0B6McLyM6MuWsgKVHkoeCfJFM+pfJHj+qYHQEGmXTuAuVCWam4xgxdI7+UXQHFfRgphItX9C084wzMCAei3rMEqHomCSFHQusXoL3T1aMkmo9LpIzns+UkSV/3XEJNjX887XSI+gfU5YjhTt/aOfGUUatYDYuUkMpL4SGxtef6cvSbjHZkjOAe20erp9dfngikj4HGFE4g22JbzYOMfOwg4nTdFlZv90eEx79fcUitHAgNyOLxtQFlWo1B0t0wE7KcjZxeqxf4ceqFMmZaVSliwJvRuQkM8HVqTtSKELkn5JdQNKk6YQ0JPhXgXrBmvinCwJVLH5yxWBFS+9ZujnPBb9SWuBcDA4epROPCSCqqI74q1ftlLShsmaxjfzj3tCOor4uAp4ilEyMypw+FTLB8H5xh2hDS3JqZlva6r13ZuPkzqMjpacR0fUe4wU6aRva3ypXIaIrvguGwQcZk4LhQEfPJ2IZmv7 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 1fa6cab6-535d-435a-36a3-08d452201353 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0735; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 3:PCWJZINNXd1qPtPImWsTX0L6iyO2vFqTwiBYoKTOOn1MovVpQbKgej2iOuvXVhQrj34EleOsKFB1vFRg0YnQMt6I536DxSNB7ySNzGFWpfgV4gEXPPHWAeLirxVGzK0YicZ1e/rLBF0lO22xF7oianI7UDdolPLsJhPY4vNyWIyWm6I/x1QfN4BfmWccQI02BB8cAXFh/XylYLGQB9aut20djh1XiEQr1QtdVN5Tq65whKlOtOw8I9U4XK+y+nrKK+GWccEWbyySsH/mHbPgU/fnw05+1ddQ0zxzP3WxrxS18AFkJ6rWMmU7x0cROEtLI+ywyETird6xld1l9HMRIoCHLNz+ulkpGR1mmt35hnduZN14V5wxm4qJStWs5Wlb; 25:cbkbT/fY9idtgt+R6I0MhM8SSKGvZuJVgXhX5/+6NVHMZyrBwNr4hiVmHjqrHhGxZMdD0ei7IZzq4PUPje//Gj7ceitnCOxRR+yxgc6LOeczRlHy+LOIJIgRZH03PZxsW/tnWtOgncQF7F6HPGsL+7l1QpQNJaAHiAbW/0czhQ20yb49q9f4aoG56vUgGR759bD5MeAqQdkDgt//ZoxVjI0XhLwqMolwM6zt3dk8uSuQNVXIAW5sue2GFThftE+j9M0BfbprNXEkT7iXzqoDG8mXLqBhe9Y+SlI8cZrhw8Atd2d4vFTEsD0Qr1nXW0yNZ8DuZF7vvvLIYRbRHdTT+ceH6JMoUOGWZ0Njnu8s7BrYO4ES5AxodR7CFt8r1e0U/GIIiP+GiUYzTN0Okd7crehA99gvRJbglcmV1Iqd8SuA61nYD9tVe1P3VrZvvFMBHSDKBiVbgLGW0M+EVW5ZkQ== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 31:Kmh2oM7LnfyXBOLobbCKtrUN2cR5WZDZMo4FRx3C0WZcYaS4MMzGGgupXTc5JPxnv0SvuySer/SC0vng7E2+eHedzDLJR++4eZrvhZznzqp2cYRUnBZjhfgV4gOt3y2hZnAWEENGf8RXq3EX23sMUnDd9ba1H69sAIXyp3fxdBbi6q2eDL6OxxWjB9ga1jtow+Rlfdfubz5qdiSH5grBcmVdOINTPcNJCbgJmqXeuRMT8hMYBob0R3saehzeFoG0oyoz6O+4LT5kz67Za75T6g== 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)(13015025)(13023025)(13018025)(13017025)(13024025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123556025)(20161123565025)(20161123563025)(20161123559025); SRVR:DM2PR0301MB0735; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0735; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 4:410eVIzIPMuiQZSOWHckM3kAiIXTRKRvQ8y9YMuVA/BWlmmAr+9++oJ080SBD4qmL94v17z6I40lHcvnJKH9yyzPyYaG6UWG6j7u/cY9GoL7bY09f1M3LZeomtDUHQqJNEu0TMbn4sQMgLrOVmHuU2p2swbT6HpIRDarvhWB/rQXlKfHzlwN2iidc8LXu0T14eBLgATKRPrB4MC1WloDTWO6Cquw4S+9i+l4nVCTuiqXf0btLWmoK7wvaPFAptDdhHLBCH0DfLcZDZA1VFoa/lbP1u3tRVSLSru/dqDfmjR9qpMcn7BOR/wqS0YOklhV8V9H0Dm3Lbxc4i/ty88buc1XS3hQE1IW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hbmZw?= =?us-ascii?Q?MTFZc6PzDn/4dE8YhTT/CWsbrGdQRevgTy9wHSzWdh4HcKhq5Uj1jSgTkNf3?= =?us-ascii?Q?8T/6ubD7j/w=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 6:ho9uHWtknVJu+KbdPpopdMMWJuwXAuppgg2tirr+W5Slr5IOozQ5oVroPo9zAJJzO5iP6j/vw/tWBd4y0jedwRssxgBXA/sEzI5oZbTLpEaxo3SDptVJcSUEmh0OOCugPGC5af6Zu0MH0pL4/ogC9R+HU+LK8uFl9f+/TeQ59uL3Oqlc/WXC8B7goEZeUMoadwEMahEzk5NF5O9n+C0ZbJiWi9NUOZmMjlhI24jTWelAcU+w+/0iZPEKmMLYL433Tw6KpdRNl6MXj+TiiTdo8G8pP3GSE20+FBEc7fls6LQ1v2I1gv/cEcaFCk0vbn2xzyZjq3Yyi4nh3PBgFyV7fub0oI6UbDIBHNaLR5ljzfcAd2JvpLi2qoz20yaX9qMkYYQgJND/Q/8OpyG9ZDsicLDkhZ0nI0zOC3D5cesxm28=; 5:v22pAzErgvi2+zR2CFwj3m0/tJQhHzW1pFDGZkW++PnEDT41Gsl/nsS9zWfpm1C2W0VTfnZMMD4YrnC5p1yChRI103RIJwM+Uryho5VAS905k0v7Fh+YK49tdqgilts0EOTQwLU2Qp5INvSkBIeEfijEfm2NZtAIWgDxyBYwXJHPeTioalJSb217lxvSKLwX; 24:u1D3ej0BLrDgWJvo8gQYY1rynNQpS+vEXtUVh8TLV2NHcZ/W1xoyd9jjQLKX0w7xIHcDeurC/hZm5PBy271bQuhTX/4jxFzA8TwUG5YdX1U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 7:KSUAORN56QBH8XHLgFmHvIEUeLB8FPS8qNuHdIo4F+c5Z0zaNCqLFcodLyzyO32CYiVmNC8EkuXbE/yZsDoKJhOee3y8kwWXJJ2L3O44JcSnHrTOaVZilNHom4RR+QgZHpNaQkcyse4m92L+XUqQPa+PVA0GaVu6PDCv9VEUPISdLIXXb27NlfVT90fzZV9mvxndlWBGppbRQzTdyX1V71KJVHNeLDSSAY4Qy7QjEHp1KoR6sRs5ekIes6/ZJ0eq/kwpQEm5FedcxuKH9TIsO8Y8/RATYc9mMeagdvARxx8cmttfDLEwsr3P7Jn/lHXTcFPgDocJ91VDDxqY3QKjZYO1b9czEKx/mS8qHXgAsizg5P074CLk3Tt5U5nUp/Sgm++E3sMDWaUDJDuUphyJP0ZOYgp8NoUHxvRMUA2yBUW5s0fl7GZTijgzep2R31j7YKeFYEfIgM3V0FbWmMz+iXQGl1cEXuVIaRMUiXI1TUh1bHTpqU62jLyedK9rqsQ0k83253BZwznZKFvE/h50fg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2017 01:48:27.1190 (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: DM2PR0301MB0735 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 {