dm9000: Add regulator and reset support to dm9000
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Thu, 15 Jan 2015 10:12:26 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 19:08:07 +0000 (14:08 -0500)
commit7994fe55a4a2009d9e9153ded4ac4369d1adaaa3
treef7eaf4cb552146ab52065e5c7d13d63f1aebc8e1
parent7eb35b148305c6f86a6bc5818c29f79e0d45146c
dm9000: Add regulator and reset support to dm9000

In boards, the dm9000 chip's power and reset can be controlled by gpio.

It makes sense to add them to the dm9000 driver and let dt be used to
enable power and reset the phy.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/davicom-dm9000.txt
drivers/net/ethernet/davicom/dm9000.c