From patchwork Mon Dec 14 07:26:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7841911 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 89532BEEE1 for ; Mon, 14 Dec 2015 07:32:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5BF620375 for ; Mon, 14 Dec 2015 07:32:54 +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 CFBDA20522 for ; Mon, 14 Dec 2015 07:32:53 +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 1a8Nbb-0002f6-4p; Mon, 14 Dec 2015 07:31:35 +0000 Received: from mail-bn1bon0137.outbound.protection.outlook.com ([157.56.111.137] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8Nb6-0002GL-Q8 for linux-arm-kernel@lists.infradead.org; Mon, 14 Dec 2015 07:31:06 +0000 Received: from BLUPR0301CA0034.namprd03.prod.outlook.com (10.162.113.172) by BLUPR0301MB1986.namprd03.prod.outlook.com (10.164.22.12) with Microsoft SMTP Server (TLS) id 15.1.355.16; Mon, 14 Dec 2015 07:30:42 +0000 Received: from BY2FFO11OLC005.protection.gbl (2a01:111:f400:7c0c::129) by BLUPR0301CA0034.outlook.office365.com (2a01:111:e400:5259::44) with Microsoft SMTP Server (TLS) id 15.1.355.16 via Frontend Transport; Mon, 14 Dec 2015 07:30:42 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) 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 tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC005.mail.protection.outlook.com (10.1.14.145) with Microsoft SMTP Server (TLS) id 15.1.346.13 via Frontend Transport; Mon, 14 Dec 2015 07:30:42 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id tBE7UI9c024346; Mon, 14 Dec 2015 00:30:36 -0700 From: Peter Chen To: , , Subject: [PATCH v2 3/3] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Mon, 14 Dec 2015 15:26:14 +0800 Message-ID: <1450077974-22762-4-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450077974-22762-1-git-send-email-peter.chen@freescale.com> References: <1450077974-22762-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC005; 1:ZDW7vV1jKRMYweXI6g+Q5189qPhaxtDDfJacjipeUVIQ6QN80YSD81aohDy6zV/Wy6h1n4O0EvFY/E2elAzsORBKN3ueZKHIR5qCLhqNQOVOBksHHKJi++XumddXT6/GUzrgLpGCA/LD3ZTsOG4ioHFzCqQ80YhdAPubbvweDXVnfNAxnsA36lFVe3KHnQ633t71r3uunfqewhIQthbgMLfUs5Sn7P9ClMKWQUZE8T22MoShKU3BMuAaPMEUx62OZvWkccE9jvfPPGRkY84vTcAo5m3KuUer1ehfVmLe2AtZzlvlrMZ2NPT5WyVXKXkxPa74DBFj/y/0qoqEx9gS+Jdmqw7gdERjzH7jlmicL6PpGJYuYwpNPFdipN+l2fFa+KCpHQvjbSo2eDOgYllHKWRgViGxM99SS8wMmaPLp6hjKNs1ftJpf7SKcGpzd4mbfm/hUr4fU8zeGYDSaps7UA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1060300003)(448002)(189002)(199003)(97736004)(1220700001)(4001430100002)(6806005)(104016004)(85326001)(5003940100001)(1096002)(50986999)(5008740100001)(77096005)(87936001)(2950100001)(81156007)(606003)(5001770100001)(48376002)(50466002)(19580395003)(5001960100002)(107886002)(76176999)(106466001)(47776003)(11100500001)(110436001)(2171001)(50226001)(33646002)(36756003)(86362001)(92566002)(4290100001)(2201001)(229853001)(19580405001)(32563001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0301MB1986; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1986; 2:1q0sGtoMWL0nqrHGGkRS4XzXSAmidgxqvs/uWek7xkntAmTEcrVNT2m+vWBkc/9rNZ7HRzGz6sBf5iEKZV5c1s2saK1AkcNUItxbJz0cc7uX9jjSTJczOaVdppNUu0tF1rVTUhxVFsvwOCR3/CutCQ==; 3:2f3pt4Glf1t4Gf4Dlwq5cpKdv9LvIHOaUhsMUOx+M4oBFPD2hwN9zJ/kQzVZ+qO7UtWa6fFawnk+m8mBnkMxuQOhu9bXjOCFR78FeoZRuykRlp8MNnvIKE6loX3SP0SIVMYfNKrRlqQlcstzbAczoPwGOLNda9HiyqldNtDKkpPU7/UaOG5SKOfCKySSFfsSX4FePU9nWzRIzL+jKLGgVWfqRb6vOrXAaLz9UEzQo/U=; 25:x926XmYYz3X/Ckw0YB4e2nHG00ttCtVwAP6Fy/kUCXDnRwyqQDY401X7/MUkpMWsbUFHUPkcfBKCqUBtpmUMHOudFLjuqGMVf+aa9VhDg9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s6j61/fE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:1; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(1201001)(3002001)(10201501046); SRVR:BLUPR0301MB1986; BCL:1; PCL:0; RULEID:; SRVR:BLUPR0301MB1986; X-Forefront-PRVS: 0790FB1F33 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0301MB1986; 23:gPrF+xOxnA9FHHt8lvnFfRDqs6VnIBdG7CwhusH?= =?us-ascii?Q?bXTt7zWPhWGnyhCiJ1HFF5qI8ASGgwVwy1c6a1YmQ54YuQ7KOnhG8IxisFyP?= =?us-ascii?Q?R+r3VxckfbXP/gjyQtDlYS/9UplaOmS86CU9wUQK+D8WP7lis07+6mJfj7er?= =?us-ascii?Q?xnGNdDdLY+Y7+6XoWSYBMjhIDNo3Rv7N5kq2Ta9Qaw6z/XY/ksYwBHRYwLRu?= =?us-ascii?Q?pmtSQv9A0lxKd7OTVXUDdf/EquVHRKt7Lt5ZRQe6ZjAePjexnPOWOyslrKb7?= =?us-ascii?Q?zgjLCzvELXXDLOMCqnDVkQGWotOoXebfDWh1J238Pb+KwUCAp7+1lImnGMMG?= =?us-ascii?Q?weoOgjoPloWnwibsB8F5SN4Kgp3rAor1sxX4VcPrhTw5wL+UfGtZTZmhv5Oa?= =?us-ascii?Q?bc56acVPOJrY99VakjV6OX79rAPW07gek4gTXVdwspHcxftP4vEoIUDmWXpq?= =?us-ascii?Q?Mo5RGUcaAKFYnppW8mCfm5dB56S1X5AgnOxLUI+/9ksdasVwvvkhT+ZLAhFM?= =?us-ascii?Q?uiMHMtQVIXXcnN4eSOjCEb5IrTaxArPoomZnuZP7r4HRaY59WzYGh1wHwgAa?= =?us-ascii?Q?bjMqvi7Ccc/VUVujJuyayw3Kubtkny2e3rlrFzwknA7VxPqUkbQdiSYZLUGg?= =?us-ascii?Q?4QN4BIwyd2238J14bSASqgTf05dQGOs6vaKbH5Ctb/bn0W2owxQPV0OkVjQE?= =?us-ascii?Q?AoUo9oyPo3WbpNldc9XXIpBjjFvkKYoe4eq1cI0pgRZGUgM8vTJvhpZBLxuA?= =?us-ascii?Q?wFmwlV6OtTHq3bcFzluyga+jzvCiWRsEWboOnNcoYb0cWYwTiywDE684WqMS?= =?us-ascii?Q?hV+zQ4DMbcuTdv1L/3UB95TPTYJXrxm4YOzEuJahGiRkhH0VAIwYUZGIxqIV?= =?us-ascii?Q?1jdeAnR4A15KcYnyQ7DU5a9l1/9LTwON9lmQQnFAwPuHYmGGQIvr3tQfnm5n?= =?us-ascii?Q?9H+hANefvSI8Lt01XuVHEO2yoGzAjGdXPX+4tj9gbS3w6a5sIDzlMxfCk19Q?= =?us-ascii?Q?hB1a3j+DL8hg9fzXFG8qgf8KLlAPPiz+9Ct6igqA4epPIZwUPGkPqrtMWIxy?= =?us-ascii?Q?Sov8cBP7EaPgUq1sCiFe170PzSsb3eJif01J1xY+leIxFI8YuBJcGcRd34lD?= =?us-ascii?Q?yiHq5oscgC98FoRNmyimaM6ytHHGVeHKzMUA/aMyRXDlzPna9f25GUQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1986; 5:9K/Jzye5LCIDJ2AUCVxThjnpBQQFcBbJPc9OcQmtcjzrFKMgfKPUa0ugXSSmCRnfvaUINjrJFPMDWt0DRGzbofG8i/MCqysap/aPBMU45AgyLJu21D9Y9ErFYOsjIzgiyNl/no4/l+WADtSjY7/PSA==; 24:NEXvVg6X6sRmgjEFkJ2XXFcugk/GgPyYgoOh5B9yK+q7d/GOF7JvLIWFgywJfUwUiy8tTfHGqyZ9ZX18zmfdcabx1c1rHpZcGPLZlM2/7v0= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2015 07:30:42.1961 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1986 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151213_233105_341151_A4949302 X-CRM114-Status: GOOD ( 14.61 ) 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. Fix it by using a generic USB HUB entry. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 1211da8..64eabe2 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; @@ -18,21 +20,11 @@ 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>; - }; + usb_hub1 { + compatible = "generic-onboard-hub"; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <2>; }; }; @@ -119,10 +111,6 @@ }; &usbh1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks 201>; status = "okay"; };