From patchwork Tue Sep 20 03:36:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9340989 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 9CB89601C2 for ; Tue, 20 Sep 2016 03:44:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89E03291C2 for ; Tue, 20 Sep 2016 03:44:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C87A2957C; Tue, 20 Sep 2016 03:44:32 +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 ED7BE291C2 for ; Tue, 20 Sep 2016 03:44:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmBxV-0002i8-QP; Tue, 20 Sep 2016 03:43:01 +0000 Received: from mail-cys01nam02on0077.outbound.protection.outlook.com ([104.47.37.77] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmBt2-0006tM-54 for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2016 03:39:00 +0000 Received: from BN6PR03CA0032.namprd03.prod.outlook.com (10.175.124.18) by CY4PR03MB2437.namprd03.prod.outlook.com (10.168.163.139) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.629.8; Tue, 20 Sep 2016 03:38:02 +0000 Received: from BY2FFO11OLC012.protection.gbl (2a01:111:f400:7c0c::127) by BN6PR03CA0032.outlook.office365.com (2603:10b6:404:10c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.609.9 via Frontend Transport; Tue, 20 Sep 2016 03:38:02 +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 BY2FFO11OLC012.mail.protection.outlook.com (10.1.15.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Tue, 20 Sep 2016 03:38:01 +0000 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8K3antp006721; Mon, 19 Sep 2016 20:37:53 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v7 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Tue, 20 Sep 2016 11:36:47 +0800 Message-ID: <1474342607-27512-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> References: <1474342607-27512-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131188162823149855; (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)(189002)(199003)(2906002)(19580405001)(4326007)(36756003)(189998001)(47776003)(11100500001)(19580395003)(105606002)(2171001)(229853001)(86362001)(81156014)(8676002)(575784001)(87936001)(8936002)(85426001)(81166006)(2201001)(106466001)(7416002)(5003940100001)(7846002)(68736007)(356003)(305945005)(8666005)(586003)(104016004)(33646002)(48376002)(92566002)(50466002)(626004)(97736004)(50226002)(77096005)(76176999)(2950100001)(50986999)(5001770100001)(5660300001)(7059030)(32563001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2437; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC012; 1:R/fr9dFOCmsvwBsqH6aEIu9szaJERTTKpQJpwl7/7bcvTTDT5/daXYt5W+PQP0KBrQd/pZ6p8jFoeZ0uCbJPnHxlOX9uFHliMmdgwRwwCrs0ZH1qq8SapxRhAEtRtKtObrcu1UHv7EJRSpTbmHK6v2btVT2V83yJEJvUUR5gFLlx5u34oHWw5CNGu6xLWwq3ocj6Ob7UpGIUZrchlQNpOs3yXW2siUjpJiiO1Gq9CxtSy5rsmXIa6fjh4UeFT5UEh6NwZc4ufzQL8kCMRYBGexxZjSLmFSzGol+yyrGWaR92a7wfP38kVbFQMhW4bBqJAGnPaAqmazxQK0pcp80FdTis72zp3mKuk8qhd64IIooENghLfJZtANPRqDCdwzRu/BIYgQZs/Gfo2gLHJirxYf1Y8wo4a36XaW2o0JPz6CfwwxM9lsmRItbJegnh/85YOs/W1qtO5X2M5+CjfGrdmyBWU4FKcQgwGVCzgG3TvTXlVKd/G46L4Q6UfrTmHkwJGTrGCG1caXd4vr4Id4I2jr4/kTMWiMqZ3n3OhWn6OPDodGE24Z3eJCt9eOvVyiAywMFJQBL4T0RDTiR++whi67AHcoplTWUDmGdpjVDkdEx2ZSDqp4nUee/fRoBNVE+iEnLCQOMgDVI1FgUBgxfmu6NBT6og3IeMUG45TK6b+QNpA/CrVysaw5lrap65OfGChjpaKk3Nct6T1hrtnZlKCKSCWO/GpuxQYqPqeTJ3u0V8DNXgBv1gWzv9a0f7A2MX MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: b8abe327-b1a7-4c4b-ecda-08d3e1078630 X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2437; 2:9U1xe0LTPIvuQb6yYyf5m5qaqaQp3WyS/jcnZ7cHsW2nwxNb6KvtiQoGgcfdFq2vR1rlVhqnMBs5X2DC/SiWWVJFumDlD6vqQIR4WsdtvL4nrFR/LGwfqvkTI/zpdIOah9Iao8oESi4KzWni67jPB7RlW85rndk2zqtLb0238ftsqsspH/sc0FsoFh+xDIO0; 3:cOSrV+AdtWBud9h0khjYEQ4VIuhDMX+0EyyrpjSxo3QA1PklABrkJeQ7eyr4FKAZGdmmp0RwHl3rEHjxu6WzN/rCETg/IV9k4Y/r65cuOKloBLmWIofc5aJoCdr4yvCYA8FpUSCWOTD6IbnqPjBmfTtRz0NZv8wpXaeLVit3MapriItJFf+Dsk3RolzgJr4GIqIis+NiH6YHJpkuvoYhtjzwsK0pjlr8X6v8MlanZZw= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2437; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2437; 25:8ZJxAmnjW0pUnufsRpaNccJa/5ZjV2c0cmtdUsFq/Or06qK8hDnQttgmVLWSdTg/j/rBMOkztNjHKlxp88urtRsV7ZKOPEy7hFPMhrVLPfAB8F3w7rGohRy0TS5oMT8GEkQ0jqAWZ5xQYBiLHzTwg2j8Eha3iMq0KjRiMTE6MluvDVeqybvc3DT6XsaQTWvPVnkH6p+930fMc+z6mcQEcOmPiVOBb7B9jsIdpNGpuFJwnm/ZPF5yTHu8TGfKUeBjYRs4/TPgMvC/TX47cT8eDSCcjdUDWswcn2gVIC4MlVPYW+q0LxSMwgqOQSoaFyXxM97t/vnkHcVPpdVPcX6867HUVN3bur1sSHh3x6SXlw87On11wFfBnPIYhw5CU0vdKKrZad7hB/pdvYYnz6lio7EiuDcjiBcpHF3QSOpWBzd28JUT9zEzSY37x5TeyshEhsoLnpOE8y6+lFKwc6YZXGEEkdy7Fk+jN1ELS4rEvYAyOr2PGvciUcJKfYtK09+7IHflUYu+3tMAYdxOiq8HCsNyqm/LPAdDCqKzX2lJmkbnJG0npswrCVUWy6NwHcHNabQr7DcoU1nwtDgN7vNGbnaDVQ1ii0DPaSf31VzTaIPExiAHg0SJzOUIOtfPh075KutWwHBN2HFIVIScP4ihz3McYucP95rn0jXanGD7wQhVpHp239QHPiYOfhBP4j3Kz0hy5jrzcEdQlHyNFty/jg==; 31:UsP4mUSbYLXQGjlavBEKLrd8AXfHpVxnactPj2f5CXtzNHJfkdkZppb6B/DC0U/eYTagppsWJGl9rYNsOURLK1mY6+ok8l1ughq17oz+R93mR8njvBnT248eQKggOHb6PW+Z0b8tdIEsQHmJqpUPdyN4CAZbVqyodmlrAt5liHAN8X5KxME8UZOL7KaHuHcIKH+xL4106DHVrslaO4D95XX3oFXdx6gpjvUhsFvSeG8= 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)(13018025)(13017025)(13015025)(13023025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CY4PR03MB2437; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2437; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2437; 4:pKLGopPyefqWz0LdoDh2RCwPV2sZtZg4IemtIxZHebsnQHKYFEadTb56lz4u0acjQ6HgoBsAb6za8EVoVtt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mJ2gV0ubZX9ez1Ro9c1fu2Wu9?= =?us-ascii?Q?eg2N1MiufSLy00q9Ir060GerNO4VpE67VnBdJu03DxVA6LubCZHq5ew6MAfZ?= =?us-ascii?Q?niRr/zUlJRnzApgcbxAcGqPSjG8Nz8Tzqq0nynkssWUVcpN4RIciDQaLiQhf?= =?us-ascii?Q?uBGnPwtWUCbuB5EJao/gj74LQgAZYIgQBYaU4rmC66ACjinBEp/RnZKIldMD?= =?us-ascii?Q?50D66idciyjSuhApLQre8Hf6nCcF4FlRxle8qzlc/3HiZ8MOhuzDVuJm/PHn?= =?us-ascii?Q?jYaMF9LdVmIg1XYbOr4KB2/VwAYUAb9A1F4xQZWqV22eLsRkXqZoxqpfk/GW?= =?us-ascii?Q?GKfzirqAZhtJO6ZePActljeXBca4lrZulHY4rQSaKn4gsNu1DsErbVDTJ5EC?= =?us-ascii?Q?Ol5bIhs2Uq5lR6OU843aqRkOmBibmWAF+cMlu4ih4RtonBpklcdyD2hQiDS6?= =?us-ascii?Q?whXPuX8Ccy22A+CafffIA4GW1d8XRHZUNBtRjXLT/wFFSOi32vCueqRndtaT?= =?us-ascii?Q?aiSGc2UewO6E0MmdsUTncFOB0DQbfC3Us1yxtRwBg9QINO/B+VYi0N4nqikF?= =?us-ascii?Q?43gbJKgo2DW/YxyZZPCPr9RaxwVDVcZKBnevmRWHZSfutFsKRDGxqz1x8IUz?= =?us-ascii?Q?5pLJPN5uXa+a9vb+/KQ/dnF6Jp9LnMlHI3oGzytvc5GC1Tq7FN/IFh4R0xqT?= =?us-ascii?Q?52Oako7+/lkgf7E0D1469R4CIfDtHGknFN85K8XzneZLiyElW9kAl5MqLSos?= =?us-ascii?Q?HjXQaUpcGfdxFfacKiDBluPL3i0cWK+265CkC9HbiEDGx+OJmEAL8PP+URQD?= =?us-ascii?Q?EwDmvG3oXfxknBAqb31EaEmFtYukR1DX3hK4RZfFLsYOJqjbUi4/L0nUhk4N?= =?us-ascii?B?QT09?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2437; 6:qkQ5zQByFF+kG837FF0eCTr+JCtyThMvLBt/WLdkxfjP7J9vQ9h+p699T2pveUt9Honptso7taaas9ZbxY35zXL4WgUU+QtNzGB1Wa4EeFYuPzueJQS2nDzcAvNX4779qQLg/Tw7WEuicota/N9UDWBO1WnepnyON2jWDcmJklKLciT4mWVC7AxYFxdMptjSkc+H7ikJKYqNZHsodpMP+y2UXXT6shSHXTufWxibtF4MpV7JWN2X2MX0XHJDgKVAYIQZQc+3f897bRcS4QKBPIUhomXaqD+LdyvcgSYyRjg=; 5:6oKg2XLDwfezCdQQMnmd+m4cvJ+MgOlRq7Y/6t4jFD130g9Bg2/QR3rQapUHHlV1X6p3NK/y0290ownctgATRROk/j3yOEHkWgbrf8XPpt/bZWA1kvmx6IIAJCyUwouSVB2+ZmXDzXyPGRx72iH7JB4cQwZ86HX5D62RYtDxYFg=; 24:AeugWJiLaI0XACDWUjQzWY73bF6YXPWXjIw8NWwoPHRmqZMLixUftIQJTlUHQxxUgjgfV8jB3MXFlwT6wL9+7/jJcQhCjNHYit8DnneQPSE=; 7:nHApEsWH9HwN+pztZ2Zn5CgVvm9MR1HDID/kZj0VqoCIi4rJ371A6SMDIB3DvRbpPmhuTheaJ+1OszRp1xh/3I5f0Z8dYHj/767adLFo+sxzqtURmaWfG9b6zopmrAwDIIhdiQRiS07ZbyEH5kfHix0eR4rxRW96pJ9oiYcuyawkkHd9LBHKacv5iACbbP81HKrwfeVyWVpcrLoO4EeFrOHoBXIehNSZiH0v5ugwwCKTIjBLNT5a48l7iMwlXfvFoK2efVMeqqP+H6TmSaI19CeXQksJeIeKuxMWG6elv1Uh2GSwSXpy3zwwMaT6DAEu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2016 03:38:01.6441 (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: CY4PR03MB2437 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160919_203824_601230_D4532010 X-CRM114-Status: GOOD ( 13.69 ) 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, linux-kernel@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, Peter Chen , p.zabel@pengutronix.de, festevam@gmail.com, mka@chromium.org, 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: 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 >; };