net: designware: support phy reset device-tree bindings
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 28 Feb 2016 21:24:55 +0000 (22:24 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 15:00:48 +0000 (09:00 -0600)
commit90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7
tree32909f2f1853af4f8553d713a6fedd41a5a2d8d0
parent6523dbf7cce8d8c903346f756e0e41e46ce6d6b9
net: designware: support phy reset device-tree bindings

Add support for the snps,reset-gpio, snps,reset-active-low (optional) and
snps,reset-delays-us device-tree bindings. The combination of these
three define how the PHY should be reset to ensure it's in a sane state.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/designware.c
drivers/net/designware.h