From patchwork Wed May 31 10:12: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: 9756565 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 A3F5A602BF for ; Wed, 31 May 2017 10:13:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A27DF262AE for ; Wed, 31 May 2017 10:13:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 973F0283BA; Wed, 31 May 2017 10:13:03 +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 70A2B271BC for ; Wed, 31 May 2017 10:13:02 +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=iONCXAZ2zT2DjE8euP7XfLvvJA +0XtPwrhXHRUQ9Nv64EFzQp67K8ftD4H2DwF5MuJWHhIe9nZIHGmzEBxTpRcvYwsCl6Bxxfo67zA/ BiRqOVKsYdBxdsmDLxuDFZEczmm/QVD22WZAtzYxZA8ld8O7ebU4oaBO4lfviAGNkVponggzAb1uD bLxSjfxc+OHCIXauBeLsbTzz5/LdCGf4dN1vFMSfQLpcc8I26CTt1pz9iYBF7dwzhhipMNm04/dEP /y1S3ZIVOiOomKSAV4M2mcdQoAgAsXj2/tmxYXPUyzWMsJgtyngA+8blTHYrU87vEIvElc7GOgFeB XoXLpVUA==; 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 1dG0cf-0007YD-EF; Wed, 31 May 2017 10:13:01 +0000 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dG0cN-0007DJ-5b for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 10:12:46 +0000 Received: by mail-qt0-x235.google.com with SMTP id f55so8082702qta.3 for ; Wed, 31 May 2017 03: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=AbO/by31GWa9dFLJUH/cjZ3NWUeG7a3OCXezRgk3S8xh9MCDQM6Nfd4rwnj2bZiKIl rhfRH+a79ajMFaaozuFW9MaIw4bP/dpicShjtnddZaWh2n8IcyOtnvZ7oIgpQ7V1cdTq eyrpydnxlJDA0HNCV7JfeQGgoSifDQUQ9i+MY= 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=A4Ja1xkvkFAIfdAFEduBypjqHRFW5Zg/h5rLTgO/r5pmNNfZdllyfnjXPtP2F2tDpG ewKM5bowDYOCCIhRL18S4IpHriIUBI4siroIpR0eMwNscc43j2TdqG4n5ylJyPEZmqrn pUNFunLXl/PZow5mLADP7mNeb4YzEQ3YlfyfemX1TTptPCs27YTEe+hGZRsNMUYd6STz F06QNi/hBO15YFPTKT8KKq+GCVZ4BYhltHo02aHctQos9nxfDmgXPKIUJVUt5sArXie5 Kq3otUgYA6fYGti/MTxq+pHXGvUw1jRrDDsZ+EtGdNRkCflpehkQob3X2z3q+YgP4K7x WUoQ== X-Gm-Message-State: AODbwcAG25Mq24Jad3leYe50TF3/C/Ut1fhuqsjB8E4AEcy7Mvr5NgkL pxH5PS5EOxiBN9KF X-Received: by 10.200.44.98 with SMTP id e31mr31599889qta.123.1496225541978; Wed, 31 May 2017 03:12:21 -0700 (PDT) Received: from ibnvda1658.ibn.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id w14sm10175952qkb.11.2017.05.31.03.12.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 03: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 v6 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy Date: Wed, 31 May 2017 15:42:01 +0530 Message-Id: <1496225523-22035-2-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1496225523-22035-1-git-send-email-raviteja.garimella@broadcom.com> References: <1496225523-22035-1-git-send-email-raviteja.garimella@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_031243_384574_D199401A X-CRM114-Status: GOOD ( 12.69 ) 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>; + };