From patchwork Thu Jun 8 10:35:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raviteja Garimella X-Patchwork-Id: 9774409 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 02A6C6034B for ; Thu, 8 Jun 2017 10:36:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E29D325E13 for ; Thu, 8 Jun 2017 10:36:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7361283DA; Thu, 8 Jun 2017 10:36:53 +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 2CC6225E13 for ; Thu, 8 Jun 2017 10:36:53 +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=cRNEH4Pi4bZQglv17Z424fURPqNcQC6+pK89j4qAzjc=; b=a1JCzwUJhW7bg9p8I2Rm3jkotT //jFvn0cbEKMH7GjW5/kfLrN6OgvU6pPnhcOZP5QMWy5rZPwoLzbgou11aAXkUiX7MTBFKPw/tEPt a4T7ryDMSgl1/1DAMFphRsyKdeYLK/0tsf9FZZtTCNtGB/Zxsm6BSIQcZ2f9fw4qVRJZQTDmFJ1JA O0oOLnaDwaRUADAv9fxE9shY1zsXTWSnwwMnR7P8BlO7qn+UKXMv/eXEUaXFY02NKY3XAyCUY86AK jSKKLzH1OJ2p2u0y5XkNREZiYW7sdLt+4gup/WM3huXPYcSZKKWVtmgT0wLEhqizhbqA0jdU6N+Qp Cu1bV4Ig==; 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 1dIuo8-0002L8-Pa; Thu, 08 Jun 2017 10:36:52 +0000 Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIun1-0001FI-D5 for linux-arm-kernel@lists.infradead.org; Thu, 08 Jun 2017 10:35:57 +0000 Received: by mail-qt0-x232.google.com with SMTP id u19so36032412qta.3 for ; Thu, 08 Jun 2017 03:35: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=bbEqur4ZR7pvj/KXg9Sl9Mn+xdAh3HyA1hssyj6Zva0=; b=P3U0xD4QJiumSC8aj+Rc1Jmxcd/ofs8CExClem0sbTawNAVEYyNedc0ax4YMQlsKaR 5S8CgI3738pT1mFPsSS07lgwBfZOwVhRo4PJPYcmNIC0Q7ecGMwELvSateaRP3zMZdIC ft0nB4Z1mRNk3j6vWmIce7HeFoHjewWcFLR+o= 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=bbEqur4ZR7pvj/KXg9Sl9Mn+xdAh3HyA1hssyj6Zva0=; b=EnnCRnpoYC+bPmqnlvuExQRkOvc8Fc3TvN+xRPCO64NM3szsfILAbVT7fFtNNl8Yua rz/hgAKnDo34r+s2WeZlo8XxaMGo90admoxWi63vDVNbI1rItoAiyLjrefD6UhormmAs XZJx2VpNi/jqW5uK0b4Bj7LWqmKGRY0x0w//WCKMw0sUE3jERgtta9rnYjJKFCZ+BhaP Able/Foe1cz3ui0d/lPA+BxAljd9x/M5KpnKMLaNZooj40EQNAOIsuRFMWOtcAeyity5 D02ZcNjy3Qo740DzGH4Gg76mklIg0gpY3N8NTOhQM+zICdyW0yaPpCnMydF1jXooo24E 7YNQ== X-Gm-Message-State: AKS2vOwWnn/Ko+TVb8qgkiC/uAd9KB9otQMScjHPILYqi6TLPcLN5ZxP JPFGTOFOuT4IDODq X-Received: by 10.55.98.145 with SMTP id w139mr15528591qkb.106.1496918121879; Thu, 08 Jun 2017 03:35:21 -0700 (PDT) Received: from ibnvda1658.ibn.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id 41sm3013999qky.60.2017.06.08.03.35.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 03:35: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 v8 1/3] dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY Date: Thu, 8 Jun 2017 16:05:01 +0530 Message-Id: <1496918103-14948-2-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1496918103-14948-1-git-send-email-raviteja.garimella@broadcom.com> References: <1496918103-14948-1-git-send-email-raviteja.garimella@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170608_033543_818152_E39F2619 X-CRM114-Status: GOOD ( 12.54 ) 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 DT bindings documentation for NS2 DRD PHY driver. 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>; + };