From patchwork Mon Aug 4 10:47:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 4669541 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 40D329F37E for ; Mon, 4 Aug 2014 10:48:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 83DE920220 for ; Mon, 4 Aug 2014 10:48:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7968D201CE for ; Mon, 4 Aug 2014 10:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752294AbaHDKsE (ORCPT ); Mon, 4 Aug 2014 06:48:04 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:34706 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752241AbaHDKsC (ORCPT ); Mon, 4 Aug 2014 06:48:02 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 04 Aug 2014 19:48:00 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id CEDF040DE0; Mon, 4 Aug 2014 19:48:00 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id B670A280A6; Mon, 4 Aug 2014 19:48:00 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id B1928280A0; Mon, 4 Aug 2014 19:48:00 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id VAE16343; Mon, 4 Aug 2014 19:48:00 +0900 X-IronPort-AV: E=Sophos;i="5.01,797,1399993200"; d="scan'208";a="166112526" Received: from mail-hk1lp0117.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.117]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 04 Aug 2014 19:48:00 +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; Mon, 4 Aug 2014 10:47:58 +0000 Message-ID: <53DF64DB.7000206@renesas.com> Date: Mon, 4 Aug 2014 19:47:55 +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 v2 1/2] usb: renesas_usbhs: Add device tree bindings documentation X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKXPR04CA001.apcprd04.prod.outlook.com (10.242.96.31) To SINPR06MB332.apcprd06.prod.outlook.com (10.141.110.18) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 0293D40691 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6009001)(6049001)(189002)(199002)(83072002)(105586002)(65816999)(83506001)(99396002)(81542001)(95666004)(87266999)(21056001)(64126003)(80022001)(81342001)(77096002)(87976001)(92566001)(66066001)(42186005)(50986999)(54356999)(101416001)(107046002)(65956001)(85852003)(86362001)(83322001)(74662001)(59896001)(50466002)(76482001)(47776003)(19580395003)(31966008)(79102001)(4396001)(33656002)(106356001)(23756003)(80316001)(46102001)(64706001)(229853001)(92726001)(77982001)(19580405001)(85306004)(36756003)(20776003)(102836001)(74502001); 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..b08c903 --- /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: + - renesas,buswait: Integer to use BUSWAIT register + - renesas,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>; + };