summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorPieter Van Trappen <pieter.van.trappen@cern.ch>2024-08-13 16:27:38 +0200
committerJakub Kicinski <kuba@kernel.org>2024-08-16 19:25:02 +0200
commit90b06ac06529b4c90af97763e57cf38d96999827 (patch)
tree7f6a6c163e43477350f74240a9044093a4473124 /lib/idr.c
parentnet: dsa: microchip: generalize KSZ9477 WoL functions at ksz_common (diff)
downloadlinux-90b06ac06529b4c90af97763e57cf38d96999827.tar.xz
linux-90b06ac06529b4c90af97763e57cf38d96999827.zip
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: Pieter Van Trappen <pieter.van.trappen@cern.ch> Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com> Link: https://patch.msgid.link/20240813142750.772781-5-vtpieter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions