Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1229588

[PATCH v5 1/2] dt-bindings: Add Cygnus PCIe PHY binding doc

From Ray Jui <rjui@broadcom.com>
Newsgroups linux.kernel
Subject [PATCH v5 1/2] dt-bindings: Add Cygnus PCIe PHY binding doc
Date 2015-09-21 19:20 +0200
Message-ID <qbcUW-4Fd-33@gated-at.bofh.it> (permalink)
References <qbcUW-4Fd-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add DT binding document for Broadcom Cygnus PCIe PHYs

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          | 47 ++++++++++++++++++++++
 1 file changed, 47 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..761c4bc
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt
@@ -0,0 +1,47 @@
+Broadcom Cygnus PCIe PHY
+
+Required properties:
+- compatible: must be "brcm,cygnus-pcie-phy"
+- reg: base address and length of the PCIe PHY block
+- #address-cells: must be 1
+- #size-cells: must be 0
+
+Each PCIe PHY should be represented by a child node
+
+Required properties For the child node:
+- reg: the PHY ID
+0 - PCIe RC 0
+1 - PCIe RC 1
+- #phy-cells: must be 0
+
+Example:
+	pcie_phy: phy@0301d0a0 {
+		compatible = "brcm,cygnus-pcie-phy";
+		reg = <0x0301d0a0 0x14>;
+
+		pcie0_phy: phy@0 {
+			reg = <0>;
+			#phy-cells = <0>;
+		};
+
+		pcie1_phy: phy@1 {
+			reg = <1>;
+			#phy-cells = <0>;
+		};
+	};
+
+	/* users of the PCIe phy */
+
+	pcie0: pcie@18012000 {
+		...
+		...
+		phys = <&pcie0_phy>;
+		phy-names = "pcie-phy";
+	};
+
+	pcie1: pcie@18013000 {
+		...
+		...
+		phys = <pcie1_phy>;
+		phy-names = "pcie-phy";
+	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/2] Add Cygnus PCIe Serdes/PHY support Ray Jui <rjui@broadcom.com> - 2015-09-21 19:20 +0200
  [PATCH v5 1/2] dt-bindings: Add Cygnus PCIe PHY binding doc Ray Jui <rjui@broadcom.com> - 2015-09-21 19:20 +0200
  [PATCH v5 2/2] phy: cygnus: pcie: Add Cygnus PCIe PHY support Ray Jui <rjui@broadcom.com> - 2015-09-21 19:20 +0200
  Re: [PATCH v5 0/2] Add Cygnus PCIe Serdes/PHY support Ray Jui <rjui@broadcom.com> - 2015-09-28 18:10 +0200
    Re: [PATCH v5 0/2] Add Cygnus PCIe Serdes/PHY support Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-29 15:30 +0200

csiph-web