The V3s shares nearly the same mac and phy to the H3.
Therefore, the sun8i-emac driver which already supports the H3 can be
extended to support the V3s with some small adjustments.

For this the CLK and RST gates for EMAC and EPHY were added and the
sun8i-emac driver was extended to accept the V3s in the first patch.
The second (optional) patch adds the sun8i-v3s-emac node to sun8i-v3s.dtsi.

Benedikt-Alexander Mokroß (2):
  sun8i-emac: sun8i-v3s compatibility for sun8i-emac
  sun8i-emac: Added sun8i-v3s-emac example to sun8i-v3s.dtsi

 arch/arm/dts/sun8i-v3s.dtsi | 48 +++++++++++++++++++++++++++++++++++++
 drivers/clk/sunxi/clk_v3s.c | 10 ++++++--
 drivers/net/sun8i_emac.c    | 19 ++++++++++-----
 3 files changed, 69 insertions(+), 8 deletions(-)

--
2.20.1

Reply via email to