Re: [net-next PATCH v3 3/5] net: phy: qcom: deatch qca83xx PHY driver from at803x

From: Andrew Lunn
Date: Sun Jan 28 2024 - 18:47:15 EST


On Sun, Jan 28, 2024 at 01:04:24PM +0100, Christian Marangi wrote:
> Deatch qca83xx PHY driver from at803x.
>
> The QCA83xx PHYs implement specific function and doesn't use generic
> at803x so it can be detached from the driver and moved to a dedicated
> one.
>
> Probe function and priv struct is reimplemented to allocate and use
> only the qca83xx specific data. Unused data from at803x PHY driver
> are dropped from at803x priv struct.
>
> This is to make slimmer PHY drivers instead of including lots of bloat
> that would never be used in specific SoC.
>
> A new Kconfig flag QCA83XX_PHY is introduced to compile the new
> introduced PHY driver.
>
> 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