From patchwork Mon Aug 15 09:13:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9280665 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 7D631607FD for ; Mon, 15 Aug 2016 09:27:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ADAA28C02 for ; Mon, 15 Aug 2016 09:27:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F62128C04; Mon, 15 Aug 2016 09:27:54 +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 D4CAD28C02 for ; Mon, 15 Aug 2016 09:27:53 +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 1bZEA2-0007kN-R1; Mon, 15 Aug 2016 09:26:22 +0000 Received: from mail-sn1nam01on0048.outbound.protection.outlook.com ([104.47.32.48] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZE7w-00052O-R8 for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2016 09:24:20 +0000 Received: from BY2PR03CA053.namprd03.prod.outlook.com (10.141.249.26) by BN6PR03MB2706.namprd03.prod.outlook.com (10.173.144.13) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15; Mon, 15 Aug 2016 09:23:49 +0000 Received: from BN1AFFO11FD034.protection.gbl (2a01:111:f400:7c10::101) by BY2PR03CA053.outlook.office365.com (2a01:111:e400:2c5d::26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21 via Frontend Transport; Mon, 15 Aug 2016 09:23:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD034.mail.protection.outlook.com (10.58.52.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.567.7 via Frontend Transport; Mon, 15 Aug 2016 09:23:49 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u7F9Mh8i020596; Mon, 15 Aug 2016 02:23:42 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v6 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line Date: Mon, 15 Aug 2016 17:13:18 +0800 Message-ID: <1471252398-957-9-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471252398-957-1-git-send-email-peter.chen@nxp.com> References: <1471252398-957-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131157266302504885; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(5003940100001)(2201001)(106466001)(4326007)(2906002)(575784001)(86362001)(586003)(48376002)(69596002)(105606002)(626004)(47776003)(19580405001)(2950100001)(50466002)(229853001)(85426001)(97736004)(36756003)(189998001)(11100500001)(19580395003)(76176999)(81166006)(81156014)(305945005)(50986999)(7846002)(8676002)(68736007)(87936001)(104016004)(5001770100001)(8936002)(356003)(8666005)(50226002)(7416002)(77096005)(33646002)(92566002)(2171001)(7059030)(32563001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2706; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD034; 1:KIMuCylbgG37RkunfV7sHi0XRR16T1vF32l2xROjbSbXYTk7APqnYDtRCM+1MyhNcWDCoKB90WB9FK7JEJUL+0i7lPfJnGpjN4th+JaCzIbVWX3rVaovwxAS28Fnx3ijOl95EPt3ELm1JYRn8fHjTANuNYyxb/uuWdtPse5s90wRjvAaHFRWETxFDucJZ7yhYoRVQUqXHHTNdOp11FuXcAf85gXlWf11Isi7aZquQNe1H3++ZUJPtt/fr3KvTyQA36T5dsPktGgZAhA1y6Z87EzDU5HMtmRLpHpv031Mf5QWougJg/UIkLL4W+fsPZ/NSU66c+6B+ljIv7/I0K7w0ArPsLdJCoxd4tMDP4+VjEzy/TJ4AbnHYAYbtVp8juMt7LS6Srjr3FnCmJ2xVMqSDp1WMw59D7XR+/pD2qraf6zmpzyB35PprkB0TLVIvhTvwbegpxvISOT2cg/T7haIkHvIqEUijkiXApnPJ5Xt7LSorNm5FbxthxLBMsdKvl2/HwymZxw4+bF5Jy1EDt+P4ebaWCAl99KC0McMhGCVAWkDWFm2ua7bPBnv1I6zmbmYlVnrC4HUATmeub/TorXOj8y9GIqroklQF5rj8hbT2BfWsajQDIqDsBeWbdiFLolWDayG4aDa4N/I3xCQ2XZhUxSIqXmsqiOX+ID/GPOS63yb/ESSIIF1JfA4LDJc9zP+Xsbl5YRWn3ABkJBc7QFUEdkEQ2p/0KAgYT1wHxxRikZ59XldW7iGpGQ+KmOlr6RM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 9ebdf7df-b8c1-4c1e-0fb5-08d3c4edde23 X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2706; 2:bv8KeBLo7aMCU9CMYZE/sOfjHAbeqaM+wnZitl3WqHQ6pS4y4A/7kew69wN1dI8cXCeUbOLy0WyzBJ6+pAIYEFx2ALNASMn9JPllwOCjIVgAiqNB6ChedfH4RTE4D5zowoNEScIZL2FLk7YCwO0WOrpwmVSp4SipYiPqnMM2V2uIVY2Hg5YwW2CYiyelPvxg; 3:vKwe0sIHQ3kIgtE8zC1Smm1K8DmiglMsCocydNyUCkv7eugs67pYRg9GPlYHvogCWtxUNSHavrlgPbJ1y+IJ9MOdN94AvIAQ95H2nYdrZ8ymfUEC8rddlf09BVLqHoby5bGM84KpfXALLOZqKjLfVoS8ZGrYLatBJZBsUQGiIhF91TETBbH/A4MRESREOlg5kzLH7V7MbxzrLyfm62ed9ToWvdiyE6fC8vp3tmrC0kk=; 25:EyVDY7EBVJOWbiSbuhyVP6981kbELGw2uU58IQD0XmkMEFHkEoVO+juxYFW1qDsYmnnJUfl5oq0k7aKOAX3+PuL4dFPODmq7PjG3HGiBoLL2kkINx4TKRtElwyeWTknhz0ddSsO2X5s967dy96IAT5nR/4TNfutuWLxCkcAPG/ch/nwRb3MfDINXaE/54gJrzWzF7006ZNujjCshR/y00yoJFmwuhXjLqaETb6pJjOdIvSfjmIVOzV40ddR2oCBx5fqJSdWiHS3jz61No7aBrTi4zufct46U2pwGaWCIVnIgONGwXG2cQ0WxNFToJTa3pNHWFxJ7Fkam424mh7Tz1J95MVcAVXthYVJ8INuvPhZEJykabtLN2Js0HPFieuqnrhGpjNsKG4SwVSvYJyQkRQT+xfqSuIVxO+WOeVIGoPE= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2706; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2706; 31:5CvfrgxxwG3/Sw/GrNzbwVWIEGZKviITp0/OEiUjdnIrp+S3mqIE4al+Q4Q8MFJVY7kt0gki1rFd88SG74YIXWYZefuQijsbZLK7uYG7vL7/+3ZD/09hxEBAww6G0543GF3H2HfD4LJWay4ZGjpWBKTBE4jK47My5++WO3jTPulTBdkMIVYK6t74etVYjFW1TFN+K/E3w+PvbCA1S3Sf3UC+F1Dx5gyyyGxcV5jAYZw=; 4:DCiqaIgdU86hZcV/rbC56b9GmVewzbYtjdw7QMtiugGYbhukzCYBPI9YQ8CfftHapdLIBVuxrROA7ZeN0X0DstfrPNAolIDBBpHXRpfGiTvOdB/50IJklDFNpwMKMPCKbd+4S+Dq4sqbxNHh84T6bGXPl4W3frSfGHptM2ey32m61wK3NfCVx2gpJgAC4Zn5EBFko8fQw8aEQkJYRfDTT5ODNs7bAaGcWfVqUi5RgspG9h3TZg5sRlUkzhZy8UWQMJ4e2FHwgqr+qeJg1u5VZs1yMZgPKqJBantbzlcW8AH4XQFyjvt8HH76U1sBtgRUJGtv0xSkdnsiYZHDJX+1Eal5EZmZCOBhI8hIQfVrxaK3T8kInyMyINr/KefHVV+5ySOMreGu++b8aB3mlI48JMDBxTLuOi+CmREYvsFawri41Ol0dHLcaupOY/PM+de/ZWFE7URY+j7NWLU3nwjlPWXD2vZosMWfu193qBbxQwAoKdkuPYZn4wkPtfWpKfugyVs1jTDk6R3NIS3MrvXFiK/H4p/JBs1CC1a6Hf0uZ0I= 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)(13017025)(5005006)(8121501046)(13018025)(13015025)(13023025)(13024025)(10201501046)(3002001)(6055026); SRVR:BN6PR03MB2706; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2706; X-Forefront-PRVS: 0035B15214 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2706; 23:Z1c7eiLc3clC6Kg8/XIZolpvnewgdiZbJk6ViM/Fx?= =?us-ascii?Q?yjC0EuJ8XaGfsjkrIIWvNX5pjpj/GotxRs6cdsuZAQFZtb6bM2j0nDH2xAX5?= =?us-ascii?Q?a8hsltfSaklJg1EJCRtCjl1KK23bgJ3W6jDDa9OFiu5yS4Q5mwMmOUjNFTZc?= =?us-ascii?Q?J2rSTGJrlajapDiRMP5aQSIDsUuYI6UDyqxZmDBoSl1f5zfDPh5lnjzrI8qS?= =?us-ascii?Q?x5iU6YFgOA73TbvaLyC1G7KHBtkuk9vZKgHPUhV5aAP54srFMWH1nc5Ju3vZ?= =?us-ascii?Q?JCqz5zb1KA85VTUctqU/3OjgbEF06JI758pn041YSdnfjrD0X6ZP9nqq1FjT?= =?us-ascii?Q?6FSvzaSqVXO3/BxrCugKm5BhL/F0uA+PN3Qn9ED02ato+a/7dXV4OdLoc5D8?= =?us-ascii?Q?6gNCNRIsTlGo0Fi0SxJM4hiNi+x/xu1/2FVPEfmpBq+t1vxqP1hE3Xqld/T1?= =?us-ascii?Q?W3/MHeqlPQmWdDgcBFhPaNSt4+jZ5YpGRYC63YLQdZ7BiylL76K3CA2xDkp9?= =?us-ascii?Q?YTB670zrHXGZMNcoDu9coqGSgLjQQBlYs7ZK2hjYcfWYmtdg6X8qS52Hv3Su?= =?us-ascii?Q?+ByXwdPcTp6inhSGjrNo238CuN4nfGXlSyxykwfdXJ9rmgZAplmgxXGecOt3?= =?us-ascii?Q?v5bDfOkwUHKALqvQKNydbv5RCDYLgloVNyn4jwTI+eG3Y04k1JozFsI1Nryg?= =?us-ascii?Q?9xaQApMnlK2iahhStFdY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ko0gQa5cnXB8Xfqmlz3d6WwU9VxSvJzn4Ifd/rDj/+rDgddkSIxINsxAM6Ik0kkA3NKQgLE6fUr0n1TdhUvJbUy+2C8E1laFarZuVqkJ7zzl8nq96cN9Yz6m8C6Llg8kZqrDpnZlvs5fPcfIbY0kS4E=; 24:wxxJeVnPBU2NVPpj9aSK2NG0JWGd/Au4KvYi3b1LocoXz15PAtHAyAB14Yp97IUgCK/LbN3EWcksT8t5xK75pOUf69JDOgfDjAz0oLhAqmI=; 7:lj18UORvoEcChsB4/c+xD4e54yI1AlCu1pKAWEcbzj3DwmINSV+CYHgnnWU6UENi6/bkvC9IHvoA+jAYpHwnV9V+5t1ekS0TQaWttswOnz66J2U5aOxNn9Ezfgou5Y6Hul8BPk3FDvklgQyAsdVEYCLSQu4ILgyeDX/9m4lOFPxYyzxrgb/bK9R9jJgaeMXtY3SCB7tZDvXIiX5gF7KfRIiV73Jw7enJ4Mdz5ITGHOEqSUcLXi1/sigNJ9Mleco9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2016 09:23:49.9852 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2706 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160815_022413_253780_91747ECC X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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, k.kozlowski@samsung.com, stephen.boyd@linaro.org, oscar@naiandei.net, arnd@arndb.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, stillcompiling@gmail.com, Peter Chen , 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 4fa5601..49c6f61 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 { @@ -467,11 +461,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 >; };