From patchwork Wed Sep 3 05:25:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 4830611 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 BF96A9F2EC for ; Wed, 3 Sep 2014 05:25:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4F76201EF for ; Wed, 3 Sep 2014 05:25:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A299200CC for ; Wed, 3 Sep 2014 05:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751637AbaICFZt (ORCPT ); Wed, 3 Sep 2014 01:25:49 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:61143 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751135AbaICFZs (ORCPT ); Wed, 3 Sep 2014 01:25:48 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 03 Sep 2014 14:25:46 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id E9F1546C0B; Wed, 3 Sep 2014 14:25:46 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id CBD2D180A4; Wed, 3 Sep 2014 14:25:46 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 7834B180A0; Wed, 3 Sep 2014 14:25:46 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id QAA11012; Wed, 3 Sep 2014 14:25:46 +0900 X-IronPort-AV: E=Sophos;i="5.04,454,1406559600"; d="scan'208";a="168200237" Received: from mail-sg1lp0090.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.90]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 03 Sep 2014 14:25:45 +0900 Received: from [10.161.20.147] (211.11.155.147) by SINPR06MB331.apcprd06.prod.outlook.com (10.141.110.17) with Microsoft SMTP Server (TLS) id 15.0.1019.16; Wed, 3 Sep 2014 05:25:42 +0000 Message-ID: <5406A654.3020806@renesas.com> Date: Wed, 3 Sep 2014 14:25:40 +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: Rob Herring , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "ijc+devicetree@hellion.org.uk" , "galak@codeaurora.org" , "devicetree@vger.kernel.org" CC: Greg Kroah-Hartman , Felipe Balbi , "linux-usb@vger.kernel.org" , SH-Linux , Kuninori Morimoto , Ulrich Hecht Subject: [PATCH v3 1/2] usb: renesas_usbhs: Add device tree bindings documentation X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKXPR06CA014.apcprd06.prod.outlook.com (10.141.129.44) To SINPR06MB331.apcprd06.prod.outlook.com (10.141.110.17) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 032334F434 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019014)(6009001)(6049001)(189002)(199003)(229853001)(54356999)(83322001)(92726001)(47776003)(65816999)(50466002)(50986999)(85306004)(87266999)(21056001)(65956001)(85852003)(20776003)(36756003)(92566001)(64706001)(66066001)(90102001)(83072002)(99396002)(81342001)(101416001)(19580405001)(80316001)(76482001)(19580395003)(81542001)(80022001)(65806001)(77982001)(31966008)(74662001)(74502001)(79102001)(77096002)(105586002)(4396001)(106356001)(2501002)(23756003)(42186005)(87976001)(107046002)(33656002)(86362001)(46102001)(64126003)(102836001)(95666004); DIR:OUT; SFP:1102; SCL:1; SRVR:SINPR06MB331; H:[10.161.20.147]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A: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=-8.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 Acked-by: Kuninori Morimoto --- .../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>; + };