Skip to content

net: dsa: qca8k: Add SGMII configuration options

Jonathan McDowell linux-devicetree lkml netdev oe-kbuild oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: net: dsa: qca8k: document SGMII propertiesDocumentation/devicetree/bindings/net/dsa/qca8k.txt+4 -02 replies
1/2net: dsa: qca8k: Switch to PHYLINK instead of PHYLIBdrivers/net/dsa/qca8k.c+212 -976 replies
2/2net: dsa: qca8k: introduce SGMII configuration optionsdrivers/net/dsa/qca8k.c drivers/net/dsa/qca8k.h+55 -125 replies
2/2net: dsa: qca8k: Improve SGMII interface handlingdrivers/net/dsa/qca8k.c drivers/net/dsa/qca8k.h+40 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] net: dsa: qca8k: Add SGMII configuration options

This pair of patches adds some SGMII device tree configuration options for the QCA8K switch driver, and the associated documentation.

At present the driver does no configuration of the SGMII port, even if it is selected. These changes allow configuration of how it is connected up (i.e. connected to an external phy, or to a CPU, or to an SFP cage) as well as allowing for autonegotiation to be disabled and a delay configured.

Tested on a MikroTik RB3011; the second switch is connected to the CPU via SGMII.

Jonathan McDowell (2):
dt-bindings: net: dsa: qca8k: document SGMII properties
net: dsa: qca8k: introduce SGMII configuration options

 .../devicetree/bindings/net/dsa/qca8k.txt     |  4 ++
 drivers/net/dsa/qca8k.c                       | 44 ++++++++++++++++++-
 drivers/net/dsa/qca8k.h                       | 12 +++++
 3 files changed, 59 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1