From patchwork Wed Jul 26 22:56:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9865975 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 6A13B602B1 for ; Wed, 26 Jul 2017 23:04:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BA80287C7 for ; Wed, 26 Jul 2017 23:04:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50530287D3; Wed, 26 Jul 2017 23:04:48 +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,RCVD_IN_DNSWL_NONE 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 D94BE287C7 for ; Wed, 26 Jul 2017 23:04:47 +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=ZVEzhyXS+sTbXHehqQnAhX0elZ4zdw/w7u2rPB86htQ=; b=KMuQZ/oWg8+2VPsTrITTD4So6u EUlGtoBEwZZiJJmH46cvnkN2aaSs9gkaNdZ1yIlj0W2a+na5mqL0cg9/QeXE5afulDap6NSOjbwNm riZadBzr/vzNfPK73EiF5Pm0tAZGN9Ah38YYhwaUNTMLuHnHUlUyQo6pjDNzlUqk4mHlP3fSeqyyw 4qHXGiHPdzDXiEuwlShAm4rJFByWuODoDDAFb6ENXnPPimWk7xUppBOrrp8e5jwGHof+9pEhKCsQC CjKf7T7fB7tmUskXhlIFdnAjxkYyWUBhczviNf5weCojxARt1IYj5b6Ut0RTffLf5kpK5XmeM0Nuh P1uDqNjA==; 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 1daVMB-0007WO-Gc; Wed, 26 Jul 2017 23:04:43 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daVM6-0007Ve-Rz for linux-arm-kernel@lists.infradead.org; Wed, 26 Jul 2017 23:04:40 +0000 Received: by mail-wm0-x233.google.com with SMTP id m85so79405692wma.1 for ; Wed, 26 Jul 2017 16:04:18 -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=Wk74Isj1+wzDAqRW4hwknONwQMOyVPg2MgaC9eHhMRM=; b=EtEb3L25dRfsNvhXDWuTgdBNQLHNbq3tON29pjcJn5YjCsUwppaKctBWyop2ler0Jb BDLGV2asLlBWqoyDoRccyCcUYFZi6pTRS9s/5kcDmC3HT1nD+BKjnZ7bjmNMQ65vXjRO aTkjcBfUefNplFfsIL28wopx13JyTpKyAD7mo= 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=Wk74Isj1+wzDAqRW4hwknONwQMOyVPg2MgaC9eHhMRM=; b=DlHyP3P7mgwZT47HVfaxBRT/uO7vRN3W13feZjudlNVX0JWKl26jmxKQXolTGtaXmr DhbyJ5ZINYi04nnowpAzh9AL9RWUNP+kaO0o+EmplDJGzCrRTmXwOlQVi7myT93JLbu8 Xva33Vetw25cKcKItjqzH1FGfdu6k5HSTjzAEs88waSFomcnXeIoctob+3SKYhDkXZNa 1QJn4lcYQqu5I1GbQJPDjlA7+lS/g4a8pKidaMYfq46vAb6kPJmgICtF1t08ExyI1M1Z izjVgM3FYVs1/kzTMz9cv+KIL5bDz3J9e0flk0Z5RMEILKRtxcpY0ui1EWl0LjvZhWfd wVaw== X-Gm-Message-State: AIVw113+OaFcCIG5zZuMYv3ZeIfgxzkT2mHSCaZbWPDhrMJSFuWo9kyD /VLEL91NktNSghH6 X-Received: by 10.28.100.136 with SMTP id y130mr1767160wmb.60.1501109796724; Wed, 26 Jul 2017 15:56:36 -0700 (PDT) Received: from venom ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id p136sm12696360wmd.39.2017.07.26.15.56.33 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 26 Jul 2017 15:56:36 -0700 (PDT) Received: by venom (sSMTP sendmail emulation); Wed, 26 Jul 2017 18:56:32 -0400 From: Jon Mason To: Kishon Vijay Abraham I , Florian Fainelli , Rob Herring , Mark Rutland Subject: [PATCH v2 1/6] dt-bindings: phy: Add documentation for NS2 USB3 PHY Date: Wed, 26 Jul 2017 18:56:22 -0400 Message-Id: <1501109787-15489-2-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501109787-15489-1-git-send-email-jon.mason@broadcom.com> References: <1501109787-15489-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170726_160439_133474_8E66D678 X-CRM114-Status: GOOD ( 13.78 ) 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 From: Yendapally Reddy Dhananjaya Reddy Add documentation for USB3 PHY available in NS2 SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Jon Mason Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-usb3-phy.txt | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,ns2-usb3-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,ns2-usb3-phy.txt b/Documentation/devicetree/bindings/phy/brcm,ns2-usb3-phy.txt new file mode 100644 index 000000000000..b1c058c37d54 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,ns2-usb3-phy.txt @@ -0,0 +1,48 @@ +Broadcom USB3 dual port phy for Northstar2 SoC +This is a child bus node of "brcm,mdio-mux-iproc" node. + +Required mdio bus properties: +- reg: MDIO Bus number for the MDIO interface +- #address-cells: must be 1 +- #size-cells: must be 0 + +Required PHY properties: +- compatible: should be "brcm,ns2-usb3-phy" +- reg: MDIO Phy ID for the MDIO interface +- #phy-cells: must be 0 +- #address-cells: must be 1 +- #size-cells: must be 0 + +Sub-nodes: + Each port's PHY should be represented as a sub-node. + +Sub-nodes required properties: + - reg: the PHY number + - phy-cells: from the generic PHY bindings, must be 0 + +Example: + +mdio@1 { + reg = <0x1>; + #address-cells = <1>; + #size-cells = <0>; + + usb3_phy: usb3_phy@0 { + compatible = "brcm,ns2-usb3-phy"; + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + usb3_phy0: usb3_phy@0 { + reg = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + + usb3_phy1: usb_phy@1 { + reg = <1>; + #phy-cells = <0>; + status = "disabled"; + }; + }; +};