Re: [PATCH net-next v4 4/5] net: dsa: microchip: add WoL support for KSZ87xx family

From: Arun.Ramadoss
Date: Mon Aug 12 2024 - 06:40:36 EST


On Mon, 2024-08-12 at 10:49 +0200, vtpieter@xxxxxxxxx wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> From: Pieter Van Trappen <pieter.van.trappen@xxxxxxx>
>
> 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@xxxxxxx>

Acked-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>