Re: [net-next PATCH v3 12/13] net: dsa: qca8k: implement hw_control ops
From: Andrew Lunn
Date: Mon May 29 2023 - 11:52:42 EST
On Sat, May 27, 2023 at 01:28:53PM +0200, Christian Marangi wrote:
> Implement hw_control ops to drive Switch LEDs based on hardware events.
>
> Netdev trigger is the declared supported trigger for hw control
> operation and supports the following mode:
> - tx
> - rx
>
> When hw_control_set is called, LEDs are set to follow the requested
> mode.
> Each LEDs will blink at 4Hz by default.
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew