Re: [net-next PATCH v3 5/5] net: phy: qcom: detach qca808x PHY driver from at803x
From: Andrew Lunn
Date: Sun Jan 28 2024 - 18:52:29 EST
On Sun, Jan 28, 2024 at 01:04:26PM +0100, Christian Marangi wrote:
> Almost all the QCA8081 PHY driver OPs are specific and only some of them
> use the generic at803x.
>
> To make the at803x code slimmer, move all the specific qca808x regs and
> functions to a dedicated PHY driver.
>
> Probe function and priv struct is reworked to allocate and use only the
> qca808x specific data. Unused data from at803x PHY driver are dropped
> from at803x priv struct.
>
> Also a new Kconfig is introduced QCA808X_PHY, to compile the newly
> introduced PHY driver for QCA8081 PHY.
>
> As the Kconfig name starts with Qualcomm the same order is kept.
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew