net: ks8851: Add optional vdd_io regulator and reset gpio
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 23 May 2014 19:57:19 +0000 (12:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 May 2014 18:03:21 +0000 (14:03 -0400)
commit73fdeb82e963a0e0f7f2781560b43655ab0b40d5
treeea4728e5079e513e830ef655247e47bfa8a54974
parentc78dbad8c441af4815cd660587470b78552ecfd8
net: ks8851: Add optional vdd_io regulator and reset gpio

Allow the ks8851 driver to enable an optional 1.8V vdd_io
regulator and assert the reset pin to the phy if a reset gpio is
present in device tree.

Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c