Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753100AbcKHCwi (ORCPT ); Mon, 7 Nov 2016 21:52:38 -0500 Received: from mail-bl2nam02on0071.outbound.protection.outlook.com ([104.47.38.71]:59648 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752829AbcKHCw0 (ORCPT ); Mon, 7 Nov 2016 21:52:26 -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:1439;Count:10 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , Peter Chen Subject: [PATCH v9 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Tue, 8 Nov 2016 10:51:12 +0800 Message-ID: <1478573472-29516-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> References: <1478573472-29516-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131230471433641857;(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)(199003)(189002)(7416002)(76176999)(50986999)(2906002)(229853001)(105606002)(106466001)(47776003)(5660300001)(2201001)(7846002)(575784001)(77096005)(33646002)(2950100002)(305945005)(36756003)(92566002)(81166006)(85426001)(2171001)(50226002)(81156014)(5001770100001)(626004)(8666005)(356003)(104016004)(48376002)(586003)(4326007)(8676002)(86362001)(8936002)(97736004)(5003940100001)(50466002)(7406005)(87936001)(68736007)(189998001)(7059030)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR03MB2743;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD034;1:AJLL0kzB8Y0Appp+DyHBfajjlJxSixhHx6OjfzOIKCuLfsYhkrlxLI3SU+oOFQjP8FMqZFSrpmiOyOTZhbs38SO+B96bn3mIXJP1Po4UkV0MXxi1g8tZmT6S9o5q3tCokMfkVn22M7anCB72xuP4jQeIyUjH6gDKM5iNIbxzwC5uu9ZYAguWUXc8VdCTufRY7SappT5nOlWQw9hSJKy9hVHh8XdOuQyoupG8WEJ9+rlVE9Vf7QjSfpSd/CIvip2uyfG3UZQCxr8b/tJNIhV5GSwCFtjUx8r+4U8QIeaEGeGQlw8YdREYlKmRiSYqcmxS5uiyccspALZ9IskiJC8I/dPu4DtZO/S52GZOmytz3QTkztMpHRqPzXQfRu2m6sK6jivLrMwvM1QU7kzwlYp7/272f3cQuc7AO1nKpQOfBfupoR5i3ALSBGk5qD625zoizwwLymZhc7xmTJjJjY1XF2uNB7ikkGmkgS5mcXrkGkFetvvS84+cdbYKMi6MoFjTaP6Ws0m0rlfQqOQHWfrW+Zagiq6MJzC2fvJ1wKka1tCYorv0I1cXEZNBFsXygp/3R28pxpGX+/LVVvhYMjxwymCo0cTZfkqbiDPUQ6i8Jxzz+pr3cex5B3fJpU7o7YhFi8bsttXypzwbHuiXCb3wGVQSuea5Wq9ELgUyxWgZPVmx55bPVq54XWrityi2dV+SvsnVcWyoJIW/2v0K8Y81E5+hFJFpQG8MchKrZT/Uy8pZj3fI7b0d+cxF7+gwSRqp MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 948b76ff-13e8-4f95-fe20-08d4078243f6 X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2743;2:vRC4kwU+uM4hXo91ghdRZ71K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u69h5T00qrWZUbyjqAL1eEtd+q9kegV1MOalar6vw6Rnll5UI8RVKFet3+NAMHO7/CMN 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)(13024025)(13017025)(13023025)(8121501046)(13015025)(5005006)(13018025)(10201501046)(3002001)(6055026);SRVR:CY4PR03MB2743;BCL:0;PCL:0;RULEID:(400006);SRVR:CY4PR03MB2743; X-Forefront-PRVS: 01208B1E18 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR03MB2743;23:5OWBiX3UL7q+fYfGhioGxNegTGnDLyp1XDJIuUfoc?= =?us-ascii?Q?T8W5R2oeptilESoqW9iHH9vHuceK8P4LTdIHxYJBtPHyJzJNE5PaiFjVpphf?= =?us-ascii?Q?qBofToytacVSFK+nVqbO5aBbQqn0oy+R+EPL5Go8S3nrlPxLwUct6yGNSIdA?= =?us-ascii?Q?xiedG8m2Z33v3ecMw1PWaT1NjHIjO97KZyoV0mFNuNbcM6holGJEbESsNIun?= =?us-ascii?Q?Ukhq+9NN0zPsYnHNJrvAUT0P3gWkLP9qqL3nmaxo3Hhk3ZXMkOtpvxCJT0HB?= =?us-ascii?Q?JXR3y4ilOrq4bDy8OlFaWUSSx8OPaj3WGWQSMx4G5YzbFx3xiN2fdefX4aQw?= =?us-ascii?Q?xfH+s2hKOk0GWj9HNyluYljwRUT7vWKaPhpysknKwkjoDSviYvSDd1qP/nsm?= =?us-ascii?Q?fn+HUuODpsQRqfLbGzLnXVG2Ir+4A2bl95RCETgBvo73iWx5qIh0ocVsEy2x?= =?us-ascii?Q?aJAodVzJTTROU4A/Y2S+gYhTsUhpiLi83gFI7yBaiVLR7D4xiOzZtBWYM3tx?= =?us-ascii?Q?s3F9VqX4ChrWUk9Ule5s2dcCJFvTYyo+ROtPnqp7cEq53j41s58dxobChno/?= =?us-ascii?Q?yQaUG8Rm+O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BUpcnBS0ofMc/xAYRnkOBPP4IY11xRXIJz1Hu;5:BdoDVXyIGdRyHlHfvj+8vd2EP4M0m46/zjI4FDg4MxzHal8zjaSY74KifEXfHvrdjOXMweLpbi8H0j1r+sjClreVIGV3zwaN7wIuscMEq64Fcji0PZj+XKV9S4gfjag8a3Jes9+6kzOEfVVDaI/fLAJmLjBZgs8yYnNint/KyIbieMdjkMABmF7jnDIyVTWi;24:6Al8QqvqdCGGBZLGmFpCoZ7gDgy14+ITgWSXkMOH2ISMUezNsy5XBWZI4UVsB3b22NxSQ05dbpTQgA2Ai5oYfJwkzZB6tKDz8PdoRimjXFU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2743;7:g44C9Vgk8czR5CGqIQPnXSWmLvQQ20XqyBRAk+Kq7UE70mdVkO9pJB7ouHEn5vwwAON8UBWLZzhz+NvUE/+E+fTbdyzzxZ2slpSJG5EKuv/rXoqMlT2VNZdfBsvBvy6cFEWtOCPAa3G8C1hDOm2fLYcL/ykJq/hcYODNr8KeFUezUiTK/zt0nNuRQjTx4TsVaoWu73NHeKq/C/Mctoo6ph9cO5Vm7uEbU3vS1yEp9N1+tPWCe9IRLL2+BfW47MaEXmyfb2tfhnJnusg53d0laM2bPwpfQedEO5cZ4KEFHS1M2vlPvaOzcI9uvm0saniVCgZ8lbmK7MSBb8pHsp1s3omAOcAwSh1o/CSdHNAw/X4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2016 02:52:23.0521 (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: CY4PR03MB2743 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