From patchwork Thu Mar 3 10:01:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 8490811 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 320D5C0553 for ; Thu, 3 Mar 2016 10:08:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43AFF202E5 for ; Thu, 3 Mar 2016 10:08:44 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 3C9E220225 for ; Thu, 3 Mar 2016 10:08:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1abQ9v-0003Aj-Vf; Thu, 03 Mar 2016 10:07:03 +0000 Received: from mail-bn1bon0072.outbound.protection.outlook.com ([157.56.111.72] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1abQ9b-00033q-Sx for linux-arm-kernel@lists.infradead.org; Thu, 03 Mar 2016 10:06:45 +0000 Received: from BN3PR0301CA0001.namprd03.prod.outlook.com (10.160.180.139) by BLUPR03MB309.namprd03.prod.outlook.com (10.141.48.22) with Microsoft SMTP Server (TLS) id 15.1.415.20; Thu, 3 Mar 2016 10:06:21 +0000 Received: from BN1BFFO11FD048.protection.gbl (2a01:111:f400:7c10::1:180) by BN3PR0301CA0001.outlook.office365.com (2a01:111:e400:4000::11) with Microsoft SMTP Server (TLS) id 15.1.427.16 via Frontend Transport; Thu, 3 Mar 2016 10:06:21 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=nxp.com; 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 BN1BFFO11FD048.mail.protection.outlook.com (10.58.145.3) with Microsoft SMTP Server (TLS) id 15.1.427.7 via Frontend Transport; Thu, 3 Mar 2016 10:06:21 +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 u23A60Ku025904; Thu, 3 Mar 2016 03:06:16 -0700 From: Peter Chen To: , Subject: [PATCH 3/3] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Thu, 3 Mar 2016 18:01:16 +0800 Message-ID: <1456999276-6315-4-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456999276-6315-1-git-send-email-peter.chen@nxp.com> References: <1456999276-6315-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131014731816364726; (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)(2980300002)(1109001)(1110001)(339900001)(3190300001)(199003)(189002)(33646002)(229853001)(6806005)(4001430100002)(86362001)(48376002)(5008740100001)(104016004)(19580405001)(77096005)(106466001)(105606002)(11100500001)(2171001)(2950100001)(87936001)(47776003)(107886002)(189998001)(50226001)(1220700001)(1096002)(50986999)(76176999)(5003940100001)(92566002)(36756003)(5001960100004)(50466002)(2906002)(4326007)(5001770100001)(19580395003)(85426001)(586003)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB309; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD048; 1:mNhljPLTBeAA8rHzjyfLt6vCDkM5r48HjGrDmu1TMyS1Wod7aR+wHjci1N4gq9Rak7QjduAUwF+qSlEmhli+6H8ugjg1aQczPa/1/DoGreFWTqOrwB5oPtJavsLvspU2pxzuf7y5Muv8pAyYt14rQIJ/RQ1ZOA2djUrfJTx6NKfDONYahIWU2K80CB3wTFiZW7q0kggUsH7MFtZOvkO70CqrRy8ot3efJYq+f5XdCGrKdYzie69z6B9QqSLaL1aBF3aJi/ymtl6HUJPGICdq66iIRG92EC5tYRyjv8V5k0vL/GvUSdIxrrvufFt+quUGdGGyg6dcCnywGfbCvPCiCK+FADv74n1BbeA0nfIwTzWCRnE+8loLbweOPO4qWV/ZKRFEkGDz4EP7lhId0QkAhqxnDX6+IqFVfE+rAWHXD3vBX4cBqidKUBFCnPf+qaRsqqVZi/H2KHQ3c/ITIxD/uwwUwzMgcBPWybnRO9g7duMfj5h/CH/eHHC75mHTBAproSGUBwAR6rXHEe6QERN27TmKQ8qB94lbU1g9elBpcDdAnwrwyfxroc8DEavyXZ5T MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 90de8ef4-9711-4ac4-eab6-08d3434b78b8 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 2:H+5WcEqjDdeHhFmeSe6aoGkv5bLrpyILykPO6hbLDVqIINtqtAHlA3POar+61dCIF/fyTvsjTygIXxm3BioV/cIaT3TrrWm1+lWdU5nHt6vg8jjAy2dwOeY3qwxT4g1x5j98ZKJFm52ELXGicbnT7xL3rexZ8/epi+5LSQpxkTXSsZ4xwm8MWI9uVELe5X9W; 3:ruw6fl0fBJ78GfF2DnCpITV0R4XT0McPeNVUSWGOyi+oaGdpJn78RfEQQY8BXf1J0vXBEqjsG0Dw8Nb17kQZbQWSdew3Z2SVjPxX7O4yesLhoO8WJFsufLhhXBljJhaa51UmRtBC4u4YuLQ+YWF/DSDCOutAcJ3QedbVK9/e1NJ91qo6uLfIP4i7rPCgTyp62FZcAyz7gOBNbauY+5TiJEyPbcnSO/Lsl7ErNTmRz/E=; 25:lqRTN64dCLxc2geB/9lo7LNklPkMof3SFMKzYbCqLEYt3dm2JjSwpMTP7OYlSfmUMbYeidJ9ZkMsQe+awFVah12hyIUd1ibJXGr42MotKRRNWLKw8cX62VlYg7BIeu02R/9feOifZ6hcHfiveXotkqph7cPxUOTYvi3t/I6IuJFFbjPNao+/KAbjTrqxuHGdGYVzLoShQ+EA0SLwEprITQkKIiHZWm1ngMZF1EEDIz9abT3hCg7XSyI9qgVv4NAkgsEDJx4QfZlFMPn4YnfwU9V9FYbrJHvxLu6NqnqC8NEZDiHQHFA4uUbaV/Sg3Hxmi9Hj5B4fh9058pjlDiaLhA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB309; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(5005006)(8121501046)(13018025)(3002001)(10201501046); SRVR:BLUPR03MB309; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB309; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 4:C7LX/EdksI+A/SNK8AK8CRFUoMIsemKL1pBczJqXkqAwaU+zew+16q0zuhzmYJM/0fEbh9b56P9HiviudN2B0gt+IG6cZ31QJ2Y1KaI+cnsvWB8ezi7P0/ktobcA8Ntu8glqNvzn/qNnuQTpy8qYgMugu9e4Ff0WDrA0n8sby1zO8GA93xx80JBUM/MZcSw7p4ACAWCdNxIBo61oBo0zDGNQpsk75+fAoZOj2PwJ9U6xrmpA5MtNKqPop2KF6mHUpEOs3zTCWDbRY4ZgOL529AcToqAepI9ZrFBWQjYGiiaCTSB6F6kF46+u/n2cqGI8uG9zCjNWI8ILHwonrMCo+bPiKGugCUE+ovcKo8jor2u/g2baL+ls4wbJwpHiXlu86+1JyX+W1yJhFNPaYfUR/FhDJI+ojrpQPXTD1KXVheyUFRUCnfc04Ny4qWohhP21MFFgGBNcWh5xCdY2swFlkg== X-Forefront-PRVS: 0870212862 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB309; 23:e3OaLvaryvkITBoKFgMVTgyoXMRMTQNHREIYSzrm8r?= =?us-ascii?Q?xgCbwyJGAG7f8Dt2VdOILQF0RTM5L/LpulT7WKGV8ep98dxnVY+E78QygpDU?= =?us-ascii?Q?6uwTYtzM11C0z3N5bQsqzbtj0oNUe2+CYDNODDTaC0I3Ou6c2kck+Wi+UT5e?= =?us-ascii?Q?P/L3wuNOX/salLJ4Cqt81h326zT4DLdXY6Oj4tLw8K2z2PmW5x5OpSqfDA1V?= =?us-ascii?Q?/cy5FH6JMvJNwOUDLuRZ/6a/o1UHh3PpJifZymtyHj7xSbQlABLtSaSgyqiQ?= =?us-ascii?Q?tMtNDL6AzcgNzAT2Zl1r9rmCvMRFWjE6z0bqXTQdmjwWiNJINgK5yMjXUa17?= =?us-ascii?Q?MC2izG/HEQw5S76fflTLBCuhwZzJG8m3CBTteDn0LDn3vKLXLBoZiux5Tmnn?= =?us-ascii?Q?G2oLzmwWhSKSemOHj4O+76rkUA3Ks2rBGX1Nt+jAYroDKGxBHGtCE4TSQyCV?= =?us-ascii?Q?YjX/D1yiDayDP96X5szLph0C8hVu2GUbRCNbc1eM8v9KMEBWn/eHh7AG85vm?= =?us-ascii?Q?7wcP5qaFAKgcQ2bPAk4vySpX8GNr7mbHTKXcHb1jrmQpjASrAydEZrTjgZHs?= =?us-ascii?Q?9SEzgf548Jzqmexwejoe5G1YBLCPMIbHYd3+yPiKlaDV0PURUN7CGpX9qlmj?= =?us-ascii?Q?+dOQ2Uv7NtChA84iM798MOTzUTxjcj1maoOftdOsuxQtgMGn62uzzWGcfZ50?= =?us-ascii?Q?Y4QrxDHy3LunSJGribbLAiLebGLTsxN8BFxUwz1kYeVlVfzp+MyzQtVNkLWJ?= =?us-ascii?Q?aIo+ZGDOPsp0qy79s2mhVdTbPGjHViDKkkWRM6WQ+fYNJJlc1LlxfL7ZW0tF?= =?us-ascii?Q?Blee/h8hx3lpCM4VcDYbsiDfqE4MOoHf7TUhjyVqDldpbu96EtruSmGa23M2?= =?us-ascii?Q?xK8h0Z3289GwkQtLmUcaJjHuf6BQmeasBPV7tq42rn6JSbVFVgF7S5gHGW2l?= =?us-ascii?Q?kFju28Pi7Gk1i4iqudRlLX6vhKjUMASeJrwr54ZyqUdUc6nY6oeztXOrQipL?= =?us-ascii?Q?K9WWPpZlTFISO3t+rCQGNHPcRbMJ3mlrEaK8UtsGpjJ4TbI0g4JrIA0TvEfi?= =?us-ascii?Q?F5AL8NqNsji4Oc9g7xw5MjNf6Y84BUGdWTipsuF+TQw4/1DVseOEjsVBpxkR?= =?us-ascii?Q?Euo0Jb8v0iQZt0gXKyonbabVvLXir59lmJiRcMzGJ5QakuflpyG7JXQg+mLp?= =?us-ascii?Q?KXsrm0N6NoxJc=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 5:YPOQXwZJUSEyQFy99NRZZi3L3ZptH68BNa+EfG9NoknU+k52uO8DFr1rk2R3vxTbfX5IYn/hK+fcFHjzNXeIxV+Oyfk2WiX7B8YTME9LzAowxACwTErKgAcLaHU365RWcWP1BAFk/JnX1sksXBF2Q/0lapHtoCxmEi8QZaQ+IUw=; 24:LrbCaC2S6I3mtaD8N4V++2tx3qs5QOKxTM/o9+GkNYC/DBpQ5rE4J0ui/70VdzkegyAVZarpCx2NbSRlI7ASARtawwq9B5M/ZpMoU784/64= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2016 10:06:21.2776 (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: BLUPR03MB309 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160303_020644_333046_1E51D41A X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -1.9 (-) 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, arnd@arndb.de, pawel.moll@arm.com, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, troy.kisky@boundarydevices.com, robh+dt@kernel.org, Peter Chen , p.zabel@pengutronix.de, festevam@gmail.com, 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Peter Chen 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. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 1211da8..d8a4274 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -9,6 +9,8 @@ * */ +#include + / { chosen { stdout-path = &uart2; @@ -17,23 +19,6 @@ memory { reg = <0x10000000 0x40000000>; }; - - regulators { - compatible = "simple-bus"; - #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>; - }; - }; }; &fec { @@ -119,11 +104,19 @@ }; &usbh1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks 201>; status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + hub: usb2415@01 { + compatible = "usbxxxx,xxxx"; + reg = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh>; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &usdhc3 {