From patchwork Thu Aug 11 16:40:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9275637 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 5AE9860780 for ; Thu, 11 Aug 2016 16:43:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DCBD28732 for ; Thu, 11 Aug 2016 16:43:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 421E42874B; Thu, 11 Aug 2016 16:43:34 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 E1BA928732 for ; Thu, 11 Aug 2016 16:43:33 +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 1bXt3a-0001pg-QB; Thu, 11 Aug 2016 16:42:10 +0000 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXt2W-00014Y-B7 for linux-arm-kernel@lists.infradead.org; Thu, 11 Aug 2016 16:41:06 +0000 Received: by mail-pa0-x243.google.com with SMTP id ez1so37350pab.3 for ; Thu, 11 Aug 2016 09:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+Ue/asm2KRMvtnPAc175CLDVn9IGtQzrPlPhYGKx5Eg=; b=x3GrOW6hEJ1z3XpzWnmzyGbE/yvfeela59ZbFY1PSoDhkVDJyMdxpKxaUYfFVZTbGu Z0jRxMDL0mtNnwx2utCXb/EpjZLaN7GFhcD5c3yLMdAqTes99WIDJ6Dc5J/sCcZethaH sj4eXehTynhaELGi24LXgfU2Zo50dQxzM4f2EwomeoHJj2HMOQogADUFsMEKwi3734uH dEccInAVeiqBY0AJW11wMV2e1VUXpjGhSjtclAuevSmck6TV+Fg0g3u6/L14weRwCORo cwOVYh6CMBtwvhGLH9zT1Y6sZ/248/+E1e+gBFRO8z9b/eH45ERi0C1Oyjj47lAVkbAW srvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+Ue/asm2KRMvtnPAc175CLDVn9IGtQzrPlPhYGKx5Eg=; b=aTtzdE9aE4/tp7KRZwHxWVNGuHvPo/kJwrAsZRIoK/iBIHJfbxQOgvetlFP6tbZdK8 n1uZ3Gp3itRLs0Gtmu8GTwQTILncQoLQXg939fSr+g7csNPlpWZqRI0a3p0dhyhhV1ps JQrvfeWsiejmEuP6kAmaTcypG1boF/ei48VZ4glCxD88Ulw6nuRf/adSj2/fcFCie81J tBghPV7DUzjiIbRuP5yWqn4XpJVQ8YJPWfWH7o9iYB0Z1eYIr5scA9nu0h3OGnVEh/sE 84kM6MI422Y8NR6tIG7nA8R40GYsRIZ5Gls5moHfilkmKSQXb9LFM8hP4YurXaF43UeS d+HQ== X-Gm-Message-State: AEkoousoZ4UnKMIYtIRk3Lz3/dGz8LBRkoOjDRaiN+LECFXEKLtg9xcn4lnJd5NgFMFg8A== X-Received: by 10.67.7.170 with SMTP id dd10mr18689927pad.152.1470933646477; Thu, 11 Aug 2016 09:40:46 -0700 (PDT) Received: from jclayton-pc.columbia.uniwest.com (68-185-59-186.static.knwc.wa.charter.com. [68.185.59.186]) by smtp.gmail.com with ESMTPSA id sy7sm6551643pac.42.2016.08.11.09.40.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 09:40:44 -0700 (PDT) From: Joshua Clayton To: Peter Chen , Shawn Guo Subject: [PATCH 2/3] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Thu, 11 Aug 2016 09:40:31 -0700 Message-Id: <1470933632-22133-3-git-send-email-stillcompiling@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470933632-22133-1-git-send-email-stillcompiling@gmail.com> References: <20160810030254.GD1879@shlinux2> <1470933632-22133-1-git-send-email-stillcompiling@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160811_094104_520106_B36A6223 X-CRM114-Status: GOOD ( 10.56 ) 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, Peter Chen , ulf.hansson@linaro.org, stephen.boyd@linaro.org, k.kozlowski@samsung.com, linux-kernel@vger.kernel.org, festevam@gmail.com, Joshua Clayton , pawel.moll@arm.com, dbaryshkov@gmail.com, mka@chromium.org, stern@rowland.harvard.edu, dwmw3@infradead.org, devicetree@vger.kernel.org, mail@maciej.szmigiero.name, arnd@arndb.de, linux-pm@vger.kernel.org, s.hauer@pengutronix.de, troy.kisky@boundarydevices.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, oscar@naiandei.net, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, sre@kernel.org, broonie@kernel.org, p.zabel@pengutronix.de MIME-Version: 1.0 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 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, and power sequence properties are under it. Signed-off-by: Peter Chen Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 3bee2f9..44b2a24 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>; @@ -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 {