netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] net: dsa: microchip: ksz8795: add Wake on LAN support
@ 2024-07-17 19:37 vtpieter
  2024-07-17 19:37 ` [PATCH 1/4] dt-bindings: net: dsa: microchip: add microchip,pme-active-high flag vtpieter
  0 siblings, 1 reply; 12+ messages in thread
From: vtpieter @ 2024-07-17 19:37 UTC (permalink / raw)
  To: devicetree, woojung.huh, UNGLinuxDriver, netdev
  Cc: o.rempel, Pieter Van Trappen

From: Pieter Van Trappen <pieter.van.trappen@cern.ch>

Add WoL support for KSZ8795 family of switches. This code was tested
with a KSZ8794 chip.

Strongly based on existing KSZ9477 code but there's too many
differences, such as the indirect register access, to generalize this
code to ksz_common. Some registers names have been changed to increase
standardization between those code bases.

In addition to the device-tree addition and the actual code, there's
two more patches to correct the erratum workaround application using
the now available indirect register read and a minor correction of
existing KSZ9477 function comments.

Pieter Van Trappen (4):
  dt-bindings: net: dsa: microchip: add microchip,pme-active-high flag
  net: dsa: microchip: ksz8795: add Wake on LAN support
  net: dsa: microchip: check erratum workaround through indirect
    register read
  net: dsa: microchip: ksz9477: correct description of WoL functions

 .../bindings/net/dsa/microchip,ksz.yaml       |   5 +
 drivers/net/dsa/microchip/ksz8.h              |   5 +
 drivers/net/dsa/microchip/ksz8795.c           | 230 +++++++++++++++++-
 drivers/net/dsa/microchip/ksz8795_reg.h       |  17 +-
 drivers/net/dsa/microchip/ksz9477.c           |   8 +-
 drivers/net/dsa/microchip/ksz_common.c        |   5 +
 drivers/net/dsa/microchip/ksz_common.h        |   1 +
 7 files changed, 258 insertions(+), 13 deletions(-)


base-commit: 51835949dda3783d4639cfa74ce13a3c9829de00
-- 
2.43.0


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

end of thread, other threads:[~2024-07-23  2:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 19:37 [PATCH 0/4] net: dsa: microchip: ksz8795: add Wake on LAN support vtpieter
2024-07-17 19:37 ` [PATCH 1/4] dt-bindings: net: dsa: microchip: add microchip,pme-active-high flag vtpieter
2024-07-17 19:37   ` [PATCH 2/4] net: dsa: microchip: ksz8795: add Wake on LAN support vtpieter
2024-07-17 19:37     ` [PATCH 3/4] net: dsa: microchip: check erratum workaround through indirect register read vtpieter
2024-07-17 19:37       ` [PATCH 4/4] net: dsa: microchip: ksz9477: correct description of WoL functions vtpieter
2024-07-19 13:52         ` Oleksij Rempel
2024-07-18  2:24       ` [PATCH 3/4] net: dsa: microchip: check erratum workaround through indirect register read Andrew Lunn
2024-07-18 13:45         ` Pieter
2024-07-19 13:46     ` [PATCH 2/4] net: dsa: microchip: ksz8795: add Wake on LAN support Oleksij Rempel
2024-07-20 12:44       ` Pieter
2024-07-19 12:36   ` [PATCH 1/4] dt-bindings: net: dsa: microchip: add microchip,pme-active-high flag Oleksij Rempel
2024-07-23  2:42   ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).