Re: [PATCH net-next v4 3/9] net: dsa: microchip: use wakeup-source DT property to enable PME output

From: Andrew Lunn
Date: Mon Oct 16 2023 - 10:34:48 EST


On Mon, Oct 16, 2023 at 04:12:50PM +0200, Oleksij Rempel wrote:
> KSZ switches with WoL support signals wake event over PME pin. If this
> pin is attached to some external PMIC or System Controller can't be
> described as GPIO, the only way to describe it in the devicetree is to
> use wakeup-source property. So, add support for this property and enable
> PME switch output if this property is present.
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew