mbox series

[v3,0/3] net: dsa: mv88e6xxx: serdes link without phy

Message ID 20201020034558.19438-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series net: dsa: mv88e6xxx: serdes link without phy | expand

Message

Chris Packham Oct. 20, 2020, 3:45 a.m. UTC
This small series gets my hardware into a working state. The key points are to
make sure we don't force the link and that we ask the MAC for the link status.
I also have updated my dts to say `phy-mode = "1000base-x";` and `managed =
"in-band-status";`

I've included patch #3 in this series but I don't have anything to test it on.
It's just a guess based on the datasheets. I'd suggest applying patch 1 & 2
and leaving 3 for the mailing list archives.

Chris Packham (3):
  net: dsa: mv88e6xxx: Don't force link when using in-band-status
  net: dsa: mv88e6xxx: Support serdes ports on MV88E6097/6095/6185
  net: dsa: mv88e6xxx: Support serdes ports on MV88E6123/6131

 drivers/net/dsa/mv88e6xxx/chip.c   |  26 ++++++-
 drivers/net/dsa/mv88e6xxx/serdes.c | 106 +++++++++++++++++++++++++++++
 drivers/net/dsa/mv88e6xxx/serdes.h |   9 +++
 3 files changed, 139 insertions(+), 2 deletions(-)