From patchwork Wed Jun 1 08:02:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9146305 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 6C8DC60751 for ; Wed, 1 Jun 2016 08:10:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B04220410 for ; Wed, 1 Jun 2016 08:10:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D88E26785; Wed, 1 Jun 2016 08:10:02 +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 3353B20410 for ; Wed, 1 Jun 2016 08:10:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750842AbcFAIDE (ORCPT ); Wed, 1 Jun 2016 04:03:04 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:57869 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572AbcFAIC5 (ORCPT ); Wed, 1 Jun 2016 04:02:57 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O8300GH32CUV040@mailout3.w1.samsung.com>; Wed, 01 Jun 2016 09:02:54 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-1b-574e96ae3e51 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 43.2E.04866.EA69E475; Wed, 1 Jun 2016 09:02:54 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O830012K2CGIS90@eusync3.samsung.com>; Wed, 01 Jun 2016 09:02:54 +0100 (BST) From: Krzysztof Kozlowski To: hzpeterchen@gmail.com, Ulf Hansson , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Krzysztof Kozlowski , Javier Martinez Canillas , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-pm@vger.kernel.or, Alan Stern , linux-usb@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Greg Kroah-Hartman , Bartlomiej Zolnierkiewicz Subject: [PATCH v3 12/12] ARM: dts: exynos: Fix LAN and HUB after bootloader initialization on Odroid U3 Date: Wed, 01 Jun 2016 10:02:21 +0200 Message-id: <1464768141-25420-13-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1464768141-25420-1-git-send-email-k.kozlowski@samsung.com> References: <1464768141-25420-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e/4Vd110/zCDfo+SltsnLGe1WLSk/fM FvOPnGO1mLhyMrNF/5uFrBbNi9ezWXRd3cRmce7VSkaLN2/XMFm8fmFo0f/4NbPFpsfXWC0u 75rDZnHkfz+jxcyLq1ksZpzfx2SxaFkrs8XS6xeZLCZMX8ti0br3CLvF6d0lFhN+X2CzOL42 3EHcY828NYwel/t6mTx2zrrL7rFy+Rc2j80rtDw2repk87hzbQ+bx/65a9g9Ni+p99jSD1Qw ++4PRo++LasYPY58nc7i8XmTXABfFJdNSmpOZllqkb5dAlfGhmOrWAsWcFbM3XKNrYHxLHsX IyeHhICJxPf/U5kgbDGJC/fWs3UxcnEICSxllNi5cRWU08gksf/tRTaQKjYBY4nNy5eAJUQE OtgkNm19AzaKWSBb4tS996wgtrBAlsT53X9ZQGwWAVWJtR8awGp4BTwkvn1fyQixTk7i5LHJ YPWcQPETE/6DxYUE3CUap01mncDIu4CRYRWjaGppckFxUnqukV5xYm5xaV66XnJ+7iZGSCR9 3cG49JjVIUYBDkYlHt6Ky77hQqyJZcWVuYcYJTiYlUR4BSf7hQvxpiRWVqUW5ccXleakFh9i lOZgURLnnbnrfYiQQHpiSWp2ampBahFMlomDU6qBMUKu90P4seIk48B2bfX7qu91bLNnOeYd TlEMY+9SbOVZ9v9K3uJwrtXfeDOU++Izb5e+PfDPQKhszRFPae/A91MVPslpBlhVz+bru3fI t3iHqaxOgd3U5MoDN4UuZ540l+c43Hv6udu5my+DE5caPGn98k931jmLQmbzwmaP7bXCZ02n lDYpsRRnJBpqMRcVJwIAOMeTKqACAAA= 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..23e30e4609df 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; + ext-supply = <&buck8_reg>; }; &ehci { port@1 { status = "okay"; + usb-pwrseq = <&usb3503>; }; port@2 { status = "okay";