Re: [PATCH net-next] net: pcs: pcs-lynx: remove lynx_get_mdio_device() and refactor cleanup

From: Vladimir Oltean
Date: Fri Jan 27 2023 - 08:44:04 EST


On Fri, Jan 27, 2023 at 02:40:30PM +0100, Maxime Chevallier wrote:
> One of the main difference is that the TSE pcs is memory-mapped, and
> the merge into pcs-lynx would first require a conversion of pcs-lynx
> to regmap.

I suppose sooner or later you'll want to convert stuff like
phylink_mii_c22_pcs_get_state() to regmap too?

Can't you create an MDIO bus for the TSE PCS which translates MDIO
reads/writes to MMIO accesses?