[PATCH net-next v2 0/6] net: dsa: microchip: provide Wake on LAN support

From: Oleksij Rempel
Date: Fri Jul 21 2023 - 09:56:25 EST


changes v2:
- rebase against latest next

This series of patches provides Wake on LAN support for the KSZ9477
family of switches. It was tested on KSZ8565 Switch with PME pin
attached to an external PMIC.

The patch making WoL configuration persist on system shutdown will be
send separately, since it will potentially need more discussion.

Oleksij Rempel (6):
dt-bindings: net: dsa: microchip: add wakeup-source property
dt-bindings: net: dsa: microchip: add local-mac-address property
support
net: dsa: microchip: ksz9477: add Wake on LAN support
net: dsa: microchip: ksz9477: add Wake on PHY event support
net: dsa: microchip: use wakeup-source DT property to enable PME
output
net: dsa: microchip: ksz9477: make switch MAC address configurable

.../bindings/net/dsa/microchip,ksz.yaml | 3 +
drivers/net/dsa/microchip/ksz9477.c | 86 +++++++++++++++++++
drivers/net/dsa/microchip/ksz9477.h | 4 +
drivers/net/dsa/microchip/ksz_common.c | 51 +++++++++++
drivers/net/dsa/microchip/ksz_common.h | 3 +
5 files changed, 147 insertions(+)

--
2.39.2