From patchwork Fri Dec 18 09:33:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7881631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B68829F1AF for ; Fri, 18 Dec 2015 09:41:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7CB1204A9 for ; Fri, 18 Dec 2015 09:41:24 +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 F3AE1204A2 for ; Fri, 18 Dec 2015 09:41:23 +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 1a9rWC-0004DJ-Mj; Fri, 18 Dec 2015 09:40:08 +0000 Received: from mail-bn1on0710.outbound.protection.outlook.com ([2a01:111:f400:fc10::710] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9rVG-0003Cl-5F for linux-arm-kernel@lists.infradead.org; Fri, 18 Dec 2015 09:39:12 +0000 Received: from BY2PR03CA003.namprd03.prod.outlook.com (10.255.93.20) by SN1PR0301MB1999.namprd03.prod.outlook.com (10.163.225.28) with Microsoft SMTP Server (TLS) id 15.1.355.16; Fri, 18 Dec 2015 09:38:47 +0000 Received: from BL2FFO11FD015.protection.gbl (10.255.93.4) by BY2PR03CA003.outlook.office365.com (10.255.93.20) with Microsoft SMTP Server (TLS) id 15.1.337.19 via Frontend Transport; Fri, 18 Dec 2015 09:38:47 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Fri, 18 Dec 2015 09:38:46 +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 tBI9cGKp020738; Fri, 18 Dec 2015 02:38:42 -0700 From: Peter Chen To: , , Subject: [RFC PATCH 5/5] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Fri, 18 Dec 2015 17:33:59 +0800 Message-ID: <1450431239-16439-6-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450431239-16439-1-git-send-email-peter.chen@freescale.com> References: <1450431239-16439-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:FtxhEbT/Qws624MomipV09l6sM8lXpjqg0E13BvvtFt5UDWNQvDZzP5YSRa7sSn5TnxoMhk/tvKLTOjUwHkc+U3Co8Lg0BoWivUVJmJBoq/zbKOktCpXAK0Lmm8zKOEMj54H1LcCfyX/yrMACiGAIqcGBemDUAE0S8FaUw1rj3v5cC5w8OU6eirKneXT8+pjJh0jpx+YgZowJPywCG86TCN2u1cjEOinVk1Had9KYpEpcLR4lrMchBtiuv1YeSs/EQXT3DQxLhlEz4wL7m8cN1Hf0b2LDb4PEKi9G0f1oybET4LHl9w1p4NsYjFgFRrtq1GTOR0VvItGo3CB3cN96SlKB5N90vImJ3T1SYrTBEQSlepP0b5UeHJYybq8MLSSQ2at0G3gpe/j0/fxM9/ZCOZLA4QNRLYVRy2MkJLKqwyrh41nHSJkX3G85JFG54cd X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(3190300001)(189002)(199003)(77096005)(76176999)(5008740100001)(2950100001)(107886002)(4001430100002)(50226001)(6806005)(189998001)(104016004)(5001960100002)(5001770100001)(81156007)(36756003)(97736004)(5003940100001)(87936001)(48376002)(586003)(47776003)(50466002)(2201001)(2171001)(85326001)(19580395003)(19580405001)(50986999)(229853001)(1096002)(86362001)(1220700001)(92566002)(33646002)(11100500001)(69596002)(106466001)(32563001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0301MB1999; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1999; 2:Goag42K6MccpJiYVIhIu4+TllcbSVUv/0vKiMAgSqISp5mw4eYt1JUPxPaMx0i4QzwOnilw9HuFZj8syRtQ7sUyyrYmMeJq1qnYs4WoBppg7UljgNCzxjxQKxnSs2dj6IAHebOVWJNzL8gJvbSTtCQ==; 3:lz9VC6yiIu8dEvu/00QO/ip4JKRU9pOfcCsajjRvtjNQIbSbrFMNW6YmGkK/7Acn0NwqGrmrXVYIFrs8p7omBkHJ8SqIrkx4Wl1RvQBecovTUYv9AEEQx2LbDZnpqVQyf7qN2qIyKhKD9bsRfaCAO6JPK0lLVvd4rP3NCOCjc1tmsVX3kKKoVkg8gq4sP0RZEF3HVyVZWEaRzuPPib9Aw3nXWtzBkF24/KK+2GawYcI=; 25:dnPs42KY/fu1iKEUkK3YIkn6WRkYj3FM5O4ARyL7Tha7NKTntx68ieI+qQFXwoq0qdKepjyAju+o59kPEYgoatyif9nwGvu0kisT9tEgbVoFyYEzffTjyq9PwABSjFC+TnoOzhkXf3nTTxLMYscgQufVTiM1EaAxgjn/vOM7kQzhcOugEaAiz/KSQxXfaMq1KaMfeeJ8Yn6kUN7VxS0Cle1+fNMyqPhiuz9zDmAPxL4cTXGnOeRA8tmrB+HbEEsY+FKxeWWeFnvTCuTCINXt2g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1999; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1999; 20:moiJPCOAdmmeb6uVSlsh0jCKYuvcs+TWgDAVEo5o7jlBREUyb2nEoBZr2GcNxhPcp458pywD/Ot3C7knlRTMJdgiWGuDLXqz1IsrH6HgauHsKam50BN8ZofHmjPU4SEXql5kr3NytO2ZRbFDCdl6O54REn29M5PW5imc6cBwGEkOquOyS1M0hfarfB5kbIMmG8RuICIYFBR6Oyxh+i0PHcS8kmP3OQfQi4sI10py0dz3pR000A09Ug25OkuaacpqL16n835i28khfrlJMgk2fxWQmyFW4rehlNQ4CabGRgwt80ENVn60iYY/7dvQHM8vytlPZKipKzr2f58d0Tz+EW+9O6GjcP4bYy+PRPo2/PM=; 4:IZDYq7WC0Rx5/m9wlD5tzLGVW+Ex1O3cd9CfsFCbcrQviyDDyFcA8szBfNGDU+JksgOpmGy/s9Z4nvc5gM7I1wdp6aSf+9YhSikvc0bwaDJvznA6ZDSAvhzWeHUQ78wjSGlCmmyvL7+Lv/yCc2I/WAtru4QFaNVd0kegZzdisTkwawHlhLfX97l2IPKaV8bvD2c3mTk5LOQd8p/itc4y3wvwlk4rC+Jw6F9K0dx03L0wRD/iaxGa7gsLFzFnbk/9JUANJbBsTHFO486CdbPA5mNibioWnJFN/rIabcJ6kqfArrVrBw+3rVqLyWUHxzUCgFQaTfvvfwypmZHHm5rdyLwuk+FIhIxKgswXrhsO4ViNiZXw2B78l0S3rqx/79yLr3fS8DVEdQ1LKveVq6FHe00Q5fUu0NP4mS2Ba5LemxGqfHonpTHr/tgtKbTfNTHR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN1PR0301MB1999; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1999; X-Forefront-PRVS: 07943272E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1999; 23:Xb4ey4alcYuGFSPfDTdMNqhSUgRJyQ8lBXkyBoR?= =?us-ascii?Q?ZFwOpctmc2ZfyExxBphXnzxofiP0gHaXe1siCFXecq1J64EeMU6fDiweTc8a?= =?us-ascii?Q?qiM7Km2K+V8Ct8rQp3XUNQ3amTP3an6fovJxbhqP3/m1EP0Ze2xRUhc8nYul?= =?us-ascii?Q?HdYLUIynkmjycEIWQIddaONhnJAyy7OWB/ifdJmfguSroxdIO6nXCUiIgPh6?= =?us-ascii?Q?gvRIPoUbSNaNo7DLfpSznvg7IFZEk0BuzmK6JwR4YL1hl5aH0Dl5KPLYwlRJ?= =?us-ascii?Q?zPvAKKgqpTlcTNHk1u2H1r9GLB/63jhXquv+oBep0SoQLQHEgC01xr8yK1gU?= =?us-ascii?Q?oXDn3RHBPL7wu5mk6X+a0CedogM6XvbwtxpqRjadY/uQXDslZjbhioR2dYyE?= =?us-ascii?Q?DIODszQxQ69OK1Q8SqEf0XjRVG9IPU5b7/O/0uuiXEMNZJIffGUG5PHbD+sw?= =?us-ascii?Q?C4Kbr2CRvEf1J2PAeDWR0PImPNH/EhXyjUEec0VuSLI3JfGKN9a/zkB5xL7/?= =?us-ascii?Q?tiLm4AWTOQslMhE9aTQh+zjF2Kld5gUCyqgeXj7xLm6P7yxgrBnFNZ7FAfLv?= =?us-ascii?Q?YoY7ClU2pAHclcqLBFrRB8E2pxc72FhY3jB78YFKNF/KlHOTqujxxB2dG8qs?= =?us-ascii?Q?RwAROBY/6cNrzQO/2vmFcZIbYoiB7cNBywKQ6h3aEbpvU4DTisQEGG1lC7Mk?= =?us-ascii?Q?NZhau7xmcR/OUEnmw8XbF/RmQDSiL8pOV34IjSX9yby2Gt8AKKKwHKrAFa4o?= =?us-ascii?Q?mHrB7NvaNHlb34BSij8Ag4cUCVX9mGyFpoAnzWPDJQBXaNDZx7LkBWjs5pjP?= =?us-ascii?Q?0sipcrd2Lz7+b793IePc0cI59f8C+QQvRarT4RGX8yrrvBw7EUtAdB3zwwrS?= =?us-ascii?Q?V1LYgHvVufUNjXEEPyixFcktmm0Oec035Fu6w9aboBoUahbOB+rK9BNlaR2k?= =?us-ascii?Q?6JKF6j/+YU4K789etqaTx+/NzSbPeQ6NjMh31p6ex6UxSE+MV+jVru2yuGGM?= =?us-ascii?Q?YUsELclI1qbFSm77a3hVBimN4c05RFKAXQGeYj0dd6/0v3E48EIM+4n+YxCp?= =?us-ascii?Q?5dBlfsTPUvjTSXQx14XooRr5nm0e4MeKafGNXUtpWqkBsYv5Llh7r8YsVXKe?= =?us-ascii?Q?+Rq5kl+/gYqr1c/VDDotGyG5V6tSzIh8nSh2oHvL9oS7IOO02TwvjMA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1999; 5:2WL3LljYNaZhKzhq64iF0LW+4cUcvGwO02oHIhHDf7Fqg5FUg/YqQ0L0A4uqfCmR9xnOOrVNj/W2b7GBg8tDucVKA2uXatYyMAThV4LR/k2ZbaUykC+WjYt/R/3Z6zM5xLWxp/cd8y1eMtxyq/TnaQ==; 24:oYhBaHZ22bUOCRu/RR2DnJ76tXIkrwF7X5fRGVhlOQg3Vx4FpBsdbMS9aBh+Kyh7qQk54c9AJRBqb1JpgOCHg8GdmELNyIdakjhaS/DMKrM= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2015 09:38:46.9901 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1999 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151218_013910_687318_BF05DF47 X-CRM114-Status: GOOD ( 11.46 ) 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, p.zabel@pengutronix.de, pawel.moll@arm.com, mathieu.poirier@linaro.org, linux-usb@vger.kernel.org, patryk@kowalczyk.ws, balbi@ti.com, robh+dt@kernel.org, arnd@arndb.de, Peter Chen , kernel@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, T_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 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..7155afb 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 = "generic-onboard-device"; + reg = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh>; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <2>; + }; }; &usdhc3 {