All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Smith <kevin.smith@elecsyscorp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] net: phy: mv88e61xx: Revise as a PHY driver
Date: Mon, 21 Dec 2015 21:45:31 +0000	[thread overview]
Message-ID: <1450734319-9515-1-git-send-email-kevin.smith@elecsyscorp.com> (raw)

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

             reply	other threads:[~2015-12-21 21:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-21 21:45 Kevin Smith [this message]
2015-12-21 21:45 ` [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450734319-9515-1-git-send-email-kevin.smith@elecsyscorp.com \
    --to=kevin.smith@elecsyscorp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.