Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513AbdFMCBP (ORCPT ); Mon, 12 Jun 2017 22:01:15 -0400 Received: from mail-by2nam03on0043.outbound.protection.outlook.com ([104.47.42.43]:51760 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753270AbdFMCBJ (ORCPT ); Mon, 12 Jun 2017 22:01:09 -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; From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v15 7/7] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Tue, 13 Jun 2017 09:59:26 +0800 Message-ID: <1497319166-17287-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> References: <1497319166-17287-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131417928624720989;(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)(336005)(39450400003)(39410400002)(39860400002)(39400400002)(39380400002)(39850400002)(39840400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(8936002)(85426001)(36756003)(38730400002)(50466002)(2171002)(48376002)(53936002)(39060400002)(356003)(305945005)(2950100002)(6666003)(2201001)(47776003)(4326008)(54906002)(50226002)(86362001)(81166006)(7416002)(8676002)(7406005)(2906002)(8656002)(189998001)(5003940100001)(33646002)(498600001)(105606002)(77096006)(106466001)(104016004)(50986999)(76176999)(5660300001)(575784001)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0301MB0903;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC004;1:qBDsbs8BMnUgCPPbAWdZg4aMyTzJ4WFWL4RMTeuLBGkN1xFQa4TyulGcnyiPRidzD6IF9oFbQdhiP9nUnZUnQXNvH1PSHkQLzhd4ElcG4jQWC/iWgOl+daO3tib3u4W52q07UBx/4knXBgqLdCHaZbvKC4hdTTt3EM0ayeE8JXsFOCfrWsUNW07KW7Ko9wzNtE2Fcg1OyNnEqCmCRMcWJRHxPEc1Bt4auK4PGY4KejZJPoXJTgM0WNEFhuiyvFfxlXBtnKXg1RuzDcCsotSL7uRKeLCxxdcJPyFy8+woZ7TewxlRs18ji/zgROGh+eXNLGWiJM4SvedWJnG7A+s9W4NheGHpWZZ8SKNx9fi5EDPA6en3jsfO7sMIMUTeKX5DvzKkp1uFvwrgwA5AsVZ3OYysb/v9sXKztIRrPv5/NCMc94NekerfCfYlMmxK8lqt9Xs2eQ91NPODN9we3zsPLOXbercskpDOor85dwCPVB4WEFHmJtK964qSRwVPF1K4zmaFcHoe9b9cBFRQGrtvTq/LXWD+zjHbZqat+RNWj73/6xj/gLPFr/wbgViya8ajMpF8Z9z0MEae3dvPA/e2rUpn9jCKBw0hHrpq5iEwynHqHIKcjI/QlDEAXrwHLgIsvmPU4zMyFcl0Tdm2iz41uvmtg6XEeXxLuxogMyRcumJG9IAxhgGeWM+wwRfucAS9otJFclwUwyH/uVCjb6krwTZGNehhQV4BUgaYmPJzELw= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0301MB0903: X-MS-Office365-Filtering-Correlation-Id: 3b50009b-9628-4071-4c5d-08d4b2000b42 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BY1PR0301MB0903; X-Microsoft-Exchange-Diag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5rEe4p5UCjudoWhC2+lofGokIPlci56OyZdTdSFWfTQ9hcYcYpsSHR6sozcuRb0XEF54TLM5zG+y4W8SE1tSlHUqyaKTLz2OgHVG7b3p2HPM1oIUSnQ+UO2M4gLS/SnegRVEOYOmtdh64APE+n+DcgcK5hVEVRu0s3yrzafzdOolrVOypNQ+85/e0ECKTDlxTm X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123565025)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR0301MB0903;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR0301MB0903; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0301MB0903;4:h+ZPjUgaWpqrRcUkG+PxAY6JUlOn8QiqW0sLM4m/?= =?us-ascii?Q?RqcCinVR0cuo+OQ98sSnKCFLaWtMEcOsJ6SxUk43iGfQHAuI8DXV1UNmqw8n?= =?us-ascii?Q?ja4EtifQ2dUp2TMLSpB4u3eN5+3Focn0KHQ8V18a9rDNnT2GnM4gIWOF+QC+?= =?us-ascii?Q?GvmC3qyb5QfeqJGkmXjuyY8Y6CgZ2dc4rQ2PrmCU2Ou5xNTRBHY+WO4Ql/Fg?= =?us-ascii?Q?dJxZP3wHbwEZc//rEup3H/Uba0UYLQUuPxcmzyn6FWCGO03WKZHnH711P7L9?= =?us-ascii?Q?gIeSsbR0T13EdwGiCmsDDjfEJUNz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PA4fbDUlNTmvpfK2i1Z/D4Kg2+DjIaamEtEomR3xghQTBmD5l/rLGVmq?= =?us-ascii?Q?jLPStConx5OvW1YYOf2CQj1VhMMMIQmJBkqqec5u?= X-Forefront-PRVS: 0337AFFE9A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0301MB0903;23:NGvIpRJuP/Np3KEmfLc+95tgp8oaa7ZolmkDwDm?= =?us-ascii?Q?j5qUE7ciWrS5uZXjZLJqRFyChr4drCOZFCRpqCAyqXgtvDiBs0VUPg+NblmH?= =?us-ascii?Q?PuPbBCHgiK6Q3GX+uXtv0BbaaxrJkPtLjsOdP8RkIQl1eEJ51+gMEJ2LvpiB?= =?us-ascii?Q?jgE81YXo1FSbv3JNXKwgCGshMyErnNGPD3lrTWyVDWu1H0ra47iFuqj3i/B1?= =?us-ascii?Q?LewwyLz/p/UF2uuRllAZBIQGPshUmt6SSmSOLiks5f+bDhxU5Zg2SqWoEqhW?= =?us-ascii?Q?0jIw79nJ7ZiG6sfbrS2XAU18foqPoHEfOtiutM4qb4A1aG2LU2fQG1d2ZqL3?= =?us-ascii?Q?ynYbYI01mMQlcauH7osHCH8yVkB4ZqZtsrO4mW6f6yEu4LiwZQEkZ4NCns0i?= =?us-ascii?Q?ZvLIosGer94wvi9U2n4sN1ih072AW+AyAuneqkslFQyZjapDKVXryrKWhZoW?= =?us-ascii?Q?xBzM2xBut3+Sf0jliCyy+RKkZEYcdv4UX8UAgQ2seSDfswoDWP8k9UxnbWuh?= =?us-ascii?Q?CbNDXrSGesweH/MgKpSOC/MGzaqxks/1WOpMnr4t3VBpggCd3pKRRUN9u1uV?= =?us-ascii?Q?Kn08NwUAiThkyzSHQ9Ue7eTfvztkJssjDMsIsqg7nmmhBXG8oEtzjWxcG2Io?= =?us-ascii?Q?QFB+Nj4TbNVMI4e+5D67G3xc5P7lT0yK9VKKos9n5xDKNNwfhGp2J64Ml/vK?= =?us-ascii?Q?xdY6bOBixOKhin3KYulWPFffdii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9pzI3koj0Y9E22kWvmyX9WH4YuooKtP9Zgw7lhWlPYtnYpZI3yLV23XEdu1oi4xBd8XahsTIaBYrshy8WCAwq1T2ivk5Lkko5zKQBYMMU1mfk0ZnsA77NLvg0RZ52qpIOWzzZlwsWrRC3JOrGZqI3GBKv8ngSZeUIurLAKwQD9qe179J0KJltgGf8tfP36d4uGB3yOIC0YPBIjyWmpVxWI+eKybQV2FnKIUcYp3L4cixlVdQWog== X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB0903;5:tsNL4+AUDO0Sd1HDHquUTlo85869ZsPSToVF1H2pw4Dgu9kSWUWEVHUuGFA4Twy7maS30eS9Jly1bk1+dwdLqvy7orsAzOT5zvL7JMVxoq2GO4ObwLO2ay3sZNYf/ghFdBxmLOGZgHrhwBH2z7JgOGuaAUT7TJ2/rXKfo9HtdqunhGF7Ufoey2HMoJj5PCXpIeiE+8ZLpcp8kVbXF1zLwJTyWwtSMDnepk5mqSc67018CQHMIExJmBYjRbF5iqQjWGy/Bfls6eMpfoFsMyOky73qWYoeloJKren/d0w6nwGG5S/QY/saS/NA4TwoXvl34JG9NgqvLPPX/7zhLObs3UiQFAWVKf3W7Ndq1fc05QXU9bdsHerQDISYiPGNZmWAf4bx4RAvioEmqtD/TFJLVPDWytA7Eq2ydjwWJcV/wwxyejGbyIK83wG00KnaijSYH1wtLMVTEB1gorNa08prIN0S79OdsePteyyYmIufNdavyCAG8uMV5QDRykJ1yivQbkPE3K7ouyrlKyo2F0fbsA==;24:a0c7RSeiADA+ThIV8yFS2o8/AbEg9Ui19zyIzyctFGaB/VvJytrQy+sR4qp6wa3Mhs52PiHe/QYRcyKni1GSgB0RLi5n1tc3+RZop5IQ3YE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB0903;7:fYWywEuHDU7a6b3AC0ClB8oDvOQ6ObGbUyANFZU6rpcreEEOILxb6/6eaC1BDC9VtOCGMjAFq7oyJQqruFjctyc+FFGF88/KGDwaxVoW8muaU2pD0hnkAUeHe2StJZqIORvit66XMzu5zToEHIdRtYlcfj3W0svWyVTgiL7RCaprNn/FbMo+Ux4DefL+gD5MAoAvmoni2VQ3clC2IpJw0TCoMNlWKIqXH/fqF7ht/IKzjcenPBAOB4+kEQr4pfBeNi3FUshW9rE8F+Plh/Dvb5q1Ekqbpg99442I3npxoVMGAOkLOFWmheoZ2L7zSbjCr3gSVH0hmfLaznHm/is4gw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 02:01:02.1601 (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: BY1PR0301MB0903 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 fd2220a..24fe093 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 { @@ -465,11 +459,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