From patchwork Fri Oct 14 02:59:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9376067 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 F365660839 for ; Fri, 14 Oct 2016 03:04:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E142D2A182 for ; Fri, 14 Oct 2016 03:04:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D59962A196; Fri, 14 Oct 2016 03:04:46 +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 7BF8E2A182 for ; Fri, 14 Oct 2016 03:04:46 +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 1busmH-0003Wv-Mh; Fri, 14 Oct 2016 03:03:21 +0000 Received: from mail-sn1nam02on0083.outbound.protection.outlook.com ([104.47.36.83] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1buskX-00026S-67 for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2016 03:01:37 +0000 Received: from BN6PR03CA0020.namprd03.prod.outlook.com (10.168.230.158) by BLUPR03MB327.namprd03.prod.outlook.com (10.141.48.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.557.21; Fri, 14 Oct 2016 03:01:11 +0000 Received: from BN1BFFO11FD030.protection.gbl (2a01:111:f400:7c10::1:176) by BN6PR03CA0020.outlook.office365.com (2603:10b6:404:23::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11 via Frontend Transport; Fri, 14 Oct 2016 03:01:11 +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 BN1BFFO11FD030.mail.protection.outlook.com (10.58.144.93) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Fri, 14 Oct 2016 03:01:11 +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 u9E3085V011345; Thu, 13 Oct 2016 20:01:03 -0700 From: Peter Chen To: , , , , , , , Subject: [PATCH v8 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Fri, 14 Oct 2016 10:59:54 +0800 Message-ID: <1476413995-20361-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> References: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131208876714288432; (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)(1110001)(1109001)(339900001)(189002)(199003)(68736007)(50466002)(76176999)(77096005)(8936002)(36756003)(7416002)(2950100002)(2201001)(6666003)(626004)(50986999)(47776003)(105606002)(48376002)(5660300001)(11100500001)(5003940100001)(4326007)(92566002)(86362001)(575784001)(229853001)(50226002)(356003)(2906002)(7846002)(81156014)(33646002)(19580405001)(8666005)(305945005)(19580395003)(106466001)(5001770100001)(85426001)(97736004)(586003)(87936001)(2171001)(8676002)(189998001)(81166006)(104016004)(7059030)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB327; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD030; 1:Bd38uhudMAZX5luPEpnMTC8KJqyt3Ul/bbEtNaVOUEw93/cwswLBgHSUJyyw3wTCDfLaKwPn9qgyI/RxxrnwKNhjoi54Oq+FllRJjM0LPa7tq8cYEekInIZE1yH9RVGDY7fRoKDdHE2WAVjW2z+QkM64kJmK2go/h/LQOUEBmr+QrNb0+eSHWtkUPfz7OM2sv0XnL4DH70nlm5fwKkNAM1ULKJAZNX66yV+MYmCXb3oeBBhykNWE6QYEe9FELlKDS5ixIuquyN7iywx/UFKNb0A+XmItA6RZm1/f6V6l8KN0BnF1aTya3tWZO8kudeO/wQVeICHvfRcjM/AZUx4rlFA6Iukdfyn9ruoEijzsaqBMNS+7Oj8WVDv58Pf7NlGZaqfBUQ3j7Qcgd2EA2Rhtjz46ZCZMBJ6JedyUoYi8vVTaNBjp5ta1/Du+tNK1L2L6JeXCiE79yGhG2u/Od6nnqS4SECwqNunYiinshV4V/wqLUQVrYsTz+MEgDNmyqgEAhiLRInoL+HDeyLrrGYd8iN8CEunS4Sy3ujpsGH0Eh+kC2hMDCGz+MFdwVyUpDHxj6TvjYrygNPq68CsF1G2WY1gHIGMJQbevvomTYnIsXD4BQQHvN8Ll6EXUoTTtLLsLUitI6r8nON+5WyIEn6MpVde9bMYDeDPgcg4IMOk60kgFuEL+HJiqajaY/VGTJJMJtkJmVY7/++o5Hk5w0mBllteiCJ92Hlbt7LFFQHALi/pWuvx4tDQ2bUFF6vqltY3R MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a3f058ff-5e00-46dd-83cf-08d3f3de5a63 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB327; 2:+r226v5yW6ZeLo87ZMenSo7thFZ/C8WMh9dOu4Q/llvqY87xwhFB/Ct5AlSA8y6S2SDwThe+DOdnJaj1TWTTzftEgnqn66ukefkDFRQGRfAtLHnVS6HHe10ZDXCdxzCyYZx/xwUANQIN7XfpRg0CgV+TQS3/JOUYiDQedrpvH1Syc6tjFmPVPBB0N1+LbVJ4; 3:JEPYaBwQ/ucYFbPkAY2ptag1QLNNwhqDxbZpMCD6Cugpoho0rxVrID85PVsj+7K1e1crAwv6G3z6bnPFMnUKpu/8DrZQxtVzJro6ymP/xv7UnLLNTKrkOLlrwqlEXCz88Iqjm1mVOkm/L5lAr9YQ55nOw3RXLVGsKCFAnJhMdwlDeOMflAuPX8EOP7ezbVQ8jewd4ZkE4YaDYKvU9P7N4cBJPsBLGcstCtGpDCxvpqA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB327; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB327; 25:dr9BOh7Ttl4xxJT1QaEaYqlTM3nVD0tX+mDQiK1VGR7Oc4trWOGbEouyRVwvukX2wLR50NsAQfkGFhENf6U2Wnlksk3eUxWYVXjjQjEAO03cOTuhCcfwOyd2bCXSWFTowpYqrKziW4y5enSHbT448mbpawiY6xseP7voZy/dH/1uAhyqISnIWf0X6cAhmfAYt1Wje7s4aaoNxYKQim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ilXqReCxTQ8KLuCKYqBvGT+uAms6M8xaKRgNbvkOJxA4MJBt4CDjfyI7R1lPKOB+WQy4Sf4nRrshwHvnvRajvrMXopXK0k+JzoEJmqc/QrztY61uPS4zOfJYRqLuJdLP1rxKfru80tkBx+KGZSejatqWkTy4xnepN+oVwsAUMnOSfLgw9WmSW50O6CVoKdoMOwtwQ7vSGyMHS7EPgWJKzbAVo7LjAUEi17Kxjf1smjwqEobiJ9DeAlwIa05JOD1UFfSW9D7hmvywipITNCIptpDNIDSklwMoLX5sw4t31vkRToFQzpxDxFU/OI5l2J7ThQAPi4wqEUeBcADvmSKdU+FxRaMLLqOFOCuXqXGnV4hset7sHCaXPjJpu44= 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)(8121501046)(13015025)(13024025)(13017025)(13023025)(13018025)(5005006)(3002001)(10201501046)(6055026); SRVR:BLUPR03MB327; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB327; X-Forefront-PRVS: 0095BCF226 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB327; 23:EPk4L0vkyU5M7cgtFK7YZdEpd5/0YXA+lySMML+j1c?= =?us-ascii?Q?AL13oNlSJRRuolXnu/vu+uFuHW0UsiZLC589TYBrI12D7aM3vwmIy9UQrY9W?= =?us-ascii?Q?30O+Vc/n9hvRl3QghugOLyuNuatmmmJAQmFv7yM8kMSSXTRyXG6yPRngiPgZ?= =?us-ascii?Q?RBoqeE75Jsi+6Scwk3BSfykh7aApytlzpTqmYh8Af8MBEw2xebwa9FFL83bY?= =?us-ascii?Q?bjVdpTEIq2Rb1Vf6y2dNZzeQtAIpfPQgv0aiVdAHH4NqF4K4YaLM8k0eyiWd?= =?us-ascii?Q?dFe6LuN5qy+p1Ek0+LzrXFrlvTSjkWJ5sOpRfcmDwvdAgbsoC0zB8jQLrXte?= =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fxOPUiLGgR2V439gQA173gCUkQIaR1Q== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 03:01:11.0232 (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: BLUPR03MB327 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161013_200133_636719_E7ED50DE X-CRM114-Status: GOOD ( 13.36 ) 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, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, 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 The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Tested-by: Maciej S. Szmigiero Signed-off-by: Peter Chen Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 3bee2f9..87fe31f 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -9,6 +9,8 @@ * */ +#include + / { aliases { backlight = &backlight; @@ -58,17 +60,6 @@ #address-cells = <1>; #size-cells = <0>; - reg_usb_h1_vbus: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "usb_h1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - startup-delay-us = <2>; /* USB2415 requires a POR of 1 us minimum */ - gpio = <&gpio7 12 0>; - }; - reg_panel: regulator@1 { compatible = "regulator-fixed"; reg = <1>; @@ -188,7 +179,7 @@ pinctrl_usbh: usbhgrp { fsl,pins = < - MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000 + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x130b0 >; }; @@ -259,9 +250,16 @@ &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks IMX6QDL_CLK_CKO>; status = "okay"; + + usb2415: hub@1 { + compatible = "usb424,2514"; + reg = <1>; + + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &usdhc3 {