public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: dsa: mxl-gsw1xx: setup polarities and validate chip
@ 2026-01-30  0:48 Daniel Golle
       [not found] ` <875329426cffe416ebe6a3064ed632604f29f100.1769733972.git.daniel@makrotopia.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Golle @ 2026-01-30  0:48 UTC (permalink / raw)
  To: Hauke Mehrtens, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, netdev, devicetree,
	linux-kernel

Now that common PHY properties make it easy to configure the SerDes RX
and TX polarities, use that for the SGMII/1000Base-X/2500Base-X PCS of
the MaxLinear GSW1xx switches.

Also, validate hardware in probe() function to make sure the switch is
actually present and MDIO communication works properly.
---
Changes since initial submission:
 * use allOf to include phy-common-props in dt-schema
 * use phy_get_manual_rx_polarity and phy_get_manual_tx_polarity helpers
   instead of open-coding them

Daniel Golle (4):
  net: dsa: mxl-gsw1xx: setup polarities and validate chip
  dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties
  net: dsa: mxl-gsw1xx: configure PCS polarities
  net: dsa: mxl-gsw1xx: validate chip ID

 .../bindings/net/dsa/lantiq,gswip.yaml        |  4 ++
 drivers/net/dsa/lantiq/Kconfig                |  1 +
 drivers/net/dsa/lantiq/mxl-gsw1xx.c           | 61 +++++++++++++++----
 drivers/net/dsa/lantiq/mxl-gsw1xx.h           |  9 +++
 4 files changed, 64 insertions(+), 11 deletions(-)

-- 
2.52.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-31 14:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30  0:48 [PATCH net-next v2 0/3] net: dsa: mxl-gsw1xx: setup polarities and validate chip Daniel Golle
     [not found] ` <875329426cffe416ebe6a3064ed632604f29f100.1769733972.git.daniel@makrotopia.org>
2026-01-30  0:49   ` [PATCH net-next v2 1/3] dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties Daniel Golle
2026-01-30  0:49   ` [PATCH net-next v2 2/3] net: dsa: mxl-gsw1xx: configure PCS polarities Daniel Golle
2026-01-31 14:39     ` Vladimir Oltean
2026-01-30  0:50   ` [PATCH net-next v2 3/3] net: dsa: mxl-gsw1xx: validate chip ID Daniel Golle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox