Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757425AbcJNDRV (ORCPT ); Thu, 13 Oct 2016 23:17:21 -0400 Received: from mail-sn1nam01on0050.outbound.protection.outlook.com ([104.47.32.50]:46371 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757010AbcJNDQ2 (ORCPT ); Thu, 13 Oct 2016 23:16:28 -0400 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; From: Peter Chen To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v8 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Fri, 14 Oct 2016 10:59:55 +0800 Message-ID: <1476413995-20361-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> References: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131208876786024396;(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)(1110001)(1109001)(339900001)(189002)(199003)(68736007)(50466002)(76176999)(77096005)(8936002)(36756003)(7416002)(2950100002)(2201001)(6666003)(626004)(50986999)(47776003)(105606002)(48376002)(5660300001)(11100500001)(5003940100001)(4326007)(92566002)(86362001)(575784001)(229853001)(50226002)(356003)(2906002)(7846002)(81156014)(33646002)(19580405001)(8666005)(305945005)(19580395003)(106466001)(5001770100001)(85426001)(97736004)(586003)(87936001)(2171001)(8676002)(189998001)(81166006)(104016004)(7059030)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB327;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD035;1:yNgLqDHZRl0QS8fDUE3c/LxUEmXqMV8SaLgOnS7j5GuLJkXgRGql5AXE5113lior+sk0fbK+U1L3VRjefD6pgo4mbNx9TQ1pOWV8T9mjaAJHOFaI74N7IAT77FsKthkk+Sic0BIerpvqYza93tJrpNXfcvRa4XRyf+fGRqLouDGM9Wzz2ivqV9gJAWbUuc8rHYGRh6YJ3bGTcwuZ3j40FSgarNB8NOk0nAwEhXivXffao4QLsIecLcj4sZs0OmKPY3RoM3QJuzKhRpmoBeW9/dnZAMNuaAdQBSKksdvDBjeEOKhGSDwAWIUz7FkaV5ONI/dPRIAUJTcRwztoMUw6Q6I5PjNd+0c2TEoZRHhpLUPiIcz4hrmnjUXMFitYVkmtzPaZyMmhsk/SKXj7UXUGxZYP62RRyl4uftTWDVqL9b16ENB0bL9B+uxj91ORLbtEUyjDBPgpfLrwqAAxRKqOx161lwj3Gxs6U48MCrhvshQAXDP6loSvDB89I/bwbSX0WmpXRhWmEo5PnLTjHM0D2AGTink6BDS9a0uyg10GPTt9LqjwiTzSEThnHgWrOSxwouwIRL7nS0bDnF4HmUXc52hP6s2qW6PQCWO7xdmY5/JtWnLzaw9cv7wNaVo7pDhnxnvawXKZY+8uoI7DrV4wgCHhib5/dSO+RXyQDPlh2btAaWQNgYy8s7YIutX2Vpkniyd+aF8aje+bWgHNSO1KX/Z9gBqsfYuPS3fSRcF1WrC8URtGgSiuyfe7zjzwf3gr MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 90cff5bb-ae5a-49ab-7fcc-08d3f3de5eac X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB327;2:/bMe97m3njraD8G0EowTVQDWAmtVaObViPMuWwUR+HfIxfOIk8HXSvVefDr1dxlkowQ/OwTSTuuAeFJMwarY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cVxF2qIqsb/yTwToJbV/ev+LtTkuWuYdhg7c02lZ2LGXnHQNm+BAP2FlcAXOmWS3xTIxvzP0Ykqfs4ycLYH+9YSr4rzv2V1bTlSe6nw2FV0MQ=;4:2z8t0U5U4kkCwXFIqtbnVaCgUkfKi3tGr1PsyfQxiS5uLhqFg5/WFR2EFoiCE5DvjpZtgBrGLr098Y9aYcNbrxGKdxsZprZL4vXm015vldBz9gXdj5BrBV1eQI/ufc1rWE+pP5kOUBod5lH/pKSH0PkLk7wl+Ny4Ga2qlMSqkly9YUFKQjo3Z2njMYSwDHMXRAQUiPOPEyqq0ulGLYNXQg/SJ1cDchscARimHq7SH6Wrh02zsAp5tcRDhSkPeYwqYUBkKCbNAJV4eD7hg9iT2+P2CEM2/JVoUz/M+FiIkw5/tQyJ0+cLdlS8X6WAtvXu2Ly2LdKxjeg7elw/dHtA1dUPv0HTBILsuHmeCNCzh/N0iIa+9KHIu9GI6c3tlcZGcGn8iKd1u8Ydl6JTkLZRmf+sShlzXtRcWKqxaG4DO/r8/qFY3/1jGwh8j42LW09LkinForflU+Wg4OgJ7AAExaO6JEvxlhQzcM1yHWls16jVIiVq0E1DntFm/9bJvwx+DqMRa2LwaEvl76sA5zxP0HExlKQ5hdPH5gDhR2mp3yI= 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)(13015025)(13024025)(13017025)(13023025)(13018025)(5005006)(3002001)(10201501046)(6055026);SRVR:BLUPR03MB327;BCL:0;PCL:0;RULEID:(400006);SRVR:BLUPR03MB327; X-Forefront-PRVS: 0095BCF226 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB327;23:zSBkxr5g6k2xlNvWvJIS6R7lnE2OKLgx29Qgv6V6C1?= =?us-ascii?Q?fRXOLDjvh7KCb6LxqfFlZ9Kxrrep9X3ou85UrttI0NVSy/44W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kvVKa1OhmuOjtiqNaDFHv3ULpwoaVGpZaNpdAhRwQrVkXPJy0d9uBvQEzW1X7NTf0EG8XyNcOdh9Jpajt9+UcpbuYPhRF9OJX/Lvt9U54BMCR1F8sze5hw9lSk3RWuXs7WUr5B8orChTa17fI1/uccRW6D/eIiWDaD91SJSZuT3kN1XTbOaledkkP9a8YeetqIzIM8SX9PuSbCA6Uud/ehlMChITyS43c4UYMTY8a0woBIWdqy8+6CMV7aNcsBWj5xC4ruQTBRIxY1PHhBOMUbo/03k6DwcuKzaTqw2m+NcVBgAsUg3C1qD0FVYY8SA8s06w5ow== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 03:01:18.3528 (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: BLUPR03MB327 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1837 Lines: 70 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 4fa5601..49c6f61 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"; @@ -204,12 +192,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 { @@ -467,11 +461,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 >; }; -- 2.7.4