From patchwork Wed May 10 06:54:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raviteja Garimella X-Patchwork-Id: 9719301 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 1C84A60365 for ; Wed, 10 May 2017 06:55:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BAB8284E3 for ; Wed, 10 May 2017 06:55:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F40F62857C; Wed, 10 May 2017 06:55:13 +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 6946C284E3 for ; Wed, 10 May 2017 06:55:13 +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=LjKYf5Un7CnQjyUt8+ALiyOChy dTCy+IkYsOxnSknyEsZjWZE0ng64CjY4UAonIlV6FFkREA/NkTx8Ls01R3gI90tvrO4jll8aRbE5m /x3X0fyvamLxOnf3HDGYmp1Kw74G/FYL/W+ybcgTfI5HY1TaxYX8H/oVU+bwwYauRDkZ+lhSgmwwo +NGihQpzVA3uFqYCbdViby3O1LzorpJJxjRFm8i2t74EadthJ1iVEeTRc1rHsbneuNWaTxd7bVEzh DZ6J174ivdJViMhE+O1825dHMzR0UALzwPD+5N3xQUTBVv9SA+x1DqOKoS1hX8RuiQ/n0wsAC3OaX pIxC9Sqw==; 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 1d8LWi-0006B9-ET; Wed, 10 May 2017 06:55:12 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d8LWc-0004dc-Lq for linux-arm-kernel@lists.infradead.org; Wed, 10 May 2017 06:55:08 +0000 Received: by mail-pg0-x235.google.com with SMTP id u187so11834178pgb.0 for ; Tue, 09 May 2017 23:54:46 -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=hKLUyMIEJ/uvVWN9lI9AsN+StwW8ZglwV4skNExOcSIm7jZGTEyWt621kLsg3i8jPl o6q8ZkfluAmQSsEBaUHttTSOYAigUWVtnc7ZUv9qyyZuPltiO3wqH1otj4yHA5F25sAC qz2rXgkxBrH3sELV2FmU99hbDCebXTxNDlAUo= 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=AUXE75gZAxJ9CMs6QG/pErilIQsrAx4bfgm7I2e24LLXCpuam8HbPKyrb/uPnGQBWU qv4bPD0jWmncLlqqFc/10O0h1RIbUYAb3YC0AJQHXdLJpVihHf4bE0GCkjtEGIY0lTif CJJtFdcYp++Cw2HvpLMx81de/ELnEOltLqoDZb4LfwGajOQgbtpI9MjLJf94UDwLVOMO /yTK3uBGkSPMBHul/QdaGuoiD9pSnznBuQ3bY6hqYVD04YMK4iGH2QBx+hWciMVnsavY 6bK/jZUfFLZVBWq3lDh+lE426t/KI/nKtYjc/xeljV50pvts0E2TkE+L2IQxrL5yK9T+ uLTQ== X-Gm-Message-State: AODbwcD9eZAUKm852/E3QYDVnHGuIzFkbpp+gQ+AMAMurI8oANuDKM3t ox2zEkZdpIxfuj5w X-Received: by 10.84.224.4 with SMTP id r4mr5908082plj.173.1494399285785; Tue, 09 May 2017 23:54:45 -0700 (PDT) Received: from ibnvda1658.ibn.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id d13sm3454487pfl.12.2017.05.09.23.54.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 May 2017 23:54:45 -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: [RESEND PATCH v5 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy Date: Wed, 10 May 2017 12:24:25 +0530 Message-Id: <1494399267-21691-2-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1494399267-21691-1-git-send-email-raviteja.garimella@broadcom.com> References: <1494399267-21691-1-git-send-email-raviteja.garimella@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170509_235506_847234_B2482CFC X-CRM114-Status: GOOD ( 13.09 ) 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>; + };