summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-01-17 21:24:41 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-19 20:02:02 -0800
commitc5e4ddbdfa1134a36589c1466ed4abb85fe6f976 (patch)
tree908c42eb77eb07e110352b4f26210fffe201760a /Documentation
parent62866e98737e77c87f9dec99edea76ab54360770 (diff)
downloadop-kernel-dev-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.zip
op-kernel-dev-c5e4ddbdfa1134a36589c1466ed4abb85fe6f976.tar.gz
net: stmmac: Add support for optional reset control
The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/stmmac.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt
index eba0e5e..d132513 100644
--- a/Documentation/devicetree/bindings/net/stmmac.txt
+++ b/Documentation/devicetree/bindings/net/stmmac.txt
@@ -30,6 +30,9 @@ Required properties:
Optional properties:
- mac-address: 6 bytes, mac address
+- resets: Should contain a phandle to the STMMAC reset signal, if any
+- reset-names: Should contain the reset signal name "stmmaceth", if a
+ reset phandle is given
Examples:
OpenPOWER on IntegriCloud