From: David Miller Sent: Tuesday, May 26, 2020 9:13 AM
> From: Fugang Duan
> Date: Mon, 25 May 2020 18:29:13 +0800
>
> > +static int imx_dwmac_init(struct platform_device *pdev, void *priv) {
> > + struct imx_priv_data *dwmac = priv;
> > + struct plat_stmmacenet_data *plat_dat = dwmac->p
From: Fugang Duan
Date: Mon, 25 May 2020 18:29:13 +0800
> +static int imx_dwmac_init(struct platform_device *pdev, void *priv)
> +{
> + struct imx_priv_data *dwmac = priv;
> + struct plat_stmmacenet_data *plat_dat = dwmac->plat_dat;
> + int ret;
> +
Please code these sequences as:
NXP imx8 family like imx8mp/imx8dxl chips support Synopsys MAC 5.10a IP.
This patch adds settings for NXP imx8 glue layer:
- clocks
- dwmac address width
- phy interface mode selection
- adjust rgmii txclk rate
Signed-off-by: Fugang Duan
---
drivers/net/ethernet/stmicro/stmmac/Kconfig | 13