[PATCH net-next 12/18] Documentation/bindings: net: marvell-pp2: add the interrupt-names

Antoine Tenart antoine.tenart at free-electrons.com
Mon Jul 24 06:48:42 PDT 2017


An interrupt-names property can be used in the PPv2 port description
bindings when more than a single interrupt (for rx) is used. Document
this new optional property.

Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
---
 Documentation/devicetree/bindings/net/marvell-pp2.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt
index 18ec66e51b0a..553aadceeeee 100644
--- a/Documentation/devicetree/bindings/net/marvell-pp2.txt
+++ b/Documentation/devicetree/bindings/net/marvell-pp2.txt
@@ -42,6 +42,9 @@ Optional properties (port):
 - phy: a phandle to a phy node defining the PHY address (as the reg
   property, a single integer).
 - marvell,system-controller: a phandle to the system controller.
+- interrupt-names: if more than a single interrupt for rx is given, must
+                   be the name associated to the interrupts listed. Valid
+                   names are: "rx-shared", "link".
 
 Example for marvell,armada-375-pp2:
 
@@ -82,18 +85,21 @@ cpm_ethernet: ethernet at 0 {
 
 	eth0: eth0 {
 		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "rx-shared";
 		port-id = <0>;
 		gop-port-id = <0>;
 	};
 
 	eth1: eth1 {
 		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "rx-shared";
 		port-id = <1>;
 		gop-port-id = <2>;
 	};
 
 	eth2: eth2 {
 		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "rx-shared";
 		port-id = <2>;
 		gop-port-id = <3>;
 	};
-- 
2.13.3




More information about the linux-arm-kernel mailing list