From patchwork Mon Jan 30 13:32:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raviteja Garimella X-Patchwork-Id: 9545247 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 A02BD60417 for ; Mon, 30 Jan 2017 13:34:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C2FF271FD for ; Mon, 30 Jan 2017 13:34:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90E1327BA5; Mon, 30 Jan 2017 13:34:16 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no 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 392F0271FD for ; Mon, 30 Jan 2017 13:34:15 +0000 (UTC) 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 1cYC60-0005H7-37; Mon, 30 Jan 2017 13:34:12 +0000 Received: from mail-qk0-f171.google.com ([209.85.220.171]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYC5g-0004mu-Ue for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2017 13:33:54 +0000 Received: by mail-qk0-f171.google.com with SMTP id j126so109414256qkf.1 for ; Mon, 30 Jan 2017 05:33:33 -0800 (PST) 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=UvXDiX2m0HuA1V7+oBmb0ToWL/OYpkfnb3f3AtaMaEjYj/rQ7yfhN1Flq0JUJkYM+w O3SR4SDC/1beFutlvYtn5fPswjaPKfTs3uwzzubd2UNT8OCDLNni612Q6gNSjOdn+jxS 3c1OkpzXHE0p+KYc2Tsrl2/diyWptSkIBJuvc= 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=Qxk/7UewCNQCm7vK8OIJPl/MSbLVbNZDHdJIe3HnQ3EAr3UbIswOko3JgFLAbvTZE+ ARSlZFFgVsR4UDIsm6sWug8xKQ13OrZo0ZQx7m67prS9TGMGUVBuqKezcltA9/gRDDwa mf/GP+Mulq2C1H9u+g3qdiGg6ZL5jGTF0PFYV1QWq8JgG5muJvwEAEm9Arzu2ovC+7za VWnPukW/v1NjBSTzmMJF5e1PqxGkncC6024nUlxjzDqolclEuuViOHIjmnYdSvbBJ/FG JCh5+gZ7POqHmSVVf5HXM2ZiTR8swWomXOXJBHnu4lD8iTLRVS/FZN74OURM44DMrkbE vrwA== X-Gm-Message-State: AIkVDXLoGqZcbQVghCfqMxrSrfLRs0C4CSF1lFl1k+QJPYFsKdLXimGjGWkJ1mfpNdUR+sfS X-Received: by 10.55.23.194 with SMTP id 63mr12634786qkx.125.1485783151314; Mon, 30 Jan 2017 05:32:31 -0800 (PST) Received: from ibnvda1658.ibn.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id p70sm5600579qke.48.2017.01.30.05.32.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 05:32:30 -0800 (PST) From: Raviteja Garimella To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I , Ray Jui , Scott Branden , Jon Mason , Catalin Marinas , Will Deacon Subject: [PATCH v3 1/3] Add DT bindings documentation for NS2 USB DRD phy Date: Mon, 30 Jan 2017 19:02:04 +0530 Message-Id: <1485783126-6316-2-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1485783126-6316-1-git-send-email-raviteja.garimella@broadcom.com> References: <1485783126-6316-1-git-send-email-raviteja.garimella@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170130_053353_118385_ECA100BC X-CRM114-Status: GOOD ( 12.85 ) 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>; + };