From patchwork Thu Jun 9 09:44:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9166581 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 A3BBB607DA for ; Thu, 9 Jun 2016 09:48:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92E552830C for ; Thu, 9 Jun 2016 09:48:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 874F128336; Thu, 9 Jun 2016 09:48:57 +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=BAYES_00, RCVD_IN_DNSWL_MED 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 242802830C for ; Thu, 9 Jun 2016 09:48:57 +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 1bAwYh-0000bD-ME; Thu, 09 Jun 2016 09:47:27 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bAwWh-0005ZL-LY for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2016 09:45:24 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O8I006F00F1YW70@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2016 10:45:01 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-51-57593a9dff7b Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 6F.05.04866.D9A39575; Thu, 9 Jun 2016 10:45:01 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O8I006RA0EHZZ10@eusync1.samsung.com>; Thu, 09 Jun 2016 10:45:01 +0100 (BST) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Krzysztof Kozlowski , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Liam Girdwood , Mark Brown , Greg Kroah-Hartman , Hans de Goede , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Heiko Stuebner , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, hzpeterchen@gmail.com Subject: [RFC v4 14/14] ARM: dts: exynos: Fix LAN and HUB after bootloader initialization on Odroid U3 Date: Thu, 09 Jun 2016 11:44:31 +0200 Message-id: <1465465471-28740-15-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1465465471-28740-1-git-send-email-k.kozlowski@samsung.com> References: <1465465471-28740-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWRe0hTYRjG+845OzubDg9L66RgMRJ0mGVFfkhISOFHEBQEy4Jq6WGz3Byb SkqgooaJzpWEq3Rq29LpbLUpmnmpMbwgXnLeErOmUjKlCV6QoItO+u953+f3Ps8fL4ULzUQo labMZNVKabqI5BNDf/rdx2rikyUnRhoj4Fu9jQOfepZI+GTJh8Na1wgHPrZU4rBitZ4DC402 Eq72V2Hw78IKB5ZO2kk44rUAuLIcC7cmSjBoX5ziwAHtGge6O6tJ6PpbAeB6uQtA/WgPBl++ KsahefoTBnVVLQR87VnGYHG3iwuH3mdCW+0sCftbJOfCkNVgBcitLcfQu+dfuMjSsEEiR6MY ecfmCGRvekSiuakuEvXWWLnIYcpDvp5JEmlbmwBqnzLgqH+mHUPr9vDLQdf5Z1PZ9LRsVn08 4TZfvvWzHqjqePe7VidBPhjmlgIexdCnmTbtG3xPH2DG5m1kKeBTQtoMGF3bC2xvKMAYQ9EE sUuR9CnG0WDyU8H0OJeZGW/Hdg2chkxbW7M/dj8tZ8bcen8sQUcwHQ9ndo4pSkAjZs2s3GsL Zwb7Kjm7mrezXphf9ONCOonpNlaSOiCoA/uaQAiblaLS3JEpTsZopApNllIWk5KhsIO95212 AHNfvBPQFBAFCiJTr0mEHGm2JkfhBAyFi4IF23HJEqEgVZqTy6ozbqmz0lmNE4RRhOig4Fmn 76qQlkkz2Xssq2LV/12M4oXmAyuWkPgjYDwpkTQZgCdCYpEH5rbORVfLvPqEj1cuHPFCsSn5 /OzFBznL4hDjd13p0e0P0WdKCk01hz877toGtb+MOXHGgZvFGyZT0fChjEtqFBk1ui5fiaIK ysrq8tz21t8Bjk2P/euE8sb0OBFYneVszl9RLfrKMohvQb0iQiOXxopxtUb6DxpO4m64AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160609_024524_004531_363DA6F1 X-CRM114-Status: GOOD ( 17.28 ) 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: Bartlomiej Zolnierkiewicz 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 On Odroid U3 (Exynos4412-based) board if USB was initialized by bootloader (in U-Boot "usb start" before tftpboot), the HUB (usb3503) and LAN (smsc95xx) after after successful probing were not visible in the system ("lsusb"). In such case the devices had to be fully reset before configuring. Reset by GPIO (called RESET_N pin) and by RESET field in STCD register in usb3503 HUB are not sufficient. Instead full reset has to be done by disabling and enabling regulator. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 31cdc036fda4..8fd50061d91b 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -99,11 +99,15 @@ clock-names = "refclk"; clocks = <&pmu_system_controller 0>; refclk-frequency = <24000000>; + + power-sequence; + vdd-supply = <&buck8_reg>; }; &ehci { port@1 { status = "okay"; + usb-pwrseq = <&usb3503>; }; port@2 { status = "okay";