Re: [net-next PATCH v2 11/12] net: phy: at803x: move at8035 specific DT parse to dedicated probe

From: Andrew Lunn
Date: Wed Dec 06 2023 - 12:26:24 EST


On Fri, Dec 01, 2023 at 01:14:21AM +0100, Christian Marangi wrote:
> Move at8035 specific DT parse for clock out frequency to dedicated probe
> to make at803x probe function more generic.
>
> This is to tidy code and no behaviour change are intended.
>
> Detection logic is changed, we check if the clk 25m mask is set and if
> it's not zero, we assume the qca,clk-out-frequency property is set.
>
> The property is checked in the generic at803x_parse_dt called by
> at803x_probe.
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew