From patchwork Thu Jan 5 06:01:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9498443 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 392D7606B5 for ; Thu, 5 Jan 2017 06:08:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 280A327FA3 for ; Thu, 5 Jan 2017 06:08:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C80B27FBC; Thu, 5 Jan 2017 06:08:05 +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 88D2427FB6 for ; Thu, 5 Jan 2017 06:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031024AbdAEGEQ (ORCPT ); Thu, 5 Jan 2017 01:04:16 -0500 Received: from mail-co1nam03on0085.outbound.protection.outlook.com ([104.47.40.85]:20288 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030658AbdAEGCm (ORCPT ); Thu, 5 Jan 2017 01:02:42 -0500 Received: from BN3PR0301CA0063.namprd03.prod.outlook.com (10.160.152.159) by DM2PR0301MB0750.namprd03.prod.outlook.com (10.160.97.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Thu, 5 Jan 2017 06:02:29 +0000 Received: from BN1BFFO11FD046.protection.gbl (2a01:111:f400:7c10::1:122) by BN3PR0301CA0063.outlook.office365.com (2a01:111:e400:401e::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7 via Frontend Transport; Thu, 5 Jan 2017 06:02:29 +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 BN1BFFO11FD046.mail.protection.outlook.com (10.58.145.1) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Thu, 5 Jan 2017 06:02:28 +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 v05619tH025211; Wed, 4 Jan 2017 23:02:20 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v11 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Thu, 5 Jan 2017 14:01:59 +0800 Message-ID: <1483596119-27508-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483596119-27508-1-git-send-email-peter.chen@nxp.com> References: <1483596119-27508-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131280697487230847; (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)(336005)(39860400002)(39850400002)(39380400002)(39450400003)(39410400002)(39400400002)(39840400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(47776003)(50226002)(8676002)(48376002)(76176999)(2906002)(33646002)(8656002)(189998001)(36756003)(38730400001)(356003)(106466001)(305945005)(81166006)(77096006)(50986999)(7416002)(68736007)(50466002)(2171001)(5003940100001)(5660300001)(39060400001)(8936002)(5001770100001)(81156014)(85426001)(92566002)(4326007)(54906002)(575784001)(6666003)(97736004)(86362001)(104016004)(2201001)(626004)(105606002)(7406005)(2950100002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0750; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD046; 1:2oN3m2L4x+ssGnUm/2VTR7BlI2qG11JBgKcjm9ar/6qkHSDR6efTIgSat2x76SiGFYKST+hCvCbdfY0Qg3MVkHdjM9xOho8rZyo43Ap8ZOkhIW6zbY3oy2OeRthprvDojIUd1XXeKjvpTU/QM5fyWUQSqD5iBHPTe1rKUNZWQ+RtLDnaF5PRGhbESkXYjue4+0RoIQb5IpuYhSMvA8ED81PrMXV4fYCz5U1FMqTyEnhbT9YrptuT+nEKQI/0nYXudJoZMuxrA5L6kCT9HZLWspN9pW9jllFLDqlVPjhc6NwVsUPFoZM5VO8HZLb3AafI8vHBnaGTY11dlQLgkMpfTB1taoQo9y7MgKnQjG42vdOLJRpdrgExV2GlQlcKGH7kBp4EA8ElSks27pp1EQ67sDKD7ib4jEEW+aMpqEt5dZr8BVelprqFCa3YLSO1zymatlc6FECWVKcpp2QwQLuwtOmmrtOaWm151pecdQD7hjvWBi+xuBRdOUspVSnvffR51TV+OaLrCCQGYDqpuoaxEcuuuQ45aWfEiSgxEgm7VjJSGodYMmYJ2HAePLqJSVJ+RNdHkwMun1ECa8Z+NufWo4FpEsMxAWJqipnU3e01G+oMpPW6T7cDrArPTrDLEpHPpmwFF8+TqlhbR6wtygN2l0zMgQHGvu8vZliuUaGMAXkguDqVmtL3EGZpFimbxTt6ONQ4+0l+F+noVBl19U7PgMDSrUY66pPlAa6tw876wHxchbwtzBTotk3Nb1hwyZrA MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3ce1874a-0dce-41a7-7cb7-08d435306dfb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0750; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0750; 3:g/Ejzx0YQ3pYpPtQOd58kftC0BLw9DIa2PWcj5Ht/LMwJQ6dFzBicSty9LNIwSoUPaSb7Sr3l6x3d3aW4fbznRN0a2ORhT8DFmDHG4V7u8GWkoX2p5AM3jJL7JuCbbaotebkSTdBLhliG4WckTcFgk7k5CMaCcPdCwb0wsP//f5PdMfEKztp4s1V0fXok1ttbAnogjZzwynAtjHrH11H2QayCbkNdJXrj3Ob2wR/ppjSlnub4meFruskdZuaZIsXUF9o915mxPqsdIH8ml8gQvzyl/qOw7dT8sNBihRBH+/Jdtn5OBYPU7nTAjZqBiFvTtLvQrigH9ljRs7erWOBE4GiPmss/6JqQI3ZQul5dfJX60Xx9uvYLU5HMM8IvaR0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0750; 25:Q6fHbrECC4QR1Bsdkra9G5Ef/j1IXtl4czjto/NARGaPPu6bqFlVxoT+DUlX9gKmypkWKxaYS7lR+ewE0vz90VF+dKl0XLOHAgt2g1QDSd2kLOsU5VlQalA+U4COH3FXt8xLuxbwcIkDN41UOMKm5Qm8auWQV0xLc7sw7x6oPyvFQIFCHBi/sfnlbX6pz59vOAMDQwQnO2pKZ1B52yWGGKgGaxQUVfi/D7Gs5tTUTuAdf8JP4Vhumyv0QV5iWrFja4zC2VPM5hVaQ5ntWAkB1Udq3wHccJyI4QswHcsYKQkLv8C1XI9HRwoNIcvgAIFH9GMARTi9aZhh+Ls8dsMWO+5QHihjmvLTSZxcMT2nK1U6x7QFZXAFvx2/Td213nf6AJTZabXi7qhCdEhInRvhMMbnlJRdVmcmExHHs+7MMNCbdnn6njN8VkFFfbnJgF+bV0leTfXSVJSay1OXnBMEf3m2DXWo9H92Of62Rc3Y43WRXHm/Nwrb5KYUt88TElw/SYH1felVhPAk7z5Td7ZVrTz5s8cb93hJ7JF1fPiLXe0bGlt54dL7aaxln8HXXH8H91TQlcf7mRlMyPP3d+KP6cf1oGffy01xgapRhoqHuAW79vaspxsQv/dYLVXWn6fpcy9cMnbdsss9fxWHlT35fal4xJbYk6fSnW2i6GKsO8jI7w58JW7GUOmApYW4c738yGkD7uSnYjnIv2Y61SFWf+Nk0IaXYAyQsL3VNTTurLn9JaOHooOY/ud7U1x5Ytei X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0750; 31:2LxIKKHr9PjOr1RvkguIWAcxtqolOoPkDd6W8ZHY7K7+3uM52OWVteuFpmENzgwRPl3X9hI0AsqCV2yypVH8UDB0dlEZlYaM1oCbhASeyt9t2MtxKrpQ6SMlRXLfp5iCAvglQNVx1eD/kju/K/Cl235AtTeDLwB3qCu0oFcYL6f8bB0L9mwFlTKI3U69TQrIXhuB14rOEkVflDc31UcEPLpHCqOmg4HORmycC7EmF13TV1/iKUn6AybASYfE0HhE7zcfIvnZjoTHfd5jGURhBA== 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)(5005006)(8121501046)(13024025)(13023025)(13015025)(13017025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123556025)(20161123559025)(20161123561025)(20161123565025); SRVR:DM2PR0301MB0750; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0750; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0750; 4:SyYouaIOsoduwyjTF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n+X9FhDWHuWO8AX3O7r+F0eqE+ITIvEEMe8liO9dfEx7ra6FD4qJ9HkXZM8TSE5Rt2YoCDKpdaUtxb16xyI1XvfUX85XCSA9MzJvoxwwOKc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0750; 7:liKMIcGs7BZbEb72ScSOlT/jHn+KKpHhkZCuSAm1MCOcFNQVou8cS1AlJiDN9bxrBvXEd6K/WCA/MQxVPq0JlciPGkdTl7+RFwMv32BtNMFjO1P7Q7LkHElxW0WlHA9UlvAqtvpc0ygu4Uc1PKBnqR6S2Q2YYP0NX7thbkKlEZsG+f6OkKv2MW1+Rn5ynzw2j3pVJd3H6TSgeinKMkF1DqQXvUxlQfxF3+u708pjjNc6D/u5Rfdg3w3htRjMcwjzHVFo4YjxWQClnynHUPDdhcjbK8n1GiAr7hI1TDK9iX4kxYj/7X/4CRmzTx8ROEI4qIjMLble+yUkeEKS/bfHjuOJMm+TZu576J9byCfXZoUhkzSTy1mFWQYcUf80nL7sG6avaR8HJFnbRyrmFVwX/JbrIzvUCbFmhhSeQL7FZjGKQOGBKwcEPTRmvKkm4hp87Llqt0U+tIamkcCppBxxVg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2017 06:02:28.0991 (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: DM2PR0301MB0750 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 >; };