[U-Boot] [U-Boot, v3, 05/20] net: gmac_rockchip: Add support for the RV1108 GMAC

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Jan 25 09:42:21 UTC 2018


> The rv1108 GMAC only support rmii interface, so need to add the
> set_rmii() ops. Use the phy current interface to set rmii or
> rgmii ops. At the same time, need to set the mac clock rate of
> rmii with 50M, the clock rate of rgmii with 125M.
> 
> Signed-off-by: David Wu <david.wu at rock-chips.com>
> ---
> 
> Changes in v3:
> - return error if there was no set_to_rgmii ops at rgmii case
> - return error if there was no set_to_rmii ops at rmii case
> - set and check clock rate when gmac clock is internal pll.
> 
> Changes in v2:
> - Add check whether the set rgmii/rmii function is a valid function pointer
> - Clean the grf offset at gmac_rockchip.c
> - Use current phy interface to set mac clock rate
> 
>  drivers/net/gmac_rockchip.c | 115 +++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 109 insertions(+), 6 deletions(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list