[PATCH net-next v3 4/4] net: ftgmac100: Add RGMII delay support for AST2600

Andrew Lunn andrew at lunn.ch
Tue Nov 4 14:55:19 AEDT 2025


> +	rgmii_tx_delay = DIV_ROUND_CLOSEST(rgmii_tx_delay, rgmii_delay_unit);
> +	if (rgmii_tx_delay >= 32) {
> +		dev_err(&pdev->dev,
> +			"The index %u of TX delay setting is out of range\n",
> +			rgmii_tx_delay);

The index is not really interesting here, it is not something a DT
author uses. It is the delay in ps in the .dts file which is too big.

       Andrew


More information about the Linux-aspeed mailing list