# Re: \[PATCH net-next v5 2/7\] net: phylink: add rxc\_always\_on flag to phylink\_pcs

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2024-03-04 13:40:18 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/03/8844006
- Thread: https://ratatoskr.run/netdev/2024/03/8843951/t.md

```text
On Fri, Mar 01, 2024 at 04:34:59PM +0100, Romain Gantois wrote:
> Some MAC drivers (e.g. stmmac) require a continuous receive clock signal to
> be generated by a PCS that is handled by a standalone PCS driver.
> 
> Such a PCS driver does not have access to a PHY device, thus cannot check
> the PHY_F_RXC_ALWAYS_ON flag. They cannot check max_requires_rxc in the
> phylink config either, since it is a private member. Therefore, a new flag
> is needed to signal to the PCS that it should keep the RX clock signal up
> at all times.
> 
> Suggested-by: Russell King <linux@armlinux.org.uk>
> Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>

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

    Andrew
```
