Message ID | 1412749470-6028-3-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-sh-owner@kernel.org> X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 47122C11AB for <patchwork-linux-sh@patchwork.kernel.org>; Wed, 8 Oct 2014 06:24:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72173201F2 for <patchwork-linux-sh@patchwork.kernel.org>; Wed, 8 Oct 2014 06:24:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 339DA201F4 for <patchwork-linux-sh@patchwork.kernel.org>; Wed, 8 Oct 2014 06:24:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189AbaJHGYs (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Wed, 8 Oct 2014 02:24:48 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:49353 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754181AbaJHGYp (ORCPT <rfc822;linux-sh@vger.kernel.org>); Wed, 8 Oct 2014 02:24:45 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 08 Oct 2014 15:24:44 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id C5C2D3F456; Wed, 8 Oct 2014 15:24:44 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id ACB7A480A6; Wed, 8 Oct 2014 15:24:44 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 9C2F4480A4; Wed, 8 Oct 2014 15:24:44 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id RAK21788; Wed, 8 Oct 2014 15:24:44 +0900 X-IronPort-AV: E=Sophos;i="5.04,675,1406559600"; d="scan'208";a="170836233" Received: from mail-sg1lp0092.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.92]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 08 Oct 2014 15:24:43 +0900 Received: from localhost (211.11.155.132) by HKXPR06MB325.apcprd06.prod.outlook.com (10.141.133.15) with Microsoft SMTP Server (TLS) id 15.0.1044.10; Wed, 8 Oct 2014 06:24:42 +0000 From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: <horms@verge.net.au>, <magnus.damm@gmail.com>, <robh+dt@kernel.org>, <pawel.moll@arm.com>, <mark.rutland@arm.com>, <ijc+devicetree@hellion.org.uk>, <galak@codeaurora.org>, <linux@arm.linux.org.uk> CC: <devicetree@vger.kernel.org>, <linux-usb@vger.kernel.org>, <linux-sh@vger.kernel.org>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH 2/2] ARM: shmobile: lager: enable USB3.0 Date: Wed, 8 Oct 2014 15:24:30 +0900 Message-ID: <1412749470-6028-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1412749470-6028-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1412749470-6028-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: HKXPR02CA0056.apcprd02.prod.outlook.com (25.161.48.41) To HKXPR06MB325.apcprd06.prod.outlook.com (10.141.133.15) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB325; X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(189002)(199003)(48376002)(64706001)(105586002)(89996001)(85852003)(92726001)(66066001)(88136002)(87286001)(87976001)(31966008)(106356001)(50226001)(36756003)(62966002)(107046002)(122386002)(95666004)(99396003)(4396001)(85306004)(47776003)(97736003)(42186005)(77096002)(20776003)(50466002)(575784001)(92566001)(77156001)(101416001)(93916002)(50986999)(76506005)(120916001)(19580395003)(76176999)(229853001)(76482002)(80022003)(102836001)(104166001)(21056001)(42382002)(78352002)(46102003)(19580405001)(33646002)(40100002)(88662002); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB325; H:localhost; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:0; A:0; LANG:en; X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: <linux-sh.vger.kernel.org> X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 |
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 719979e..3f51be1 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -419,6 +419,12 @@ pinctrl-names = "default"; }; +&xhci { + status = "okay"; + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; +}; + &pci2 { status = "okay"; pinctrl-0 = <&usb2_pins>;
Since the PHY of USB3.0 and EHCI/OHCI ch2 are the same, the USB3.0 driver cannot use the phy driver when the EHCI/OHCI ch2 already used it: phy phy-e6590100.usb-phy.3: phy init failed --> -16 xhci-hcd: probe of ee000000.usb failed with error -16 If so, we have to unbind the EHCI/OHCI ch2, and then we have to bind the USB3.0 driver as the following: echo 0000:02:02.0 > /sys/bus/pci/drivers/ehci-pci/unbind echo 0000:02:01.0 > /sys/bus/pci/drivers/ohci-pci/unbind echo ee000000.usb > /sys/bus/platform/drivers/xhci-hcd/bind Note that there will be pinctrl-related error messages if both internal PCI and USB3.0 are enabled but they should be just ignored: sh-pfc e6060000.pfc: pin GP_5_22 already requested by ee0d0000.pci; cannot claim for ee000000.usb sh-pfc e6060000.pfc: pin-182 (ee000000.usb) status -22 ata1: SATA link down (SStatus 0 SControl 300) sh-pfc e6060000.pfc: could not request pin 182 (GP_5_22) from group usb2 on device sh-pfc Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm/boot/dts/r8a7790-lager.dts | 6 ++++++ 1 file changed, 6 insertions(+)