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: 9166535 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 6D69E607DA for ; Thu, 9 Jun 2016 09:47:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CD692830C for ; Thu, 9 Jun 2016 09:47:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 514AF28336; Thu, 9 Jun 2016 09:47:19 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09F022830C for ; Thu, 9 Jun 2016 09:47:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933559AbcFIJpO (ORCPT ); Thu, 9 Jun 2016 05:45:14 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:58853 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932752AbcFIJpK (ORCPT ); Thu, 9 Jun 2016 05:45:10 -0400 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>; 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 Cc: Bartlomiej Zolnierkiewicz 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 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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";