From patchwork Fri Jun 27 11:23:52 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: 4434711 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 0B5CE9F383 for ; Fri, 27 Jun 2014 11:26:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 343422020F for ; Fri, 27 Jun 2014 11:26:28 +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 61E5A201DD for ; Fri, 27 Jun 2014 11:26:27 +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 1X0UGn-0007r0-O8; Fri, 27 Jun 2014 11:24:41 +0000 Received: from mail-bn1lp0144.outbound.protection.outlook.com ([207.46.163.144] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0UGc-0007Ox-Cj for linux-arm-kernel@lists.infradead.org; Fri, 27 Jun 2014 11:24:32 +0000 Received: from BN1AFFO11FD023.protection.gbl (10.58.52.30) by BN1AFFO11HUB025.protection.gbl (10.58.52.135) with Microsoft SMTP Server (TLS) id 15.0.969.12; Fri, 27 Jun 2014 11:24:07 +0000 Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BN1AFFO11FD023.mail.protection.outlook.com (10.58.52.83) with Microsoft SMTP Server (TLS) id 15.0.969.12 via Frontend Transport; Fri, 27 Jun 2014 11:24:07 +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 1X0UGC-0000aM-DJ; Fri, 27 Jun 2014 04:24:04 -0700 From: Punnaiah Choudary Kalluri To: , , , , , Subject: [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information Date: Fri, 27 Jun 2014 16:53:52 +0530 X-Mailer: git-send-email 1.7.4 X-RCIS-Action: ALLOW Message-ID: <6233f866-678d-4a90-a307-debcb848ae76@BN1AFFO11FD023.protection.gbl> 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)(189002)(199002)(21056001)(85852003)(31696002)(44976005)(88136002)(2201001)(76482001)(62966002)(87936001)(86362001)(47776003)(20776003)(99396002)(93916002)(79102001)(104166001)(77156001)(92726001)(50986999)(107046002)(83072002)(77982001)(89996001)(87286001)(83322001)(104016002)(92566001)(80022001)(70736001)(6806004)(74316001)(1496007)(106466001)(53416004)(31966008)(85306003)(95666004)(81542001)(74502001)(19580405001)(81342001)(50466002)(4396001)(48376002)(33646001)(74662001)(64706001)(102836001)(19580395003)(50226001)(77096002)(46102001)(107986001)(23106004)(2101003); DIR:OUT; SFP:; SCL:1; SRVR:BN1AFFO11HUB025; H:xsj-pvapsmtpgw01; FPR:; MLV:sfv; PTR:unknown-60-83.xilinx.com; MX:1; A: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-20140627_042430_651251_8664F4A8 X-CRM114-Status: UNSURE ( 7.53 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) 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 --- Changes in v2: - none --- .../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>; + } ;