Message ID | 20240128120451.31219-1-ansuelsmth@gmail.com |
---|---|
Headers | show |
Series | net: phy: split at803x | expand |
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@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
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@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew