Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679452

[PATCH 0/6] net: stmmac: revert "support future possible different internal phy mode"

From Corentin Labbe <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/6] net: stmmac: revert "support future possible different internal phy mode"
Date 2017-07-02 14:40 +0200
Message-ID <tYMkp-1Qk-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

My first idea was to use phy-mode = "internal" but since internal phy-mode
is reserved for non-xMII protocol we cannot use it with dwmac-sun8i

I will send an additionnal patch for documenting more phy-mode = "internal"

Corentin Labbe (6):
  arm: sun8i: nanopi-neo: revert use internal phy-mode
  arm: sun8i: orangepi-2: revert "use internal phy-mode"
  arm: sun8i: orangepi-one: revert "use internal phy-mode"
  arm: sun8i: orangepi-zero: revert "use internal phy-mode"
  arm: sun8i: orangepipc: revert "use internal phy-mode"
  net: stmmac: revert "support future possible different internal phy
    mode"

 arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts |  2 +-
 arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts         |  2 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-2.dts         |  2 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-one.dts       |  2 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts        |  2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 10 +++-------
 6 files changed, 8 insertions(+), 12 deletions(-)

-- 
2.13.0

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] net: stmmac: revert "support future possible different internal phy mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200
  [PATCH 4/6] arm: sun8i: orangepi-zero: revert "use internal phy-mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200
  [PATCH 2/6] arm: sun8i: orangepi-2: revert "use internal phy-mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200
  [PATCH 6/6] net: stmmac: revert "support future possible different internal phy mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200
  [PATCH 5/6] arm: sun8i: orangepipc: revert "use internal phy-mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200
  [PATCH 3/6] arm: sun8i: orangepi-one: revert "use internal phy-mode" Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-07-02 14:40 +0200

csiph-web