]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve Rockchip's integration of if_dwc
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>
Mon, 10 Aug 2020 19:37:06 +0000 (19:37 +0000)
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>
Mon, 10 Aug 2020 19:37:06 +0000 (19:37 +0000)
commit824cfb472932d2a4c27c601170ec5bd44327aa22
tree1428b0c3a6dcbdf3519bb14482fedd61ee551dbc
parent25e42ee2172b437d2bf833da3c45fb3d426cd3d3
Improve Rockchip's integration of if_dwc

- Do not rely on U-Boot for clocks configuration, enable and set frequencies
    in the driver's attach method.
- Adjust MAC settings according to detected linespeed on RK3399 and RK3328.
- Add support for RMII PHY mode on RK3328.

Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D26006
sys/arm64/rockchip/if_dwc_rk.c
sys/dev/dwc/if_dwc.c
sys/dev/dwc/if_dwc.h
sys/dev/dwc/if_dwc_if.m
sys/dev/dwc/if_dwcvar.h