Commit 90b06ac0 authored by Pieter Van Trappen's avatar Pieter Van Trappen Committed by Jakub Kicinski
Browse files

net: dsa: microchip: add WoL support for KSZ87xx family



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

Implement ksz_common usage of the new device-tree property
'microchip,pme-active-high'.

Make use of the now generalized ksz_common WoL functions, adding an
additional interrupt register write for KSZ87xx. Add helper functions
to convert from PME (port) read/writes to indirect register
read/writes in the dedicated ksz8795 sources.  Add initial
configuration during (port) setup as per KSZ9477.

Signed-off-by: default avatarPieter Van Trappen <pieter.van.trappen@cern.ch>
Acked-by: default avatarArun Ramadoss <arun.ramadoss@microchip.com>
Link: https://patch.msgid.link/20240813142750.772781-5-vtpieter@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fd250fed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment