Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] mv88e6xxx: SERDES on mv88e6321
@ 2026-05-28 21:03 Fidan Aliyeva
  2026-05-28 21:03 ` [PATCH net-next v3 1/3] mv88e6xxx: Add mv88e6352_serdes_get_lane Fidan Aliyeva
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Fidan Aliyeva @ 2026-05-28 21:03 UTC (permalink / raw)
  To: andrew, olteanv, davem, edumazet, kuba, pabeni, marek.behun
  Cc: netdev, linux-kernel, fidan.aliyeva.ext

This patch series add code support to be able to use SERDES feature of
mv88e6321 version of Marvel mv88e6xxx series. mv88e6321 has 2 ports to
support high speed SERDES but the support is lacking in the driver.

mv88e6321 version has a similar architecture to mv88e6352 version making it
possible to reuse its pcs functions. That's why the patch series consist of
2 parts:

1. Refactor the serdes functions and pcs_init of mv88e6352 to be more
generic (patches 1-2).
2. Add the SERDES support for mv88e6321 reusing 6352's pcs functions

The final code has been tested on mv88e6321 ethernet device directly by ip
ping tests, performance tests and also verifying the switch's expected
register values.

Referred document: 88E6321/88E6320 Functional Specification

---
Changes in v3:
  - After 'Cache scratch config3 of 6352' series, make all the serdes
  related functions of 6352 in serdes.c generic and make 6321 reuse them.

v2 link:
https://lore.kernel.org/netdev/20260507200109.3726627-1-fidan.aliyeva.ext@ericsson.com/

Above mentioned series:
https://lore.kernel.org/netdev/20260521202924.727929-1-fidan.aliyeva.ext@ericsson.com/

Changes in v2:
  - Removed 6321-specific pcs_init and made 6352's pcs_init more generic
  as suggested by Andrew Lunn
  - Added the correct mailing list

---
Fidan Aliyeva (3):
  mv88e6xxx: Add mv88e6352_serdes_get_lane
  mv88e6xxx: Refactor 6352's serdes functions
  mv88e6xxx: Add SERDES Support for mv88e6321

 drivers/net/dsa/mv88e6xxx/chip.c     |  8 +++
 drivers/net/dsa/mv88e6xxx/pcs-6352.c | 10 ++--
 drivers/net/dsa/mv88e6xxx/serdes.c   | 82 +++++++++++++++++++---------
 drivers/net/dsa/mv88e6xxx/serdes.h   |  4 ++
 4 files changed, 74 insertions(+), 30 deletions(-)

--
2.36.0


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

end of thread, other threads:[~2026-06-02  2:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-28 21:03 [PATCH net-next v3 0/3] mv88e6xxx: SERDES on mv88e6321 Fidan Aliyeva
2026-05-28 21:03 ` [PATCH net-next v3 1/3] mv88e6xxx: Add mv88e6352_serdes_get_lane Fidan Aliyeva
2026-05-28 21:26   ` Andrew Lunn
2026-05-28 21:03 ` [PATCH net-next v3 2/3] mv88e6xxx: Refactor 6352's serdes functions Fidan Aliyeva
2026-05-28 21:27   ` Andrew Lunn
2026-06-02  2:13   ` Jakub Kicinski
2026-05-28 21:03 ` [PATCH net-next v3 3/3] mv88e6xxx: Add SERDES Support for mv88e6321 Fidan Aliyeva
2026-05-28 21:30   ` Andrew Lunn
2026-06-02  2:20 ` [PATCH net-next v3 0/3] mv88e6xxx: SERDES on mv88e6321 patchwork-bot+netdevbpf

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