]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-dsa-qca8k-Improve-SGMII-interface-handling'
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2020 22:54:34 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2020 22:54:34 +0000 (15:54 -0700)
commit22e2d58709f606d1a9f52e49dd2747e4073938c5
tree92f564cd2e37a4423ef366949b9fc713a632df32
parent3e1b6464a11d0e2a7d78743129827c3c09474800
parent94bacbc1d403c6f4406c1fa26a136ed3e1c8ef36
Merge branch 'net-dsa-qca8k-Improve-SGMII-interface-handling'

Jonathan McDowell says:

====================
net: dsa: qca8k: Improve SGMII interface handling

This 3 patch series migrates the qca8k switch driver over to PHYLINK,
and then adds the SGMII clean-ups (i.e. the missing initialisation) on
top of that as a second patch. The final patch is a simple spelling fix
in a comment.

As before, tested with a device where the CPU connection is RGMII (i.e.
the common current use case) + one where the CPU connection is SGMII. I
don't have any devices where the SGMII interface is brought out to
something other than the CPU.

v5:
- Move spelling fix to separate patch
- Use ds directly rather than ds->priv
v4:
- Enable pcs_poll so we keep phylink updated when doing in-band
  negotiation
- Explicitly check for PHY_INTERFACE_MODE_1000BASEX when setting SGMII
  port mode.
- Address Vladimir's review comments
v3:
- Move phylink changes to separate patch
- Address rmk review comments
v2:
- Switch to phylink
- Avoid need for device tree configuration options
====================

Signed-off-by: David S. Miller <davem@davemloft.net>