]> Git Repo - u-boot.git/commit
net: xilinx_axi: add PCS/PMA PHY
authorAndy Chiu <[email protected]>
Tue, 1 Nov 2022 03:57:59 +0000 (11:57 +0800)
committerMichal Simek <[email protected]>
Mon, 5 Dec 2022 07:55:54 +0000 (08:55 +0100)
commite23544cffe7057d678846498ec0fbf21eff9bc95
tree383268b0328e476e545ead028790887ac4d4a795
parentd2c5607edde2544e059fa871927877213f6bd532
net: xilinx_axi: add PCS/PMA PHY

If we bridge an external PHY to Xilinx's PCS/PMA PHY and would like to
get and set the real status of the PHY facing the external world. Then
we should phy_connect() to the external PHY instead of the PCS/PMA one.
Thus, we add a pcs-handle DT entry, which have been merged in Linux, and
leave the configuration of it to the driver itself.

Unlike Linux, where the PCS/PMA PHY is managed by phylink, managing the
PCS/PMA PHY is only internal to the driver in U-Boot. The PCS/PMA PHY
pressents only when the phy-mode is configured as SGMII or 1000Base-X,
so it is always 1 Gbps and full-duplex and we may skip passing link
information out.

Signed-off-by: Andy Chiu <[email protected]>
Reviewed-by: Greentime Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
drivers/net/xilinx_axi_emac.c
This page took 0.03133 seconds and 4 git commands to generate.