[PATCH] dwmac_socfpga: Add RGMII-ID support

Marek Vasut marex at denx.de
Wed Dec 4 00:37:46 CET 2024


On 12/4/24 12:30 AM, Rufus Segar wrote:
> From: Rufus Segar <rufuss at carallon.com>
> 
> This patch adds support for the "rgmii-id", "rgmii-rxid", and
> "rgmii-txid" modes for the dwmac_socfpga driver.
> 
> Signed-off-by: Rufus Segar <rufus.segar at carallon.com>
> ---
>   drivers/net/dwmac_socfpga.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/net/dwmac_socfpga.c b/drivers/net/dwmac_socfpga.c
> index bba3fc4d34..dcaf4132c5 100644
> --- a/drivers/net/dwmac_socfpga.c
> +++ b/drivers/net/dwmac_socfpga.c
> @@ -106,6 +106,9 @@ static int dwmac_socfpga_probe(struct udevice *dev)
>   		modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RMII;
>   		break;
>   	case PHY_INTERFACE_MODE_RGMII:
> +	case PHY_INTERFACE_MODE_RGMII_ID:
> +	case PHY_INTERFACE_MODE_RGMII_RXID:
> +	case PHY_INTERFACE_MODE_RGMII_TXID:
>   		modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RGMII;
>   		break;
>   	default:

$ git log --oneline --no-merges drivers/net/dwmac_socfpga.c

indicates the subject prefix should be 'net: designware: socfpga: Add 
RGMII-ID support' . With that fixed:

Reviewed-by: Marek Vasut <marex at denx.de>

Thanks !


More information about the U-Boot mailing list