mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add Davicom phy + reset-gpios
@ 2018-08-07 21:14 Sam Ravnborg
  2018-08-07 21:16 ` [PATCH v1 1/2] phylib: add Davicom support Sam Ravnborg
  2018-08-07 21:17 ` [PATCH v1 2/2] phylib: add support for reset-gpios Sam Ravnborg
  0 siblings, 2 replies; 4+ messages in thread
From: Sam Ravnborg @ 2018-08-07 21:14 UTC (permalink / raw)
  To: barebox; +Cc: Sam Ravnborg

The following two patches was necessary to get networking
operational on my proprietary target.
The target is at91sam9263 based with a Davicom PHY.

The Davicom PHY is a straight copy form the Linux
kernel with the interrupt routine removed and
minor adjustments to the rest.

The davicom PHY would not work until it had seen a reset
cycle - which I think may be an artifact of the board design.

To fix the reset issue I have implemented support for the
reset-gpios binding (see phy-bindings.txt).
A minimal implmentation was done, just enough to get
my target running.

I could have implmented something in macb -
but I considered the above the more generic solution.

	Sam

Sam Ravnborg (4):
      phylib: add Davicom support
      phylib: add support for reset-gpios


 drivers/net/phy/Kconfig    |    5 +
 drivers/net/phy/Makefile   |    1 
 drivers/net/phy/davicom.c  |  140 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/mdio_bus.c |   58 +++++++++++++++++-
 include/linux/phy.h        |    5 +
 5 files changed, 206 insertions(+), 3 deletions(-)


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-08  4:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 21:14 [PATCH v1 0/2] Add Davicom phy + reset-gpios Sam Ravnborg
2018-08-07 21:16 ` [PATCH v1 1/2] phylib: add Davicom support Sam Ravnborg
2018-08-07 21:17 ` [PATCH v1 2/2] phylib: add support for reset-gpios Sam Ravnborg
2018-08-08  4:51   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox