dsa: mv88e6xxx.c: Hardware reset the chip if available
authorAndrew Lunn <andrew@lunn.ch>
Fri, 20 Nov 2015 02:56:24 +0000 (03:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2015 16:53:10 +0000 (11:53 -0500)
commitc8c1b39a86940edd35439f1e5c9ff39888daf0f0
treeb315bb7d08318d8cf53b1a22ad5505d1840706f4
parentcc30c16344fc3a25153175c7eb9037b2136cd466
dsa: mv88e6xxx.c: Hardware reset the chip if available

The device tree binding now allows a gpio to be specified which is
attached to the switch chips reset line. If it is defined, perform
a hardware reset on the switch during setup.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c