Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbcKNBwN (ORCPT ); Sun, 13 Nov 2016 20:52:13 -0500 Received: from mail-sn1nam02on0065.outbound.protection.outlook.com ([104.47.36.65]:2320 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752458AbcKNBwK (ORCPT ); Sun, 13 Nov 2016 20:52:10 -0500 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; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1438;Count:10 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , Peter Chen 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/tHZxx0g2NZmRvQF5YhTnwaJR23Bl1fcT2137yESmvAG7WJAzIuItUXx77myGhgzerKrjOFzXMefDGdWYmcXFAqTTvVRFpszsCL6xCZ/+namsjrEi2eE8TFLbMLaw8/PuyXh+55yloIt42Be9o9pi8BnswTLN+Y+ZmZRpz0h3qA7PkkfxCS/K0qMUjrw9Y1Tyg0GvSyxaEfuhW/uf/DCZenXrAu8uJABreIziulZSX+2jLDK7IIaOCXyQsIRjW4RrgeefqbY46tn2ib+QpgQmqf5TYIaYKbPfz72s0we3k3gysm90e1fW2xy4Q99uCoW/qhUKZuSX+vKH8akTFLq63UAf MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2480;2:lCRKKbuLqJs0foK4vyAknv5lhhhbA7ppB73mW5JHKg3RiAOSkK325BfRcadXXhK/zwaKDSQTDZPTwBc1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ROnlSm8exsgLyOMm2OtoU/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/m9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ticOutput: 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 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 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 >; }; -- 2.7.4