net: dwc_eth_xgmac_socfpga: Add support for rgmii-id mode.
authorBoon Khai Ng <boon.khai.ng@intel.com>
Fri, 17 Jan 2025 06:56:25 +0000 (14:56 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 24 Jan 2025 01:56:03 +0000 (09:56 +0800)
commit85dccc5e8945154d8c1c0e75df55a2c1c1e49f92
treeaa64e75896c7193db03ede99f7fe032a6421939f
parentbe54527df5c91b069eda0e46f63cfe1f3e89e07a
net: dwc_eth_xgmac_socfpga: Add support for rgmii-id mode.

An issue was identified where selecting the phy-mode as
rgmii-id in the device tree source (DTS) would cause the
`dwc_eth_xgmac_socfpga` driver to raise an unsupported phy mode error.

From the MAC controller's perspective, the rgmii and rgmii-id
phy modes are effectively identical. To address this, both
modes will now be configured to rgmii in the MAC controller.

This change ensures that the rgmii-id phy mode is properly
supported without error.

Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/net/dwc_eth_xgmac_socfpga.c