public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Russell King <rmk+kernel@armlinux•org.uk>
To: Andrew Lunn <andrew@lunn•ch>,
	Gregory Clement <gregory.clement@bootlin•com>,
	Jason Cooper <jason@lakedaemon•net>,
	Kishon Vijay Abraham I <kishon@ti•com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail•com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin•com>
Cc: devicetree@vger•kernel.org, linux-arm-kernel@lists•infradead.org,
	netdev@vger•kernel.org, Rob Herring <robh+dt@kernel•org>,
	Mark Rutland <mark.rutland@arm•com>
Subject: [PATCH net-next 1/6] dt-bindings: phy: Armada 38x common phy bindings
Date: Wed, 06 Feb 2019 11:34:47 +0000	[thread overview]
Message-ID: <E1grLTb-00060v-Dk@rmk-PC.armlinux.org.uk> (raw)
In-Reply-To: <20190206113409.ko7lwuv5kb7l7rjo@shell.armlinux.org.uk>

Add the Marvell Armada 38x common phy bindings.

Signed-off-by: Russell King <rmk+kernel@armlinux•org.uk>
---
 .../bindings/phy/phy-armada38x-comphy.txt          | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt

diff --git a/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt b/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt
new file mode 100644
index 000000000000..ad49e5c01334
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt
@@ -0,0 +1,40 @@
+mvebu armada 38x comphy driver
+------------------------------
+
+This comphy controller can be found on Marvell Armada 38x. It provides a
+number of shared PHYs used by various interfaces (network, sata, usb,
+PCIe...).
+
+Required properties:
+
+- compatible: should be "marvell,armada-380-comphy"
+- reg: should contain the comphy register location and length.
+- #address-cells: should be 1.
+- #size-cells: should be 0.
+
+A sub-node is required for each comphy lane provided by the comphy.
+
+Required properties (child nodes):
+
+- reg: comphy lane number.
+- #phy-cells : from the generic phy bindings, must be 1. Defines the
+               input port to use for a given comphy lane.
+
+Example:
+
+	comphy: phy@18300 {
+		compatible = "marvell,armada-380-comphy";
+		reg = <0x18300 0x100>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpm_comphy0: phy@0 {
+			reg = <0>;
+			#phy-cells = <1>;
+		};
+
+		cpm_comphy1: phy@1 {
+			reg = <1>;
+			#phy-cells = <1>;
+		};
+	};
-- 
2.7.4


  reply	other threads:[~2019-02-06 11:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 11:34 [PATCH net-next 0/6] Add comphy support for Armada 38x Russell King - ARM Linux admin
2019-02-06 11:34 ` Russell King [this message]
2019-02-06 11:34 ` [PATCH net-next 2/6] phy: armada38x: add common phy support Russell King
2019-02-06 19:59   ` David Miller
2019-02-06 11:34 ` [PATCH net-next 3/6] ARM: dts: add description for Armada 38x common phy Russell King
2019-02-06 11:35 ` [PATCH net-next 4/6] dt-bindings: net: mvneta: add phys property Russell King
2019-02-06 11:35 ` [PATCH net-next 5/6] net: marvell: neta: add comphy support Russell King
2019-02-06 15:09   ` Maxime Chevallier
2019-02-06 17:23     ` Russell King - ARM Linux admin
2019-02-06 11:35 ` [PATCH net-next 6/6] ARM: dts: clearfog: add comphy settings for Ethernet interfaces Russell King

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=E1grLTb-00060v-Dk@rmk-PC.armlinux.org.uk \
    --to=rmk+kernel@armlinux$(echo .)org.uk \
    --cc=andrew@lunn$(echo .)ch \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=gregory.clement@bootlin$(echo .)com \
    --cc=jason@lakedaemon$(echo .)net \
    --cc=kishon@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=sebastian.hesselbarth@gmail$(echo .)com \
    --cc=thomas.petazzoni@bootlin$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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