From patchwork Wed Apr 12 07:12:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raviteja Garimella X-Patchwork-Id: 9676697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9E6B860381 for ; Wed, 12 Apr 2017 07:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F0512859E for ; Wed, 12 Apr 2017 07:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83498285B3; Wed, 12 Apr 2017 07:12:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 04D8A2859E for ; Wed, 12 Apr 2017 07:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Zr9mcJI2qT+bTCiTYa06DxHBzcX5yeSe9LwBCqJN0ko=; b=p0QX/Rx5HyW7tvvzPEw4VC0r4m 7AhF57mI++8aLtvkZsmU1xDkV44CwTtWsxn+GulP47SP/yUFB/2iAiVbO1OqnoBRYKXRjGTvT0IXg EK1Z4sD6N68JNN3Aaw6NkfdhJe0GDuSuHROciOAwellnKerTLZwb3RwVapNLL97UM5cZChSYhp8tO xYmZfOqTrZHza28ZRvkb1RMW2FF1IqOMiXtnvtVruECA5z10glMC2QXK1DSrQLGnlcoQrnOCq3xeE I9tKMZx4tNkozKYHcll00iczxx96VhUHPyac2J1IOo/Egln96o1F+11gi8hiCsKjuHupsB5KN6aj8 Wyj78bNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cyCSW-0006m7-1w; Wed, 12 Apr 2017 07:12:56 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyCSJ-0006V8-4f for linux-arm-kernel@lists.infradead.org; Wed, 12 Apr 2017 07:12:45 +0000 Received: by mail-pf0-x229.google.com with SMTP id s16so9798984pfs.0 for ; Wed, 12 Apr 2017 00:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YbfpzQG+OnCiUCTWWySb5jVgYF2gEUdyVxhfiZ4VzY8=; b=KoenCbHCo7nuare8Td1Fu89gV0lLWdyJSFwqY25dxveMCt+hkKF0eBl6JlB9fg7hia QxbNmdEeht0gA/OnISN014fDARvW3g7aLRypPoGKjxABeaW/H7P5Jmxy42LQr5hpMIMk 17zMR1RtCRO4+sKwQjueIIb061bowIs03dlSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YbfpzQG+OnCiUCTWWySb5jVgYF2gEUdyVxhfiZ4VzY8=; b=elEEBbnMlI1GT333rMLQGNo8RQhz94keS9Tkkd90WuS9B8VQlAzJRI3hJ4sL9DiUCa Cv1MoG1fLafjJCynKbvbMxsesp9tnDGCu1A4qfi/3aM7ypz+OzmXR6QzmnhkzA1RKz03 uVDeu+v93ymrnVlLxYm8w8iH6Nreu3UL7VMqtMHTLHeLKMY0kFNI6/btu5FhV+1frRLn yNr1g6UOrrnkDRHaB9p2O1NX+Mbh0JBXuFojFAMrPL2Uw2OAe86i4+6RpLEqhcVP1F11 0tOXx1Xs849acxkc+zjLnTjNQzAE0IaEyBCtb8I2XLP28VZ0rrgFns4hKRAh0J1MwzdL lyxQ== X-Gm-Message-State: AN3rC/7dSdiIW5FZWSr5mieZJYJjtfmSK6qGqiXEog3Zkc6zGeq/wJJspvO+oIDvwESXMXrQ X-Received: by 10.98.8.21 with SMTP id c21mr19977573pfd.252.1491981142236; Wed, 12 Apr 2017 00:12:22 -0700 (PDT) Received: from ibnvda1658.ibn.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id 4sm34332175pff.17.2017.04.12.00.12.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 00:12:21 -0700 (PDT) From: Raviteja Garimella To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I , Ray Jui , Scott Branden , Jon Mason , Catalin Marinas , Will Deacon Subject: [PATCH v5 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy Date: Wed, 12 Apr 2017 12:42:03 +0530 Message-Id: <1491981125-6859-2-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1491981125-6859-1-git-send-email-raviteja.garimella@broadcom.com> References: <1491981125-6859-1-git-send-email-raviteja.garimella@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170412_001243_220370_2BF70DE0 X-CRM114-Status: GOOD ( 13.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt b/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt new file mode 100644 index 0000000..04f063a --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt @@ -0,0 +1,30 @@ +BROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY + +Required properties: + - compatible: brcm,ns2-drd-phy + - reg: offset and length of the NS2 PHY related registers. + - reg-names + The below registers must be provided. + icfg - for DRD ICFG configurations + rst-ctrl - for DRD IDM reset + crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset + usb2-strap - for port over current polarity reversal + - #phy-cells: Must be 0. No args required. + - vbus-gpios: vbus gpio binding + - id-gpios: id gpio binding + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usbdrd_phy: phy@66000960 { + #phy-cells = <0>; + compatible = "brcm,ns2-drd-phy"; + reg = <0x66000960 0x24>, + <0x67012800 0x4>, + <0x6501d148 0x4>, + <0x664d0700 0x4>; + reg-names = "icfg", "rst-ctrl", + "crmu-ctrl", "usb2-strap"; + id-gpios = <&gpio_g 30 0>; + vbus-gpios = <&gpio_g 31 0>; + };