From patchwork Mon Aug 15 09:13:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9280663 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 8270A607FD for ; Mon, 15 Aug 2016 09:27:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EFE028C02 for ; Mon, 15 Aug 2016 09:27:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 634F028C04; Mon, 15 Aug 2016 09:27:31 +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=unavailable 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 684EE28C02 for ; Mon, 15 Aug 2016 09:27:30 +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 1bZE9b-0007QM-3i; Mon, 15 Aug 2016 09:25:55 +0000 Received: from mail-bn3nam01on0051.outbound.protection.outlook.com ([104.47.33.51] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZE7l-0004zM-FF for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2016 09:24:08 +0000 Received: from BY2PR03CA070.namprd03.prod.outlook.com (10.141.249.43) by BN3PR0301MB0834.namprd03.prod.outlook.com (10.160.154.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.557.21; Mon, 15 Aug 2016 09:23:43 +0000 Received: from BN1BFFO11FD012.protection.gbl (2a01:111:f400:7c10::1:134) by BY2PR03CA070.outlook.office365.com (2a01:111:e400:2c5d::43) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Mon, 15 Aug 2016 09:23:43 +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 BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) 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:43 +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 u7F9Mh8h020596; Mon, 15 Aug 2016 02:23:35 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v6 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Mon, 15 Aug 2016 17:13:17 +0800 Message-ID: <1471252398-957-8-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: 131157266237259899; (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)(1109001)(1110001)(339900001)(189002)(199003)(229853001)(106466001)(356003)(33646002)(92566002)(8666005)(68736007)(69596002)(5003940100001)(81166006)(50226002)(8936002)(85426001)(104016004)(4326007)(305945005)(8676002)(2906002)(586003)(11100500001)(87936001)(575784001)(86362001)(97736004)(47776003)(189998001)(7846002)(50986999)(2171001)(76176999)(2201001)(81156014)(5001770100001)(626004)(7416002)(2950100001)(77096005)(48376002)(36756003)(19580395003)(19580405001)(105606002)(50466002)(7059030)(32563001)(217873001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0301MB0834; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD012; 1:QfBSpzDnp6R9zTbte5sQAXMVtr1nlAVOlJrJQhMGKKNIU5fHaNwGrF4wptQA+cUYHsyl6m02ZiWY+DJxkV5izjoRHXViqNwEGvC+RDPP51zZwVKSKYREMmwUDhUSwLTyd9wI/WvuDs8ksJLq7auBeoFUW6xyI7wSGzbkTM2GksBGcCIro83N+vaCPyEPQuG/mWOxpzM9X31uuYNAaV/mhVSSh2YfiqyuwxgCdxiYPnD8zyAfXvfOl4YLbsQmZcfLM8QGicKHBiRCzvuzJkV7TayVBW4Xj/gqde8o10tLtWRbbqTrxIARjleyj6a7VeX0S+ttqza2luu59tpr8mBP6jfYzG71B4Oqd3G24aQ6FRLUIKnKhExZ0XUpDfKXXBFty2v9wnVohNjjvJqilAR0PZptuVSlTZRRBvYtM0gB/2rIBI5DmSERk/hrZ44ISrPouUSANePWUWDlj7Nd+CZDnNXWQGv37DFT60e0P8YR6e+DD/GqHrhiaHRrAfbaq4mcaFauhjO9jqdxzQ0o6oHL9432fDHIu3kqYp/d09RktafTF8zIm3a6cYXrWf78R4/7c647rU2BcmgibHExkIeqS5PXhD+0V5UVCIRDNOs1lWeHGYhmKfVLzZTcZ6E9CIcdsDavVFdjY+hoHpWp9iMql/QeWcQQUeqoqZpBSjSQ5d/Fp/48gYrFj6M9fOpVsvz5c0Uao9kCYiZZFFTmfPWRjMTUy52OxZVs2USD2z324nC/67e2zLbtvNOZk+kpq4NR MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3232ad4a-61e2-4a6a-1f1a-08d3c4edda3d X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0834; 2:D83UwjlMraT0B5a0WwKp5xswBySFBWgkv+A9na28YwnNSFHssiQahy3MU7UUQhnP2Kn8JrcrFJugGNv9HSHhpZ5tRzBNnhqKmfJ+w5h8XfxbKLhlzfcD3zqB4I0Cfss/3mkEi8lG60Hor/HwFIjoJWoB7Kl5qm+ofeZi/nxTpyXlFn9WU+hnp5+ijEp/77st; 3:j42tN8+/XmaactoViNguKQu4Xnp4x3lY8taENQzhMyTh9qfqVg9+qzEIWMvdE4TvbLW5Izp69Z8g0pQvTYb7M+UDLL/MqzUwXt1rrWaZEOWAaywfjqCDWC6ArurzeLknx8xQlq2Ys+krZ7qJ9AB8Fre0OkUKhnaKG8Z8b5I6jyB0Ht5mY1l+DbeIrfOrMwjcejSnUW6kQj8pi8skbAiQO6FJ5dr7a8PmuL9lZoHC4dY=; 25:B1rLYWfUAQToVgxGjbJ668B2h3uU9JtZn6rI3slzBkBB8csqZwNYRlxQJMexkbrrUwUG0iFKgG9LkniZaxv+2sgcpzMC5JkrlUgExHq2TX47FjvR1VprLfdLPkxZMQP32gNhpFc8sqIiSHlsBLBw+kY82059wdLlM7CO7OUjZ3bsvj40AQoUertUtVJD7XqPWjPiXpyZj20fx6T5Duj+DEe7urGRzL5T38whNSpWZzI0BkITRobQpu6bFaX6HL4dqghrrsrmufOHWatmqZsHvdacIyciWYkXnpe0MzbOfnS9g/E91FpibKciIQSRIC8Llx0FkF7bW7CwCAOw4mRgf7C7kNNqipAVusc1y+tACQOqbnGJKG00UcFV7Jw4Akv7Bp0Uhe0YKLX2Bdd+GqO2bVWIDBa5cMvv3jA58Ry1/KA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0834; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0834; 31:RY2EhBMm1z6hWhYo20+yS7m1Jbc2zKv7YDb6uloVwRxtW+hVES+EFT3JZ7sOqY3eSV2xweTlJjFf/qn/D/AQFm7vWdsJUI8qI5oadMeeQ8DT0kbxI7Mgv/Pyd44dZA5Jtkrvlxtt6AUvq4tSPZxDD8eD/ygMECTZxG1S8b7azhrD2/6RvO95CHhUUISjrjttirfWgvfHif2qKUybS82Ba103r/dsTxQVUpKRTTCQJ70=; 4:eGIZEzli0iRhcUkTad1TkoHZxbJD9/N7Q3ig2Dht+HFExJdI6REi4xlVg4wCPH4WkfVHG9cQZ3jnWMSFrBZyuYiwS9nmqLbAv0f3RVoHMpmthumA57GYSKfZj5vW2s9gfiLPag5u7OiOBZfdOvJB0cNRNvvO+WvQ2sHIiekpjmTBAUPnYd3pAspLYNyqPK8zazGDwfArQPhvLPeewvTK7oxYEPTsd4IGQtDx/0mQzC6XEfucynzvUObAflnVbH3XL8MtHN7bHQ5W3gWtEnt+TyBhcp8wDk/DH8sFPqMAXrC3lpfvR5ViSdH89YY3tq8T19dgw6WNq3AS27TxSVFpRHtV2locooJFrDHw53TZal89oekVDNnuiuzWGvj8ZkhrTg7fmisx6PKRMsiuOSAsfbqJhKeZS6tEJ7waqdLEMFiy2TmY5ib//NiYVVxkgRU4lXFXzCj4Xthbl1/fh0lxSC9QZVuM+tn2sLOBa5AmH1qBOst8LXMNhOdSPcG1eGsPQ2NqutvvY6gf4F1+P4XqZnXIjBIjS/d8mlYTiwr82Tk= 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)(5005006)(8121501046)(13018025)(13024025)(13017025)(13015025)(13023025)(10201501046)(3002001)(6055026); SRVR:BN3PR0301MB0834; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR0301MB0834; X-Forefront-PRVS: 0035B15214 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB0834; 23:7ohWpjlzKH1vqjBax3epf3TXCHZVBpP5RHfaqwr?= =?us-ascii?Q?+aox9BhucHPwodrQK5MHfxVI6cL+qa/FdkalYlrVzpcZ1TRpFVLfe40feF+r?= =?us-ascii?Q?5J18DDb0bpKX0SJD7ycWsh8DzFf3Kht0Fw5nId8/oEY9rfHk9XmH7gzqjAk5?= =?us-ascii?Q?v8Kj5B9xRUcq/UtP7j/M7HGqXebdDXq5hJ3Ka6puXxzYJj52Lzgc0DF/4UbD?= =?us-ascii?Q?t4opr3ZrQ+tKu+FNuad4WDn8BzSRuBuTvJM4AFKxk1clX2jlTiJlfAn3dz5X?= =?us-ascii?Q?2MDMKr9dCjE0CwbRaJ1d+1VmU+kIWJuhldnr2qPzI7caVt1R2fQa2OzO0PTT?= =?us-ascii?Q?W2QASZ9eRcRMVidt+iWOCYtLzc2G3r1ufEaOcStYAauIjCZ6YBOr9txEgMfR?= =?us-ascii?Q?1w98V5iUlrsFlCaA3wzkxobNa3rPGCnypoACgmBKwkqj7se0Owes5PI9e+Df?= =?us-ascii?Q?EJpFPBP46NM6aHm6EVaiKOCw6GnIMSE2sT5AjcwNo0OFusKDh+Tf4DEkjm2b?= =?us-ascii?Q?N4cmoPyw3chLnscHpOenSzcnbczYuz6lJCO/jMywZs7R5n73Nn1+uc8eWrTK?= =?us-ascii?Q?vfUzKJILsp0iDNh0XI7MSWQ/1jVvPIlk9///4rnhm2n7hyJU7sjVigmrN0ZL?= =?us-ascii?Q?JjT/76EwGUbPVpUOKTBqr2FJUHG53E26U1DvyPf6uId8KXWI6fi1HWYDyuzW?= =?us-ascii?Q?Ct+NU/MljYQiCg1RgVK5gi1gam8nuHYsDgwr9u0uuUL3ruLcObc6USmayVHY?= =?us-ascii?Q?I8O12MIH5cK97mml6MJWu7HgY4G1Y24Pi5acsOKlxzTfxvwHS2ujdguJ4mho?= =?us-ascii?Q?kFStDpHPQCXB2i0npt4krURMPr6VOv4aGL+1j5YD7Zifu51gtt8aYm16OJuz?= =?us-ascii?Q?QdgaN8enQ5lq3rwJImyRAxNLmRGODw342n+l5kz6QKxV11NzPnNPKGEFpeTm?= =?us-ascii?Q?Xi4qHH9Mp7MjYqW9xq40PBOPcj/OOCvMj1QEtJXyCFuGVY5frD+XUL0ufUmu?= =?us-ascii?Q?fUSFLreFjsLd9OIg75fSt498khdOxodvbHiJWeu9G90zcQBYbjuxnd5wIWyv?= =?us-ascii?Q?TpIQusOYcIgGXSfMf+NXRnGfIT9mnOS4i3jYU2Ud291cOsQktGIgsT2pq1uI?= =?us-ascii?Q?LkqVxDb346mWh+3uV/XzJoRCT8B8868N6YvYkjsN0DU4yRSGvd8uDx3J2YH4?= =?us-ascii?Q?spfq3VrIz+VoGa+L78wb2kgq9W38nQU6989+yfa2366PlAgfqUUgVdnBFhaD?= =?us-ascii?Q?PMgkjxJszs7ZV5JHXyr+e8Sz9SxN3kQYvP4db8IYvewiphYF9vM5hHdLzRZ6?= =?us-ascii?Q?q0BxREhUtVNhxIkzz6BMwM3k=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB0834; 6:/BJOsX4cVjU2UdJpesj1Vlz85TM80FEf2BxjIR3tk/1BC7ETZUcl0yet5UqCGj+Y6q4JgkGIQgMiM+u/B82N2WK35SlPN/y8Iu8lX75gN2lnAgFvc1CsOLBs71w6i3C6sXRAAVpnZE+sya9O3lMMRR/8YHf9m5WIJgjRZ7GihkdFdlV4UmEUBfGfme8DJOO/p83M/c4Je79AG0DIxSibppLHzLSxcDU721nizKc18ZYvqmFx2cStZrQFuph3vmmbyIIiq5x9PFfYVYnQbEq1X9YhVj9B87dEN+Uo1eI4pzA=; 5:wWhyAaDvqGbxWFMpc5iBZihsoZ1YDXJGEiFQbSy9E+WIYq7zih/JbeO3GLFqYa+LJImB/X2L9YXTVfONSi1nu3QYiHeR68v4HWmCWebevM6tq2xEtReL0SwfhU2mm8XEpkL1cNBywPpP6hdY+Kl6dzRTqF5noYJkJTDzS5oBwf0=; 24:peSTahzwdCF9j6wsR7Rd509sK4cPQqJdTBp3o+nKYSeh5frElOPLM/GfjYNUvZNLX6OAoTJmfW3JZCPgjjAAWQDsZh5rF7chMlE4N8kxD5I=; 7:GRVi3nUrhP6UPpKTNJH9taOsJqY3cp8DwIl+o2XU1jrpMrLuDemHPZCvoOhmqeXOJAcPi7/c0J+iZfruoViJKBPe0Zo8kScywOBQ4SPbPbcFZNd9ypZCKSEWiOiga43tvykv7tEovZROR5uioLKD1Ex2cbD+l4ytVYnOQPAMxnZ18ygFJhe5fRBqwE+hSruB1A36rxuJNsw2vV9ScDYGQXDspBuEg/7zCrYATAjNbXwh5EKoCdgyjefHyIjlXyYE SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2016 09:23:43.2423 (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: BN3PR0301MB0834 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160815_022402_123412_755819DF X-CRM114-Status: GOOD ( 10.42 ) 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 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. 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 {