Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988AbdGBMeK (ORCPT ); Sun, 2 Jul 2017 08:34:10 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35679 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbdGBMeH (ORCPT ); Sun, 2 Jul 2017 08:34:07 -0400 From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, peppe.cavallaro@st.com, alexandre.torgue@st.com, andre.przywara@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 0/6] net: stmmac: revert "support future possible different internal phy mode" Date: Sun, 2 Jul 2017 14:31:53 +0200 Message-Id: <20170702123159.6939-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1255 Lines: 31 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