From: Ray Jui <rjui@broadcom.com>
To: Kishon Vijay Abraham I <kishon@ti.com>, Arnd Bergmann <arnd@arndb.de>
Cc: <linux-kernel@vger.kernel.org>,
"JD (Jiandong) Zheng" <jdzheng@broadcom.com>,
Arun Parameswaran <arunp@broadcom.com>,
<bcm-kernel-feedback-list@broadcom.com>,
Ray Jui <rjui@broadcom.com>
Subject: [PATCH v2 3/5] phy: cygnus: pcie: Define DT binding
Date: Thu, 21 May 2015 18:07:07 -0700 [thread overview]
Message-ID: <1432256829-17931-4-git-send-email-rjui@broadcom.com> (raw)
In-Reply-To: <1432256829-17931-1-git-send-email-rjui@broadcom.com>
Add DT binding document for Broadcom Cygnus PCIe PHY driver
Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Arun Parameswaran <aparames@broadcom.com>
Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
---
.../bindings/phy/brcm,cygnus-pcie-phy.txt | 34 ++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt
diff --git a/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt
new file mode 100644
index 0000000..1b1a7af
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt
@@ -0,0 +1,34 @@
+Broadcom Cygnus PCIe PHY
+
+Required properties:
+- compatible: Must be "brcm,cygnus-pcie-phy"
+- reg: base address and length of the CRMU block
+- #phy-cells: must be <2>
+The first cell is the PHY ID:
+0 - PCIe RC 0
+1 - PCIe RC 1
+The second cell is the internal PHY address
+
+Example:
+ mdio_bus {
+ ...
+ phy: phy@0301d0a0 {
+ compatible = "brcm,cygnus-pcie-phy";
+ reg = <0x0301d0a0 0x14>;
+ #phy-cells = <2>;
+ };
+ };
+
+ pcie0: pcie@18012000 {
+ ...
+ ...
+ phys = <&phy 0 5>;
+ phy-names = "pcie-phy";
+ };
+
+ pcie1: pcie@18013000 {
+ ...
+ ...
+ phys = <&phy 1 6>;
+ phy-names = "pcie-phy";
+ };
--
1.7.9.5
next prev parent reply other threads:[~2015-05-22 1:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 1:07 [PATCH v2 0/5] Add iProc MDIO and Cygnus PCIe PHY support Ray Jui
2015-05-22 1:07 ` [PATCH v2 1/5] dt_bindings: Add iProc MDC/MDIO interface binding Ray Jui
2015-05-22 1:07 ` [PATCH v2 2/5] phy: iproc-mdio: Initial iProc MDC/MDIO support Ray Jui
2015-05-22 1:07 ` Ray Jui [this message]
2015-05-22 1:07 ` [PATCH v2 4/5] phy: cygnus: pcie: Add Cygnus PCIe PHY support Ray Jui
2015-05-22 1:07 ` [PATCH v2 5/5] ARM: dts: enable PCIe PHY support for Cygnus Ray Jui
2015-09-01 21:13 ` [PATCH v2 0/5] Add iProc MDIO and Cygnus PCIe PHY support Ray Jui
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=1432256829-17931-4-git-send-email-rjui@broadcom.com \
--to=rjui@broadcom.com \
--cc=arnd@arndb.de \
--cc=arunp@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=jdzheng@broadcom.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.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
Powered by JetHome