From patchwork Sat Feb 11 01:27:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9567775 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 089F760572 for ; Sat, 11 Feb 2017 01:52:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA545285CC for ; Sat, 11 Feb 2017 01:52:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE4E0285DE; Sat, 11 Feb 2017 01:52:42 +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 46E21285CC for ; Sat, 11 Feb 2017 01:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753059AbdBKBul (ORCPT ); Fri, 10 Feb 2017 20:50:41 -0500 Received: from mail-by2nam03on0077.outbound.protection.outlook.com ([104.47.42.77]:27568 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752329AbdBKBt3 (ORCPT ); Fri, 10 Feb 2017 20:49:29 -0500 Received: from BLUPR0301CA0039.namprd03.prod.outlook.com (10.162.113.177) by BN6PR03MB2946.namprd03.prod.outlook.com (10.175.126.12) 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:35 +0000 Received: from BN1BFFO11FD008.protection.gbl (2a01:111:f400:7c10::1:195) by BLUPR0301CA0039.outlook.office365.com (2a01:111:e400:5259::49) 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:35 +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 BN1BFFO11FD008.mail.protection.outlook.com (10.58.144.71) 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:35 +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 v1B1kZwV001095; Fri, 10 Feb 2017 18:48:26 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v13 12/12] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Sat, 11 Feb 2017 09:27:23 +0800 Message-ID: <1486776443-2280-13-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: 131312513156666216; (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)(7916002)(39850400002)(39450400003)(39860400002)(39380400002)(39410400002)(39840400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(2201001)(81156014)(85426001)(81166006)(68736007)(8676002)(105606002)(106466001)(39060400001)(8936002)(5660300001)(38730400002)(50466002)(48376002)(104016004)(97736004)(575784001)(189998001)(86362001)(2950100002)(6666003)(626004)(53936002)(36756003)(50226002)(50986999)(76176999)(47776003)(2171002)(77096006)(5003940100001)(4326007)(54906002)(7406005)(2906002)(92566002)(305945005)(33646002)(7416002)(8656002)(356003)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2946; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD008; 1:W52Z2PzhicjwuZMzWA2mAnJdlB6hsIrKLvIMbQtOySXWpiunP8fgLgKFyUWRtaAXYOW+348/Fc4Yb84ox/TREuEZAKdeSvEdpbYfk5tpCIJb9O5gb+l0qjGSicHGGQVfUxFiK6dlSOCSJjWRITzBGCXyv8A0l7LmmOd8+eRmdIgS8ij460F1eQVaoRJGmPx8lAsM1GIPBEYxCobJETnmnyCX8uUt80Dx1dXloR0tbNMyAz/0qR7KHwO2LRermHgNAMpqyh1ywds9PPZ5a3g9akRx+WRsiNwqQzHiJ9IbyICPkKUvq/PBQLozg2cou8dWvzvoDBvXLWsJv3iwZ8i4FcV/QqzF/EMdpSoTm03TvBeTuWhkWo1kHvTZ36opvVbGz9rSngeqZZSSZTgxzeVnBiOFzZvlJbpy3zNjaE9OxzBlhD7FflQP8kqV0rx158qqRjDHgMZQ0gpEr1vxibVEYRFruCgI0eO7Ze8tzdhyFWuAeAM2//CGdi9+aS8QTGPW9fRtGq4evn1/c9ybbtQ1M8XkjMqJDdGeYFtbHjtTOFC0VMummXQ5cDHZc9MCNrjMvoV476xaCUkZpnZw5KqmXM1H8gABQzgD9pmIlLfxCc14PN+X+X8RWRNQSxAMdW/J4xkFdtHdMKL49VrVLHlAK5xyCEzSfcWuxaKgh5E5bGKj8f3/kr1xopneUA3cIbbWybDi2fQVvy+0MK7mnaEzmVIC8mr5k/m94bMLo8FMG0Q8mtc5xjeTKeXl8/YcirSy MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d841475d-c76f-46f9-f21e-08d4522017b8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN6PR03MB2946; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 3:yfnYyNy1Sidn9uq5BvIMhfG7wGZznPzkTMhSmj6oi8+F4TDpbgf4X4Z71J96aoLXS1kDGeaWJ//NsNk50kUWpLRFbwYpkw2fOBQgGOHYbBOEN81RHktD0TwcfkdnbxYeD52cV0KmMeSKZ0qQ2IZYZqXrfGLzSXFE7PI8bJVAFwYK8BHZTyndByFhhBZomvyW6Z7xmNOnjZ6YFixTjwDdj6S0q6DJlkCYYlvFC5yt9kKq8l7zPpbiKoQ5xw7fGlhfJKcb2hY6TLNmminRohGcfw1TpcdEzMiy36Rxj7dyEeq00DQdEM9GuplBlroeWkyX7wuL+6Ync7HCICtBUWaAoFDxDBGvNQFAj++fJmo6JkzMoJhYrSj89LFFhCZgTU6Q; 25:5f+dDu1y/sSixKsG1OgfvGyJU6Wanp57AhQlPw985cJRYBCxUsd9xQvli+c89OAZdVsNVWF5uku7vsi1BFQLg3xkcH7aAH2BQbz0gIIywbAoK221u/l4maG8KPJg9KdD9XbHqjM2N0pzgSTEjV9qGLpWE46fxQZg3m/bm2mGWaS/fIFn0LaitZ3DlsGmF8o6wqyxAtVtJ4IsmTVZIYRiLWBzZeTtGFEIxtTmDZ5dFjP6YV3gJPriU0AaYQ+0tJ0O9DEOKBQsLZXGHKtRM20tnYBrdmq+g6nG6rSFDTlCVphfsPdC0jIu9NhLVF7F27ylXjtmEYSKQOxuiVucbDGscsFuj7YBtvPFWtxjAyBjbC2+meXJU1sVZS+D6olCrQ1s6i2cVFIfegaIhqfRjNyRtQGIAomGvRAw1y+t6THBUWSgLPmnZMnhlaJfeN7UdNJ3wMRHrGJw3j5eLACI85KRcg== X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 31:cMTVmkyU5V7ZopFwjriSm2pNe4nwpqPIJL9tJ6QWKPJ/SuJMEM4qHL05flKoUmWiwe7b3h+FWnYIdrvGyyUUqE8QteIf0h1lR2Yo1LYrKeHp8pKKqrbaEcxao/SU6PNEHUIbmcZX0Xj4Gdk8ymDFhwuJC6Wg7fco1rHDg2sEYAA/B0jMzMN7GSt91EInLb1fGgwqAWduQLUq9cAMcR30UhPZPa6dGGDucECA/xQyXQ9VCWyL1vjDjyiNm7OPhbXjnUt8u7Ew/4JeB3xmsUWWhw== 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)(13018025)(13024025)(13023025)(13015025)(13017025)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123559025)(20161123556025)(20161123565025)(20161123561025); SRVR:BN6PR03MB2946; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2946; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 4:5aIEpHtN1YA9ZOtAaFojWFTClmzwuhJxqHyaPGNoHN16mPsKuNXrs8mkMFil3Wt9RLzxAwCuzDysCPVJhbOKM8OF87425qfmkA/UQPqDFExysmUteKPFKqI9mXATXInNmVUHgiQvQPBOeISNMhCT6bp2h80PCypXd0qXtdumiqNVZ3Z65e5y0zhmbbNJwPR5UcwywDgyaAmH/2jvaajNh22X8oclqCa0efYZFVDuMuTzXfpJGgG8NA6M9ja0FXKJleRa50m5kjUQtGMNHEiOuQYy7FUeXAmSBCfB6qidprfs5BdI0WwtHFlvUa10Pf3QqolmMBdJvqY4L6t2J5nf48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BKYPtLO?= =?us-ascii?Q?CKiqwSDuY38dLagByqo90P+RBQz+NZNf0P9htaM/sc01xZ3?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 6:iiVscK18ceXk/bQYEZ2Qbsx22wYpLu7plV4VQmsNGxPIuGkyS+rbNoE1AVElRDLbTUUqW4IkjGChLUdHnpHcetGil8i+XfSeP4xqYXyabozBoLTzk+ELbY8tSb1WBQiFdmuTHwXWGyh0C7wNtHWU6n9YSWyiIGU3usgsBc4PANx9iDA30QLis3O+3RgZuKAysv3MkVNIM4KYrDVyz0KsVodB8V5EhpbZLAoF4Igy8kIeamP1aGFy7Im7sKakOHH+aXIK1BOzaGIcvXEN86+INUvH8xhhP8hXszQczGedgDM3N/bQ7gjg1vu05x8lIZQS6l1HfqD/pLa1SlRP/DOpcP75U4zlK/nldBatI9w1i1LWqvhyjJnQ5BMVvEbNgpqNj3vfDJksuvhO0/fMyq82uI46NZHNhXzdXSFd103z2v8=; 5:fTxV/yvaWcqLSGzl9MOySUzWFjTgz8hlFTW0a7ozJfg/jlNT5sippCw8sDcrK9xqwISI20Ky76x548BRx6lVCSd8fsrNeWONPWyaq0DoyxRs4kwG8Su1i37P3BE5wGBzqG7mtkxf4rb4dppN8wMMSP/m5QyB8M56i3kaYzxVsWCR7XbK6Rq3hps4mGHpr/U+; 24:1LAXDM1hq9aaPaj0WEcDyN7QBNOtrqj8ekODJ4i0Omu/Ppioc6HTDv4lfjbqPpOyJQxJY1D7i8+EX65GmHkcYYqxHVryKHly2oXMnd9CqTM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 7:EGjFDTOVVoILnz0PDY8MSl993veVIVbrHwCbC3mXkpi3YrzGuabjTJ59P/aNqN7TSCr3Ut9JqOvOT1jTQLHeDKKTfOBfLm1tjQih0djYsBooQjihhXOPgVYdxquwGYSOeX/SRaFqetLEfdndARYIWUN8ciVIArct2nJgmDjm3c+7m1hcYwGNrtF8GllDLCIvc6o/hfh+vu6FQz8kXoz4Tj6z/yeYNqocUSFsm2ayToj8XGa5i2+3glWEg2rwYEJAYRT7+bZfjGXfYsj3O3T0WckUHYHtADj6m9xlafV9JisRzmNw3umT6azTvQeuYBd9SbPK/femUUnq3CqvuGYfJkftSLo97I0ueXSFmFDGZEEXPypahhrr0gp4BHlwRWGKhwO1rLUlB7lOC9uHOsaKZlk7DQ7M6jncgH1bjCC2wMPfJhgPY2UtIaizicdGecGoLsJZS77Y9/5ICXoiDsPhbm2gbDBW6kcrx2HenKwwKl7OejwLmke/TOvI7DYskh413UP/ydClOMMOSLLQZ4gKmQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2017 01:48:35.1986 (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: BN6PR03MB2946 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 From: Joshua Clayton Previously the onboard hub was made to work by treating its reset gpio as a regulator enable. Get rid of that kludge now that pwseq has added reset gpio support Move pin muxing the hub reset pin into the usbh1 group Signed-off-by: Joshua Clayton Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx6q-evi.dts | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts index 7c7c1a8..79a0bd5 100644 --- a/arch/arm/boot/dts/imx6q-evi.dts +++ b/arch/arm/boot/dts/imx6q-evi.dts @@ -54,18 +54,6 @@ reg = <0x10000000 0x40000000>; }; - reg_usbh1_vbus: regulator-usbhubreset { - compatible = "regulator-fixed"; - regulator-name = "usbh1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - startup-delay-us = <2>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbh1_hubreset>; - gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; - }; - reg_usb_otg_vbus: regulator-usbotgvbus { compatible = "regulator-fixed"; regulator-name = "usb_otg_vbus"; @@ -207,12 +195,18 @@ }; &usbh1 { - vbus-supply = <®_usbh1_vbus>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh1>; dr_mode = "host"; disable-over-current; status = "okay"; + + usb2415host: hub@1 { + compatible = "usb424,2513"; + reg = <1>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &usbotg { @@ -468,11 +462,6 @@ MX6QDL_PAD_GPIO_3__USB_H1_OC 0x1b0b0 /* usbh1_b OC */ MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 - >; - }; - - pinctrl_usbh1_hubreset: usbh1hubresetgrp { - fsl,pins = < MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 >; };