From patchwork Mon Nov 14 01:35:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9425279 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 AFA51600CA for ; Mon, 14 Nov 2016 01:41:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0AFC288D7 for ; Mon, 14 Nov 2016 01:41:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 945B5288DB; Mon, 14 Nov 2016 01:41:10 +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 EA06B288D7 for ; Mon, 14 Nov 2016 01:41:09 +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 1c66FC-0006vX-1N; Mon, 14 Nov 2016 01:39:34 +0000 Received: from mail-co1nam03on0043.outbound.protection.outlook.com ([104.47.40.43] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c66D8-0005Jt-Lb for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2016 01:37:29 +0000 Received: from DM5PR03CA0015.namprd03.prod.outlook.com (10.175.104.25) by MWHPR03MB2480.namprd03.prod.outlook.com (10.169.200.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.12; Mon, 14 Nov 2016 01:37:04 +0000 Received: from BY2FFO11FD045.protection.gbl (2a01:111:f400:7c0c::124) by DM5PR03CA0015.outlook.office365.com (2603:10b6:3:118::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10 via Frontend Transport; Mon, 14 Nov 2016 01:37:04 +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 BY2FFO11FD045.mail.protection.outlook.com (10.1.15.177) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.721.5 via Frontend Transport; Mon, 14 Nov 2016 01:37:03 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1438; Count:10 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 uAE1ZnfN007215; Sun, 13 Nov 2016 18:36:55 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v10 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Mon, 14 Nov 2016 09:35:59 +0800 Message-ID: <1479087359-7547-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> References: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131235610243611243; (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)(336003)(339900001)(189002)(199003)(104016004)(2950100002)(586003)(68736007)(2906002)(36756003)(97736004)(189998001)(5003940100001)(8676002)(626004)(5660300001)(2171001)(2201001)(85426001)(50226002)(87936001)(48376002)(7846002)(106466001)(33646002)(8666005)(76176999)(8936002)(105606002)(86362001)(575784001)(5001770100001)(47776003)(305945005)(81156014)(356003)(77096005)(7406005)(81166006)(92566002)(7416002)(4326007)(50466002)(50986999)(7059030)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2480; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD045; 1:Pa3AOvWl2jqPXaScv4FMWl2aAzejG7IE7JFnwR+ee8XaPLUumHS3Fk4AShM8zEoVsvQTRK0xMgYEWxhT1mSmMYwXLPARIktdRMJdzPoq6pqoPcc8w2TNx8MO2TTZcZvqiiz4tNi1R3kS0fSytg1IcGO2v7SUKW9gWZ8Y1NB4aOu0+uHuzYHy4GhX4Msn67nzkiGfq+psFo/OK2CBBzAiK3tdqAOY/6KyLU6NgbWO8FipVqCbzLG6izf9Cg9qQMA/pZmxAb87agf/oqa0DiV3q0lQYZVZ5wzhXxfPTuFf91+uu0DvoEiTPi27XyKNPaux24ZXX50VoWRUipfuPAM6XVvJjwi1wQvPoJVoHSsM+DfdFELc5JcnwnkGfMPlaQt+21z22TLW1Tslp/EVRAgi0lWPg8Fv7+ZIX+giq2Y/tHZxx0g2NZmRvQF5YhTnwaJR23Bl1fcT2137yESmvAG7WJAzIuItUXx77myGhgzer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s37n6gnZ+qykAhbsxRiVyx/8t7I8qhV1OPpCl5jhjGBkMrGmiyTQPI3oMJY+Zgo64sPP3fI+kMR+CzmJP1G+CEsujsz7yQ2l7C+PdDqSghJwTbs34eJUb1HZugvXZUFkOhOM+LuasElU5asP4zljcAydRfZCLU7z1fpZ88Pmb3Nv/Apo6q+iYwBiP8IcxsrScgw== X-MS-Office365-Filtering-Correlation-Id: 9e22b7b4-a736-4f2a-af73-08d40c2ebcd7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:MWHPR03MB2480; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2480; 31:zaEoXfxfZVmYIjSwGnyg7X7GA0z9KAxyRqkDEOlfKyBVNwFWyq/+iEouROnlSm8exsgLyOMm2OtoU/CAR4ec5ERdqIJ6OLK249+EMBkU5dJ7RFRp1gKJy+UlDkS9tWvR0PdPxoDoZcXwo7Q6zL909liPIb8RbLQcWEsE9qxPdiYlAF6lOTw0iV5ygsMDrzpa0hk1438gUyyAM7SYDtcJNIzt2Ano6YEKjiOD+NHznnTPi1+p4Acw+9CWWo+7Addsgn0WZe30CtmcziVbS9bE9g==; 4:zADkqRVZ/fR/1VBZG8RvCQZzaFjXywJ2TjTITbLrqw6PK10pwJzIkwkAfKk+p3u6Xf3+yQ+g0kHtwv/YE4DbHys/FOlbU3ZvEa5P3MdM1y66v+1KXW8/vpGxn7quPkgwihNZj98tYhTwF5Y8cgyyURZ08AxItpPl+jP59/loTUVbgDrSYX1QoEG+a/KVrhuDjRkDZZeWgYW6r/zrFjuCMzmfpDRF84ZubJoIBPjZiLOILAnVQVpkNJ5DWo7rU4/SGVLxSWa3YAvTMEYeNsW1RcZ680GDinUfrYVR1pkCh2FsFTivwe17IBUlD3wmmdFJbUOH3jcYGsX7+YNfDYnnlqkpDz28/vmi4h3r8J09Ae/NrAI7jkW5jT/IjQn7bB1yUAuVNT3HkURUuYq03DdfuGSA0hH4OwAD8UAoEMYTAHO7Gwq6ffoUc48X887kGrP6QgWjatSyWA6EYky2YpfGW0SPmSQXmccLQ3SKsDgVXZkW3UkYBLQDNUENwMFT3QkK3e2kSw7N9krRk5myXkQeLixhGZIsuoG/VWkmtgdmw8g= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13018025)(13015025)(13017025)(13024025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:MWHPR03MB2480; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2480; X-Forefront-PRVS: 0126A32F74 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2480; 23:Vhfh/m9bzQL+j+q+lysuC3ab8V4Zj6hEvqkLmxq5r?= =?us-ascii?Q?syvI/xisQCYLtX8HQsi/HYqkebZS7sOmihzdNJlwrfhnVMM9eYPS8MEmEZt9?= =?us-ascii?Q?fVVOaxl8NiPXfMDGvUo62c2YhtH+k+WGl80iVQCOxp3zGA+MWFh6RMVM5ghZ?= =?us-ascii?Q?GsEMei8Xz+nmo6bJVOYzBIQLwhITpyn9fYNOHNbKDyjL5vMU9knGdUf9CsHA?= =?us-ascii?Q?TVstJ1BLDIlrXLDVTN08RHganfOKSmhOofz0YHnw9s3vcWoFb8GFDt0sz0zP?= =?us-ascii?Q?iaNrcLxxNt0JUsHHDK7B8SWEfXQZgCxms3SSYYCbmAsJRNxLJC02GluR3wwY?= =?us-ascii?Q?oyTzAXB4875/Tjjv1hEps7XvYWDNMN6tJ4nV9rfbJdDwlBtlOFFFyswKnYxm?= =?us-ascii?Q?/AjglltqQ48HJzy3GGPK5mu6fyQcxR6k5GSMp8yvYzVLtYJ9QZxp5cPkHb7N?= =?us-ascii?Q?Z0vBbB1rcfd2fidJ0ZnYkaT78GUT8G2IlSUOL4HMprmvgnSAF3QU+Qgoq6O/?= =?us-ascii?Q?DVnAbNm/8C75rH1CPdAPivCJctLUSuW1yxBAKI/9/yEDLKjfxgFq0l2fIS/E?= =?us-ascii?Q?n+U8qh44aztLxrhlwKdsN4CDWf9WXEKu9vYLSTyqHYNlJQbMQw6TF/FvojMf?= =?us-ascii?Q?s42Lg6hGdK+6ISbFvJORsrwoB1auZYeLa1vsTZVd7Zwllg3nXqPrnyAKrT46?= =?us-ascii?Q?poDkXB24ptuYH54q+1WmfsuPAZT6zwQ6EmthCE46SWphnnG5psj/hW16mr7N?= =?us-ascii?Q?uEXM/vMpx/qH4ZdWarXt7RRbjhbogDylWlAlzQr0XkVSXTR6q5OrOA/rSQkg?= =?us-ascii?Q?1J5FH9MqkmZpwVLhfRvWQToTBiS9fRdZGkdsn9no9tMz/0T6LY3+ouwein3r?= =?us-ascii?Q?sbuvwN1w+5BJWXZLZogGQGeZXtA+fckTZalf3RX7wRF8zwQGif+ihfdEKsw0?= =?us-ascii?Q?SGBEX4hf6IDE3jPLRnqDBE5LsXV24RmBHAALjOXmDnhid3GakPv85BRavrri?= =?us-ascii?Q?/bLZzvBxxJYo4AaT6luRnhiXM8vUQE/SBw2g+/lDZszVnLihQJ1L2QNztnmt?= =?us-ascii?Q?umddYMeUmygMicSYBrDT7vUava1Os3kbtLNUqitLZwUJgmorAau4SgzsaoXH?= =?us-ascii?Q?9SAVFLfPo3H+nnXRoBPcM/UNsREVXd/7UqTyBu4ZvmAnxxWyBUcZWM3u7FeZ?= =?us-ascii?Q?KJLRRiV2YVawDsSO9wzTCGRn3i9Y6Uqwnso?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2480; 6:Kw+tpPV83DURAxZW1TrLJPGvz4vRk5TGSFsQJ/IHpB+mTO11au8/vxCINBUvq93NLis7foemgHzmzjhbD91/fHZhxFygcyQ9HTCp4tcuSbjixADVhJtR0GefblP+FfjqOmOCVXQOy1rAkqvgs1IjAD2+lumCVO3zEv3bVuGGb1/5otEtISluvANuwNJV5/f+VAFfN94r89rK/6JQsKFJa26i+OPLMiOjSe2S4wq0NVhNnSZaSaP73A4omBqNoizm7OB5SjZqZcQVJU0Wc+Siy2JZsvxUVK9sUHSXM4xqPR2ggXYuj5qsNxOM8671rHCR; 5:dD6gxConvrLGOirc66ONL8/6PjWV+M2t0dLsT9vSQLTJe2937PnuK/qKVoJuoYGynDwcTMhzyx5Y4OcEgfiG5WuKAywsPNWnjkhNxj0Vb9Uil6bDg5RNeGj9Wbkq/ER1BjhEx8rdVbUaBPM6+tS7NNupRwyiJDIobnvZjE/ihmuhTLZGGmuZGP+Kas5BhLi7; 24:HoHWz+Cx4wG1OqKSdqN+Re86dUCheNBvHiCwrwz2kwN7saTTAIRLp6CvPZvYZ63Hdil/8ci8hB76ov4ln59/RV+ZvMtR9Jdz7cvzE1TtBaA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2480; 7:gY0jvhocRDAFSm400cgXI/NpQ5QQhisVTv0YYQpPTtOs88ORd8dAz1q38jdsAbSQcC/rB5G+68iSSYVCabmdvDEjn1SV7NdwFDlAiq/d1hd+qAxTWldyIFkPRjdn+FR+KTeFNlaaIvBmvlPPfuga1oEb6RGDxdRxqb1GfCzs0lrnA1cJ4EE0+1FcsVo/BpQJ3HGNpEoXKy0jfHEsLFhP4D3jwd66FhpNgf6wabtDp+eU0Mhw6EZF8lbGPzQOIhswXDjRSV+12alAGmz1vWnbsomWFMKIEp0GMAYIs0Ehgkbf4jVCs/vf4RWOIHlPo8yxJBINeeINYE7BsBx7dju13aV91iNUJrx8v38glYBhnSg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 01:37:03.9867 (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: MWHPR03MB2480 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161113_173726_887006_900AD541 X-CRM114-Status: GOOD ( 12.70 ) 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, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, gary.bisson@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, 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 6de21ff..3277a06 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 { @@ -471,11 +465,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 >; };