From: Jon Mason <jon.mason@broadcom.com>
To: Kishon Vijay Abraham I <kishon@ti.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/6] dt-bindings: phy: Add documentation for NS2 USB3 PHY
Date: Wed, 26 Jul 2017 18:56:22 -0400 [thread overview]
Message-ID: <1501109787-15489-2-git-send-email-jon.mason@broadcom.com> (raw)
In-Reply-To: <1501109787-15489-1-git-send-email-jon.mason@broadcom.com>
From: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Add documentation for USB3 PHY available in NS2 SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Signed-off-by: Jon Mason <jon.mason@broadcom.com>
---
.../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";
+ };
+ };
+};
--
2.7.4
next prev parent reply other threads:[~2017-07-26 22:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 22:56 [PATCH v2 0/6] USB3 support for Broadcom NS2 SoC Jon Mason
2017-07-26 22:56 ` Jon Mason [this message]
[not found] ` <1501109787-15489-2-git-send-email-jon.mason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-08-03 19:03 ` [PATCH v2 1/6] dt-bindings: phy: Add documentation for NS2 USB3 PHY Rob Herring
2017-07-26 22:56 ` [PATCH v2 2/6] dt-bindings: usb: Add documentation for NS2 CDRU USB3 Jon Mason
[not found] ` <1501109787-15489-3-git-send-email-jon.mason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-08-03 19:05 ` Rob Herring
2017-07-26 22:56 ` [PATCH v2 3/6] dt-bindings: usb: Add documentation for NS2 ICFG USB3 Jon Mason
2017-08-03 19:06 ` Rob Herring
2017-07-26 22:56 ` [PATCH v2 4/6] dt-bindings: usb: Add documentation for NS2 IDM USB3 Jon Mason
2017-08-03 19:08 ` Rob Herring
2017-07-26 22:56 ` [PATCH v2 5/6] phy: Add USB3 PHY support for Broadcom NS2 SoC Jon Mason
2017-08-02 6:36 ` Kishon Vijay Abraham I
[not found] ` <9f25daa0-13b3-2a56-34bb-f3705672fae5-l0cyMroinI0@public.gmane.org>
2017-08-03 15:23 ` Jon Mason
2017-07-26 22:56 ` [PATCH v2 6/6] arm64: dts: ns2: Add USB3 Support Jon Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501109787-15489-2-git-send-email-jon.mason@broadcom.com \
--to=jon.mason@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).