Re: [PATCH] net: phy: mscc: handle the clkout control on some phy variants

2020-06-08 Thread Andrew Lunn
On Mon, Jun 08, 2020 at 06:02:07PM +0200, Heiko Stuebner wrote: > +static int vsc8531_probe(struct phy_device *phydev) > +{ > + struct vsc8531_private *vsc8531; > + int rate_magic; > + u32 default_mode[2] = {VSC8531_LINK_1000_ACTIVITY, > +VSC8531_LINK_100_ACTIVITY}; > + > +

[PATCH] net: phy: mscc: handle the clkout control on some phy variants

2020-06-08 Thread Heiko Stuebner
From: Heiko Stuebner At least VSC8530/8531/8540/8541 contain a clock output that can emit a predefined rate of 25, 50 or 125MHz. This may then feed back into the network interface as source clock. So follow the example the at803x already set and introduce a vsc8531,clk-out-frequency property to