diff mbox series

[net-next,v4,2/9] dt-bindings: net: dsa: microchip: add wakeup-source property

Message ID 20231016141256.2011861-3-o.rempel@pengutronix.de
State Superseded
Headers show
Series net: dsa: microchip: provide Wake on LAN support | expand

Commit Message

Oleksij Rempel Oct. 16, 2023, 2:12 p.m. UTC
Add wakeup-source property to enable Wake on Lan functionality in the
switch.

Since PME wake pin is not always attached to the SoC, use wakeup-source
instead of wakeup-gpios

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andrew Lunn Oct. 16, 2023, 2:33 p.m. UTC | #1
On Mon, Oct 16, 2023 at 04:12:49PM +0200, Oleksij Rempel wrote:
> Add wakeup-source property to enable Wake on Lan functionality in the
> switch.
> 
> Since PME wake pin is not always attached to the SoC, use wakeup-source
> instead of wakeup-gpios
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Florian Fainelli Oct. 16, 2023, 3:34 p.m. UTC | #2
On 10/16/2023 7:12 AM, Oleksij Rempel wrote:
> Add wakeup-source property to enable Wake on Lan functionality in the
> switch.
> 
> Since PME wake pin is not always attached to the SoC, use wakeup-source
> instead of wakeup-gpios
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
index 41014f5c01c4..5751a729af33 100644
--- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
@@ -72,6 +72,8 @@  properties:
   interrupts:
     maxItems: 1
 
+  wakeup-source: true
+
 required:
   - compatible
   - reg