devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] net-next: stmmac: dwmac-sun8i: add support for V3s
@ 2017-06-17 14:07 Icenowy Zheng
       [not found] ` <20170617140737.41951-1-icenowy-h8G6r0blFSE@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Icenowy Zheng @ 2017-06-17 14:07 UTC (permalink / raw)
  To: Rob Herring, LABBE Corentin, David S . Miller, Maxime Ripard,
	Chen-Yu Tsai
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng

Allwinner V3s features an EMAC like the on in H3, but without external MII
interfaces, so being not able really to use RMII/RGMII.

And it has a different default value of syscon (0x38000 instead of 0x58000
on H3), which shows a problem that the EMAC clock freq should be 24MHz.
(Both H3 and V3s SoCs doesn't have extra xtal input for EPHY, and the
main xtal is 24MHz. The default value of H3 is set to 24MHz, but the V3s
default value is set to 25MHz).

First two patches are device tree binding patches, the third forces
the frequency to 24MHz and the fourth really add the V3s support.

Icenowy Zheng (4):
  dt-bindings: net-next: Add DT bindings documentation for Allwinner V3s
    EMAC
  dt-bindings: syscon: Add DT bindings documentation for Allwinner V3s
    syscon
  net-next: stmmac: dwmac-sun8i: force EPHY clock freq to 24MHz
  net-next: stmmac: dwmac-sun8i: add support for V3s EMAC

 Documentation/devicetree/bindings/misc/allwinner,syscon.txt |  1 +
 Documentation/devicetree/bindings/net/dwmac-sun8i.txt       | 10 ++++++++--
 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c           | 12 ++++++++++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c       |  1 +
 4 files changed, 22 insertions(+), 2 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-20 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-17 14:07 [PATCH 0/4] net-next: stmmac: dwmac-sun8i: add support for V3s Icenowy Zheng
     [not found] ` <20170617140737.41951-1-icenowy-h8G6r0blFSE@public.gmane.org>
2017-06-17 14:07   ` [PATCH 1/4] dt-bindings: net-next: Add DT bindings documentation for Allwinner V3s EMAC Icenowy Zheng
2017-06-17 14:07   ` [PATCH 2/4] dt-bindings: syscon: Add DT bindings documentation for Allwinner V3s syscon Icenowy Zheng
2017-06-17 14:07   ` [PATCH 3/4] net-next: stmmac: dwmac-sun8i: force EPHY clock freq to 24MHz Icenowy Zheng
2017-06-17 14:07   ` [PATCH 4/4] net-next: stmmac: dwmac-sun8i: add support for V3s EMAC Icenowy Zheng
2017-06-20 17:23   ` [PATCH 0/4] net-next: stmmac: dwmac-sun8i: add support for V3s David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).