devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] net-next: stmmac: support future possible different internal phy mode
@ 2017-07-28  9:28 Corentin Labbe
       [not found] ` <20170728092818.23419-1-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 19+ messages in thread
From: Corentin Labbe @ 2017-07-28  9:28 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, wens-jdAy2FN1RRM,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw, peppe.cavallaro-qxv4g6HH51o,
	alexandre.torgue-qxv4g6HH51o
  Cc: icenowy-h8G6r0blFSE, netdev-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Corentin Labbe

Hello

The current way to find if the phy is internal is to compare DT phy-mode
and emac_variant/internal_phy.
But it will negate a possible future SoC where an external PHY use the
same phy mode than the internal one.

This patchs series adds a new way to find if the PHY is internal, via its
compatible.

Corentin Labbe (3):
  dt-bindings: net: add compatible for internal sun8i-h3/sun8i-v3s PHYs
  ARM: sunxi: h3/h5: Add sun8i-h3-ephy compatible
  net-next: stmmac: dwmac-sun8i: choose internal PHY via compatible

 Documentation/devicetree/bindings/net/dwmac-sun8i.txt |  4 ++--
 arch/arm/boot/dts/sunxi-h3-h5.dtsi                    |  3 ++-
 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c     | 16 ++++++++++------
 3 files changed, 14 insertions(+), 9 deletions(-)

-- 
2.13.0

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

end of thread, other threads:[~2017-07-31 12:26 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28  9:28 [PATCH 0/3] net-next: stmmac: support future possible different internal phy mode Corentin Labbe
     [not found] ` <20170728092818.23419-1-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-28  9:28   ` [PATCH 1/3] dt-bindings: net: add compatible for internal sun8i-h3/sun8i-v3s PHYs Corentin Labbe
2017-07-28  9:28   ` [PATCH 2/3] ARM: sunxi: h3/h5: Add sun8i-h3-ephy compatible Corentin Labbe
2017-07-28  9:44     ` Chen-Yu Tsai
     [not found]       ` <CAGb2v67Lt5whR4=6+SDc=Ooi6zyiHuprW+7zbPh0njnKOCiFFA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-28  9:46         ` Icenowy Zheng
2017-07-28  9:28   ` [PATCH 3/3] net-next: stmmac: dwmac-sun8i: choose internal PHY via compatible Corentin Labbe
     [not found]     ` <20170728092818.23419-4-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-28  9:49       ` Chen-Yu Tsai
     [not found]         ` <CAGb2v64w-KCmYExN7OqvuLj42-pHN-BN5iKpxA+KW84v+RfCDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-28  9:54           ` Corentin Labbe
2017-07-28  9:53   ` [PATCH 0/3] net-next: stmmac: support future possible different internal phy mode Chen-Yu Tsai
     [not found]     ` <CAGb2v66=h_5df=B0Us-kvvFg9r_qSUroDzn-xvQLSpD1d8DhBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-28 13:47       ` Andrew Lunn
2017-07-28 13:55   ` Andrew Lunn
     [not found]     ` <20170728135544.GD32230-g2DYL2Zd6BY@public.gmane.org>
2017-07-28 14:25       ` Corentin Labbe
2017-07-28 14:36         ` Andrew Lunn
     [not found]           ` <20170728143600.GB2132-g2DYL2Zd6BY@public.gmane.org>
2017-07-28 14:44             ` Corentin Labbe
2017-07-28 14:51               ` Andrew Lunn
2017-07-28 17:54               ` Florian Fainelli
     [not found]                 ` <f8fe754c-8b46-a9f6-4020-f7db6c985773-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-29  6:48                   ` Corentin Labbe
2017-07-31 12:19                     ` Chen-Yu Tsai
     [not found]                       ` <CAGb2v6626KDmww5u_-ogMJHgfdxTHQLCnUF4bmcUt35f2JJgLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-31 12:26                         ` Corentin Labbe

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).