From patchwork Tue Oct 7 11:10:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 5045081 Return-Path: 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 5853CC11AC for ; Tue, 7 Oct 2014 11:11:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95FF3201F4 for ; Tue, 7 Oct 2014 11:11:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE2A1201F7 for ; Tue, 7 Oct 2014 11:11:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753581AbaJGLLB (ORCPT ); Tue, 7 Oct 2014 07:11:01 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:19422 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753423AbaJGLK7 (ORCPT ); Tue, 7 Oct 2014 07:10:59 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 07 Oct 2014 20:10:58 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 1E00D4704D; Tue, 7 Oct 2014 20:10:58 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 1D8918002E; Tue, 7 Oct 2014 20:10:58 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 171998002D; Tue, 7 Oct 2014 20:10:58 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id WAM18072; Tue, 7 Oct 2014 20:10:58 +0900 X-IronPort-AV: E=Sophos;i="5.04,669,1406559600"; d="scan'208";a="170770032" Received: from mail-sg1lp0089.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.89]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Oct 2014 20:10:56 +0900 Received: from localhost (211.11.155.147) by HKNPR06MB322.apcprd06.prod.outlook.com (10.141.38.16) with Microsoft SMTP Server (TLS) id 15.0.1044.10; Tue, 7 Oct 2014 11:10:54 +0000 From: Yoshihiro Shimoda To: , , , , , , , CC: , , , Yoshihiro Shimoda Subject: [PATCH v2 2/2] arm: shmobile: lager: enable HS-USB Date: Tue, 7 Oct 2014 20:10:20 +0900 Message-ID: <1412680220-4552-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1412680220-4552-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1412680220-4552-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: SIXPR06CA0044.apcprd06.prod.outlook.com (25.160.171.162) To HKNPR06MB322.apcprd06.prod.outlook.com (10.141.38.16) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:HKNPR06MB322; X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(199003)(189002)(19580405001)(19580395003)(31966008)(92726001)(20776003)(92566001)(50466002)(80022003)(64706001)(87976001)(78352002)(104166001)(87286001)(102836001)(101416001)(85852003)(97736003)(122386002)(88136002)(76482002)(21056001)(46102003)(42382002)(66066001)(85306004)(50986999)(76176999)(36756003)(76506005)(77156001)(105586002)(50226001)(42186005)(33646002)(95666004)(4396001)(93916002)(89996001)(47776003)(120916001)(229853001)(106356001)(99396003)(62966002)(77096002)(107046002)(40100002)(88662002); DIR:OUT; SFP:1102; SCL:1; SRVR:HKNPR06MB322; H:localhost; FPR:; MLV:sfv; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: 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 Since this board doesn't have USB ID pin, we assumes the GP5_18 (USB0_PWEN) is an ID pin because the gpio is high when the SW5 is Pin 3 side. Signed-off-by: Yoshihiro Shimoda --- arch/arm/boot/dts/r8a7790-lager.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 719979e..011254a 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -446,3 +446,8 @@ }; }; }; + +&hsusb { + status = "okay"; + renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; +};