mbox series

[0/2] sun8i-emac: sun8i-v3s compatibility for sun8i-emac

Message ID 3a424411-c041-0017-b173-2ed67ec2b114@bamkrs.de
Headers show
Series sun8i-emac: sun8i-v3s compatibility for sun8i-emac | expand

Message

Benedikt-Alexander Mokroß May 27, 2020, 1:33 p.m. UTC
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(-)