From patchwork Fri Aug 1 11:49:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 4662441 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 3734AC0338 for ; Fri, 1 Aug 2014 11:49:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C1582020A for ; Fri, 1 Aug 2014 11:49:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7EAA320204 for ; Fri, 1 Aug 2014 11:49:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754352AbaHALtX (ORCPT ); Fri, 1 Aug 2014 07:49:23 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:29587 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751337AbaHALtW (ORCPT ); Fri, 1 Aug 2014 07:49:22 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 01 Aug 2014 20:49:20 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id E8A3644B25; Fri, 1 Aug 2014 20:49:20 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id CD8A5180A1; Fri, 1 Aug 2014 20:49:20 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id C450C180A0; Fri, 1 Aug 2014 20:49:20 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id WAD25701; Fri, 1 Aug 2014 20:49:20 +0900 X-IronPort-AV: E=Sophos;i="5.01,779,1399993200"; d="scan'208";a="165951080" Received: from mail-sg1lp0086.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.86]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 01 Aug 2014 20:49:20 +0900 Received: from [10.161.20.147] (211.11.155.147) by SINPR06MB332.apcprd06.prod.outlook.com (10.141.110.18) with Microsoft SMTP Server (TLS) id 15.0.995.14; Fri, 1 Aug 2014 11:49:18 +0000 Message-ID: <53DB7EBA.3080004@renesas.com> Date: Fri, 1 Aug 2014 20:49:14 +0900 From: Yoshihiro Shimoda User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: SH-Linux , "devicetree@vger.kernel.org" , Grant Likely , Rob Herring CC: "linux-usb@vger.kernel.org" Subject: [PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKNPR03CA020.apcprd03.prod.outlook.com (10.141.16.30) To SINPR06MB332.apcprd06.prod.outlook.com (10.141.110.18) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 029097202E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6009001)(6049001)(189002)(199002)(87976001)(77096002)(65816999)(83506001)(21056001)(81342001)(65956001)(65806001)(76482001)(99396002)(23736002)(95666004)(46102001)(80022001)(81542001)(54356999)(92566001)(50986999)(42186005)(101416001)(66066001)(64126003)(105586002)(86362001)(87266999)(83072002)(107046002)(85852003)(77982001)(19580405001)(80316001)(83322001)(74662001)(50466002)(19580395003)(47776003)(31966008)(36756003)(79102001)(4396001)(229853001)(64706001)(33656002)(106356001)(92726001)(74502001)(20776003)(102836001)(85306004); DIR:OUT; SFP:; SCL:1; SRVR:SINPR06MB332; H:[10.161.20.147]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; 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=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Document the device tree bindings for the Renesas USBHS controller. Signed-off-by: Yoshihiro Shimoda --- .../devicetree/bindings/usb/renesas_usbhs.txt | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt new file mode 100644 index 0000000..e9faa65 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt @@ -0,0 +1,24 @@ +Renesas Electronics USBHS driver + +Required properties: + - compatible: Must contain one of the following: + - "renesas,usbhs-r8a7790" + - "renesas,usbhs-r8a7791" + - reg: Base address and length of the register for the USBHS + - interrupts: Interrupt specifier for the USBHS + - clocks: A list of phandle + clock specifier pairs + +Optional properties: + - buswait_bwait: Integer to use BUSWAIT register + - enable-gpio: A gpio specifier to check GPIO determining if USB function + should be enabled + - phys: phandle + phy specifier pair + - phy-names: must be "usb" + +Example: + usbhs: usb@e6590000 { + compatible = "renesas,usbhs-r8a7790"; + reg = <0 0xe6590000 0 0x100>; + interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; + };