From patchwork Sat Oct 20 03:17:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Prisk X-Patchwork-Id: 1620761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id C0BE240E2C for ; Sat, 20 Oct 2012 03:20:55 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TPPZs-0003ip-Lx; Sat, 20 Oct 2012 03:18:20 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TPPZm-0003iV-Fb for linux-arm-kernel@merlin.infradead.org; Sat, 20 Oct 2012 03:18:14 +0000 Received: from server.prisktech.co.nz ([115.188.14.127]) by casper.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TPPZc-000649-AH for linux-arm-kernel@lists.infradead.org; Sat, 20 Oct 2012 03:18:12 +0000 Received: from localhost.localdomain (gitbox.prisktech.co.nz [192.168.0.103]) by server.prisktech.co.nz (Postfix) with ESMTP id A87831300B9C; Sat, 20 Oct 2012 16:18:01 +1300 (NZDT) From: Tony Prisk To: Greg KH Subject: [PATCH 2/2] USB: doc: Binding document for ehci-platform driver Date: Sat, 20 Oct 2012 16:17:33 +1300 Message-Id: <1350703053-4661-3-git-send-email-linux@prisktech.co.nz> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350703053-4661-1-git-send-email-linux@prisktech.co.nz> References: <1350703053-4661-1-git-send-email-linux@prisktech.co.nz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121020_041805_354333_DDEBA9A2 X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Tony Prisk , linux-usb@vger.kernel.org, Alan Stern , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a binding document for ehci-platform driver. Signed-off-by: Tony Prisk --- .../devicetree/bindings/usb/ehci-platform.txt | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ehci-platform.txt diff --git a/Documentation/devicetree/bindings/usb/ehci-platform.txt b/Documentation/devicetree/bindings/usb/ehci-platform.txt new file mode 100644 index 0000000..faeffe4 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ehci-platform.txt @@ -0,0 +1,22 @@ +Generic Platform EHCI Controller +----------------------------------------------------- + +Required properties: +- compatible : "ehci-platform" +- reg : Should contain 1 register ranges(address and length) +- interrupts : EHCI controller interrupt + +Optional properties: +- caps-offset : offset to the capabilities register (default = 0) +- has-tt : controller has transaction translator(s). +- big-endian-desc : descriptors are in big-endian format +- big-endian-mmio : mmio is in big-endian format +- has-synopsys-hc-bug : controller has the synopsys hc bug + +Example: + ehci@d8007c00 { + compatible = "ehci-platform"; + reg = <0xd8007c00 0x200>; + interrupts = <43>; + has-tt; + };