The mv88e6390 ports 9 & 10 allow there CMODE to be set. CMODE is part
of what linux defines as phy-mode. Add the needed phy-modes to linux,
and add code which will act upon the phy-mode property to configure
the switch port.

These patches have been posted before as part of a bigger patchset
which has now been broken up. I've added the received reviewed by
tags, and added device tree documentation.

Andrew Lunn (2):
  net: phy: Add 2000base-x, 2500base-x and rxaui modes
  net: dsa: mv88e6xxx: Set the CMODE for mv88e6390 ports 9 & 10

 Documentation/devicetree/bindings/net/ethernet.txt |  3 +
 drivers/net/dsa/mv88e6xxx/chip.c                   |  8 +++
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h              |  9 +++
 drivers/net/dsa/mv88e6xxx/port.c                   | 64 ++++++++++++++++++++++
 drivers/net/dsa/mv88e6xxx/port.h                   |  3 +
 include/linux/phy.h                                |  9 +++
 6 files changed, 96 insertions(+)

-- 
2.11.0

Reply via email to