[PATCH net-next v4 4/4] net: stmmac: dwmac-sogfpga: use the lynx pcs driver
Simon Horman
simon.horman at corigine.com
Mon Jun 5 00:38:19 PDT 2023
On Thu, Jun 01, 2023 at 04:14:54PM +0200, Maxime Chevallier wrote:
> dwmac_socfpga re-implements support for the TSE PCS, which is identical
> to the already existing TSE PCS, which in turn is the same as the Lynx
> PCS. Drop the existing TSE re-implemenation and use the Lynx PCS
> instead, relying on the regmap-mdio driver to translate MDIO accesses
> into mmio accesses.
>
> Add a lynx_pcs reference in the stmmac's internal structure, and use
> .mac_select_pcs() to return the relevant PCS to be used.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Reviewed-by: Simon Horman <simon.horman at corigine.com>
More information about the linux-arm-kernel
mailing list