Message ID | 1464065860-3948-5-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> 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 CFFB56075E for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Tue, 24 May 2016 04:58:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7E51281CB for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Tue, 24 May 2016 04:58:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCA052827C; Tue, 24 May 2016 04:58: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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 A5866281CB for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Tue, 24 May 2016 04:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbcEXE6d (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Tue, 24 May 2016 00:58:33 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:11228 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751154AbcEXE6b (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Tue, 24 May 2016 00:58:31 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 24 May 2016 13:58:29 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id DDB9244B7B; Tue, 24 May 2016 13:58:29 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id BAF4B1800A; Tue, 24 May 2016 13:58:29 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id BA52018070; Tue, 24 May 2016 13:58:29 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id PAE14517; Tue, 24 May 2016 13:58:29 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="211477260" Received: from mail-hk2apc01lp0210.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.210]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 May 2016 13:58:29 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BU/IiTYUpL1bH9/pM4OMQuU353H1zYSZsp1ikgpa1/E=; b=Jg3sAo12tuh5Qlg+SbuU5290I4zxpvTSDC1KoGOygZWn9Z1MVCpPUnI3FVyHatQEfeqSk/jahyBHsg2N/JLd4nRyzkZNQbwew1yHqCf/IKJfG+6APvnOcX8E1TlCVCv198YVsBqFRHuBz6FlKqPZeNFO9rcg8SHIF4nwH52WIA8= Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; verge.net.au; dmarc=none action=none header.from=renesas.com; Received: from localhost (211.11.155.144) by HK2PR06MB0916.apcprd06.prod.outlook.com (10.162.247.11) with Microsoft SMTP Server (TLS) id 15.1.501.7; Tue, 24 May 2016 04:58:27 +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> CC: <devicetree@vger.kernel.org>, <linux-renesas-soc@vger.kernel.org>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH 4/4] arm64: dts: salvator-x: enable HSUSB Date: Tue, 24 May 2016 13:57:40 +0900 Message-ID: <1464065860-3948-5-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1464065860-3948-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1464065860-3948-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0016.jpnprd01.prod.outlook.com (10.161.74.154) To HK2PR06MB0916.apcprd06.prod.outlook.com (10.162.247.11) X-MS-Office365-Filtering-Correlation-Id: 751dfc7e-632c-4692-9443-08d383900b6b X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0916; 2:n7E6K9TvQzQJEzbMfYbpyFfgjZ/3QsbHz9O2YpjtEAN+Q7zqAPKnNEfPgTrcN7A8iftuXHP0IRd4jv/xt1Bu2PG0zw5Z5+rrJ3PQGIIGHBi9ikODTlSI5ilj0eoDMXS7sFQO/85NK7N6X+6EcrTrlWZK3eN8P176upQJgE6P/jr/AYYvzKMTZJswPgTyO51A; 3:z/AyfMz3OXpjiAb06cKR7H2alpjjHbTeAj5NaFv4XcRQAdktcWos9oFpus6Tw/BcZGYl/xtw/PnEbINT0gh5NLSA14OTQ0Hgqrawd0ykZTu1BLDIhqt2+akYcOJX046R X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB0916; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0916; 25:TklbN21auXPGMYbH+h+Ry/XR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X29ICfLT3mjgDksOAxpvgQSb1QtQpxXPYWKpc7JYFVRCgqwsU6xVkk2JlkJAZBtz2bWW5F6cYR0WWtLsKXZO7IyrTRN7EFTtL3nwQ5KTeDGGQXUhZlkvXU2EtQtGC1cHtgANdGc1ZrWIrevTjbKNXvT4TAMgGPzcVak+6hcOKEXDxe9lhkK2W+32/CTZjDRU/; 4:rl4HatQ6gG6gQcoi6DsfZcsOkJO+t5540M9Ufm6jWt3xgoRJxDURT6l64KJFS2Xr/F2Bgp1uyEssVNJc1kbtKNf3Q9bFYyVR8FoAHircmRLOF/8S5j+VF2Ighf+N9dlY1x6jp4S6P3anE9UO0N0Dfp6LSlU5F5iUuhFERxRBj7995mtA7uiE+Z6NKuNY7ltre1xPkugdjkF7ES7P6surJfG8k6tlgwYuFpjyp0XCTf0U+X6vKeNjv6Z4ShHcv5djw3HRH+bjYbdUssZwPFPZymJb7F69BwOBMybJN8/Z/BmmIePnxvSkSkgj9AMFqv9JVtcFKBmFfd0Z9a2eynIbgyIjRZckSK06El6JWcQrOkFhsNKGwZqJ04Oj1Ysvum/ZCeU+kiWBTX7pMBzRiasOHQ== X-Microsoft-Antispam-PRVS: <HK2PR06MB0916EF5DC6C68307BA0F1174B84F0@HK2PR06MB0916.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:HK2PR06MB0916; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0916; X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(42382002)(4326007)(76506005)(2950100001)(42186005)(78352003)(2906002)(6116002)(33646002)(66066001)(229853001)(3846002)(5003940100001)(48376002)(76176999)(50986999)(5004730100002)(77096005)(107886002)(189998001)(5001770100001)(5008740100001)(50466002)(19580395003)(8676002)(19580405001)(81166006)(50226002)(36756003)(4001430100002)(92566002)(586003)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0916; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0916; 23:f8GGba40R+ALmsPBeZiqA5ytUccIEFxD18xLlbUTK?= =?us-ascii?Q?X4KwUBDOIeh00u7ttYuCQpLO5RowthFQpbZW0R7Xb8I9ml5Fxm/EVKqY0EUx?= =?us-ascii?Q?4FuuE2FEkcFm9AErkP2rVOf4TwzvDLXB28+YqxdwRZrie/3aanlLEeSkgHX1?= =?us-ascii?Q?FRNNhvYbzlGmqAY/XA89N9SyWEhcnv1/wHPkQ0l0GZvW0tILut1iwyHWwBZb?= =?us-ascii?Q?S8BfF+4ChInC3vlz0UbkGFHFoSBNY87L0NGRZDKVmT6X4oONxYkLlkC+v6RJ?= =?us-ascii?Q?ajVpfad5Ij/IFBqwRhxQC0V5HVo2M2sUF2VKEAnSLKOOjeDsBRkYRPRG41RW?= =?us-ascii?Q?7+hU+D50kCnb5ivLHEjkpZqayNyAHOH5762IZnoaZIDWw7nWssqBVC5VhUeC?= =?us-ascii?Q?XCozSIttNeiWvol+x1RkJ6bg3r5HfMLgi3rUjFQDhtZ/BN3eSD70UxWr/zTs?= =?us-ascii?Q?cjZFjglkIItiqUwYpk/6524w5R0lnnKao9IC+fScFNtrZvopjK70xJ8eldPA?= =?us-ascii?Q?+tLQVUYI+RRoC64RvcHsZKhJCv5eQ9HuFnabF04oS6UVkqQfzs2+YmEsn6Qq?= =?us-ascii?Q?TG3ykSaVrIlCZOj6ffSe9zaVE494azS+tCqLD7y6xj/sWbTdOdj6qdXEcPQr?= =?us-ascii?Q?nJXFA7PHZctfpn9nTeWx1sc530gsM35ITsxZ0pLUJKNdwL8D7Ke5ykhUh1x9?= =?us-ascii?Q?rPFWshUkZSNqMBJibLP8CsgJc+g/GCTBkfbCJEiCh0B4v69Bui+ZzSTM4wZs?= =?us-ascii?Q?kMkhJWd3jue9p1kk6U8Vw/QR+Tuf/QMYRYEtpUfSNWLvr3HVmK37FJCrtrzU?= =?us-ascii?Q?Twve17DkywIG5BtMpGQkQ0pAimKsRm3cDvL2PMmjHpOcJ0XwitDZ6qW7Z7nM?= =?us-ascii?Q?SS13DgaCUZx2J7zol1EkK3eP75lsnRzh3VpMw1t8ql2Recm3w/vK4uvHKHSW?= =?us-ascii?Q?8YLulC5wipWj53lLDpnZKUGpQOSXEtkSnM6pAm6DA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0916; 5:hFPMZSbVe4EbxaCZWkOCOyw//2M7goGeBVM0q98Zmcg+q05kL0DPXYJiCnlWOS2wAkwU3GgraG/u966sPPIsjzYBkuJy2k5snH1ELiyd7JpYfzCJILIGXKMHtjnHmHYJhF/HzLKCWPv/V+A85Sigkw==; 24:0y6Z4ZNsGdIcIPJFxFVbamDlwSkLnNebwGYL+E2VQyjZuGXQCy0+nF1y4b3sHsxzYM8xxpGEY5JjntRPWyfd17n2dwPs66kKO2NyIcO0/U4=; 7:uYo1B8EEuSDujEmExlETmmzewXzuSFRKsMNpGJ55do//ELyocgRma8n/ucsipAwlbj5YxAObotfrhlu8Z8DXJPv1dYGLbpCMk9G8MuimJJWJxs7rwhM+DG8QRD510d8Cjp3gyTIrvAD1/if46h7R3sAfrlbs1HDBOOugPfwoIqEAyZWZEcjBUT+iQOmU9Xqn; 20:KW+Viv2yYEAvjmBoF/yGTw7hwhk7YzFP96Xw+vEjXxkFodZrvSsrwVKTec1Z9WCJffbBJCSNc8+H8qrerR0YAgD8QCdxbPjVHonSbXnc616ycunbIc87wzedZsCVBGs/O2xOIAdqWsdILjz8doK7eEVaN8KSaDH7qvGWjrAonBA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 04:58:27.6375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0916 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 3367f9c..b2852e7 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -603,6 +603,10 @@ status = "okay"; }; +&hsusb { + status = "okay"; +}; + &pcie_bus_clk { clock-frequency = <100000000>; status = "okay";
Since related drivers doesn't support OTG framework yet, the renesas_usbhs driver cannot detect VBUS in particular situations. And then a gadget driver doesn't work correctly (even if a USB cable is connected to a USB host, nothing happens). However, we can avoid such a situation if we operate the followings: 1) rmmod/unbind all gadget drivers 2) rmmod/unbind the renesas_usbhs driver e.g. # echo e6590000.usb > /sys/bus/platform/drivers/renesas_usbhs/unbind 3) connect the USB cable of CN9 to a USB host 4) insmod/bind the renesas_usbhs driver e.g. # echo e6590000.usb > /sys/bus/platform/drivers/renesas_usbhs/bind 5) insmod/bind a gadget driver Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 ++++ 1 file changed, 4 insertions(+)