All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] net: phy: mv88e61xx: Revise as a PHY driver
@ 2015-12-21 21:45 Kevin Smith
  2015-12-21 21:45 ` [U-Boot] [PATCH v2 " Kevin Smith
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Kevin Smith @ 2015-12-21 21:45 UTC (permalink / raw)
  To: u-boot

The previous version of this driver implemented a shell command to manually
comfigure the switch.  It did not integrate with the PHY infrastructure to
allow a MAC to use it as its PHY.  This is complete rewrite to allow this
switch to function as a driver.  Since none of the original driver remains, the
old driver is first removed and the new PHY driver is added.

This version configures the switch to have a CPU connected over an MII
interface.  It will enable PHY interfaces based on the MV88E61XX_PHY_PORTS
macro.  The switch is configured to allow PHY ports to only communicate to the
CPU.  This allows the switch to be used as a basic PHY on any/all ports.

This was developed on a board with an mv88e6176 connected over SGMII.  It is
intended to work with other configurations, but these could not be tested.  Any
testing on other configurations or with other mv88e61xx chips is appreciated.


Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>


Kevin Smith (2):
  net: Remove unused mv88e61xx switch driver
  net: phy: Add PHY driver for mv88e61xx switches

 drivers/net/phy/mv88e61xx.c | 959 +++++++++++++++++++++++++-------------------
 drivers/net/phy/mv88e61xx.h |  61 ---
 drivers/net/phy/phy.c       |   3 +
 include/netdev.h            |  58 ---
 include/phy.h               |   1 +
 5 files changed, 547 insertions(+), 535 deletions(-)
 delete mode 100644 drivers/net/phy/mv88e61xx.h

-- 
2.4.6

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

end of thread, other threads:[~2016-05-03 20:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 21:45 [U-Boot] [PATCH 0/2] net: phy: mv88e61xx: Revise as a PHY driver Kevin Smith
2015-12-21 21:45 ` [U-Boot] [PATCH v2 " Kevin Smith
2016-01-26 16:09   ` Albert ARIBAUD
2016-01-26 16:13     ` Joe Hershberger
2016-01-26 16:56       ` Kevin Smith
2016-01-26 22:13         ` Albert ARIBAUD
2015-12-21 21:45 ` [U-Boot] [PATCH v2 1/2] net: Remove unused mv88e61xx switch driver Kevin Smith
2016-01-26 15:08   ` Joe Hershberger
2015-12-21 21:45 ` [U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches Kevin Smith
2016-01-27  0:11   ` Joe Hershberger
2016-01-27 16:29     ` Kevin Smith
2016-01-27 17:28       ` Albert ARIBAUD
2016-01-27 20:11         ` Joe Hershberger
2016-03-31 19:33 ` [U-Boot] [PATCH v3 0/2] net: phy: mv88e61xx: Revise as a PHY driver Kevin Smith
2016-03-31 19:33   ` [U-Boot] [PATCH v3 2/2] net: phy: Add PHY driver for mv88e61xx switches Kevin Smith
2016-04-25 22:14     ` Joe Hershberger
2016-05-03 20:17     ` [U-Boot] " Joe Hershberger
2016-03-31 19:33   ` [U-Boot] [PATCH v3 1/2] net: Remove unused mv88e61xx switch driver Kevin Smith
2016-05-03 20:17     ` [U-Boot] " Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.