From patchwork Fri Jun 27 03:40:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Punnaiah Choudary Kalluri X-Patchwork-Id: 4432941 Return-Path: X-Original-To: patchwork-linux-arm@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 B266D9F73E for ; Fri, 27 Jun 2014 03:42:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8AA72020F for ; Fri, 27 Jun 2014 03:42:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26E9420154 for ; Fri, 27 Jun 2014 03:42:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0N1w-0008U5-Ji; Fri, 27 Jun 2014 03:40:52 +0000 Received: from mail-by2lp0236.outbound.protection.outlook.com ([207.46.163.236] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0N1t-0008Ma-Jp for linux-arm-kernel@lists.infradead.org; Fri, 27 Jun 2014 03:40:50 +0000 Received: from BN1BFFO11FD055.protection.gbl (10.58.144.32) by BN1BFFO11HUB039.protection.gbl (10.58.144.186) with Microsoft SMTP Server (TLS) id 15.0.969.12; Fri, 27 Jun 2014 03:40:26 +0000 Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BN1BFFO11FD055.mail.protection.outlook.com (10.58.145.10) with Microsoft SMTP Server (TLS) id 15.0.969.12 via Frontend Transport; Fri, 27 Jun 2014 03:40:26 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1X0N1U-00011M-38; Thu, 26 Jun 2014 20:40:24 -0700 From: Punnaiah Choudary Kalluri To: , , , , , Subject: [PATCH 1/2] usb: chipidea: zynq: Add device tree binding information Date: Fri, 27 Jun 2014 09:10:08 +0530 X-Mailer: git-send-email 1.7.4 X-RCIS-Action: ALLOW Message-ID: X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438002)(199002)(189002)(79102001)(81342001)(77096002)(31966008)(64706001)(99396002)(77156001)(81542001)(104166001)(50466002)(80022001)(95666004)(70736001)(104016002)(20776003)(106466001)(77982001)(74502001)(53416004)(76482001)(47776003)(89996001)(33646001)(87286001)(31696002)(85852003)(50986999)(92726001)(2201001)(92566001)(83072002)(19580405001)(19580395003)(88136002)(83322001)(6806004)(102836001)(87936001)(21056001)(85306003)(74316001)(44976005)(50226001)(1496007)(48376002)(86362001)(46102001)(93916002)(4396001)(74662001)(62966002)(107046002)(107986001)(2101003)(23106004); DIR:OUT; SFP:; SCL:1; SRVR:BN1BFFO11HUB039; H:xsj-pvapsmtpgw01; FPR:; MLV:sfv; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: xilinx.onmicrosoft.com X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 0255DF69B9 Received-SPF: Pass (: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=punnaiah.choudary.kalluri@xilinx.com; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_204049_727554_51423923 X-CRM114-Status: UNSURE ( 6.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kalluripunnaiahchoudary@gmail.com, kpc528@gmail.com, Punnaiah Choudary Kalluri , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 device tree binding information as required by the ZYNQ USB controller. Signed-off-by: Punnaiah Choudary Kalluri --- .../devicetree/bindings/usb/ci-hdrc-zynq.txt | 23 ++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt new file mode 100644 index 0000000..54bb3b4 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt @@ -0,0 +1,23 @@ +Xilinx Zynq usb controller based on synopsys usb IP(v2.20a) + +Required properties: +- compatible: should contain "xlnx,zynq-usb-2.20a" +- clocks: clock provider specifier +- reg: offset and length of the register set in the memory map +- interrupt-parent: the phandle for the interrupt controller that services + interrupts for this device. +- interrupts: interrupt-specifier for the controller interrupt. +- phy_type: should be "ulpi" +- dr_mode: should be "peripheral" or "host" + +Examples: + + usb@e0002000 { + clocks = <&clkc 28>; + compatible = "xlnx,zynq-usb-2.20a"; + dr_mode = "host"; + interrupt-parent = <&ps7_scugic_0>; + interrupts = <0 21 4>; + phy_type = "ulpi"; + reg = <0xe0002000 0x1000>; + } ;