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

From: Florian Fainelli
Date: Mon Oct 16 2023 - 11:35:28 EST




On 10/16/2023 7:12 AM, 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: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian