From patchwork Thu Mar 17 02:26:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 8606791 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7EC489F54C for ; Thu, 17 Mar 2016 03:40:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9D53201F5 for ; Thu, 17 Mar 2016 03:40:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB6172020F for ; Thu, 17 Mar 2016 03:40:35 +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 1agOm5-0003SI-PA; Thu, 17 Mar 2016 03:39:01 +0000 Received: from [50.115.127.205] (helo=vern.gendns.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1agOm2-0003NL-JR for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2016 03:38:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From; bh=gsrMoA855r1HVmjq887JFFso937c1BjxBiEl2aNaWpE=; b=lBkae8H45KYtq Eo6tr5z7A4GfhQwXqiimMow/p16sZJJ48mVXmVauSrPVJR0Xp6e6H8Q1ZFLCgV6LwEjBOwMc6gs71 tommKWQTCYbg3t51XRSPPgEMr+efYYf3TeDExv67/z2zijG2uS0YsBTMqNQIGc5Rq4Wb3oG8VUZmb THGMFXZ1QJ7rO0v1n5Aej0UjwFt2iWkpayV3In5UZaOBys4ijLEB95hXtM2V2SPHxExG3asXfnJs4 iZYPTYZ2c+e1XmNMUVWT0elg1rKPQIL4KtvwfxXsqOLURGbCrW4C8TOrTh8KeJX+NrnOcnX4rggn9 S8towHumJckV3mayBUu9g==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:51099 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1agNgP-003yue-8l; Wed, 16 Mar 2016 22:29:05 -0400 From: David Lechner To: Subject: [PATCH v2 05/11] dt-bindings: Add bindings for phy-da8xx-usb Date: Wed, 16 Mar 2016 21:26:38 -0500 Message-Id: <1458181615-27782-6-git-send-email-david@lechnology.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458181615-27782-1-git-send-email-david@lechnology.com> References: <1458181615-27782-1-git-send-email-david@lechnology.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160316_203858_754407_733D5179 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.5 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Tony Lindgren , Sekhar Nori , Robert Jarzmik , Russell King , Kevin Hilman , Kishon Vijay Abraham I , Alan Stern , devicetree@vger.kernel.org, David Lechner , Pawel Moll , Ian Campbell , Rob Herring , Bin Liu , linux-arm-kernel@lists.infradead.org, Sergei Shtylyov , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Petr Kulhavy , Kumar Gala , =?UTF-8?q?Andreas=20F=C3=A4rber?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Device tree binding for new phy-da8xx-usb driver. Signed-off-by: David Lechner --- v2 changes: This is new patch in v2. .../devicetree/bindings/phy/phy-da8xx-usb.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt diff --git a/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt b/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt new file mode 100644 index 0000000..ed6b710 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt @@ -0,0 +1,34 @@ +TI DaVinci DA8XX USB PHY + +Required properties: + - compatible: must be "ti,da830-usbphy". + - #phy-cells: must be 1. + - reg : Address and length of the CFGCHIP2 register. + +This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG +controllers on DA8XX SoCs. Consumers of this device should use index 1 for +the USB 1.1 phy device and index 2 for the USB 2.0 phy device. + +Example: + + usbphy: usbphy@1c14184 { + compatible = "ti,da830-usbphy"; + #phy-cells = <1>; + reg = <0x14184 4>; + }; + + usb11: usb11@1e25000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usbphy 1>; + phy-names = "usbphy"; + }; + + usb20: usb@1e00000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x1000>; + interrupts = <58>; + phys = <&usbphy 2>; + phy-names = "usbphy"; + };