Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752953AbdF2Qqj (ORCPT ); Thu, 29 Jun 2017 12:46:39 -0400 Received: from hermes.aosc.io ([199.195.250.187]:58478 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751804AbdF2Qqe (ORCPT ); Thu, 29 Jun 2017 12:46:34 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 30 Jun 2017 00:46:30 +0800 From: icenowy@aosc.io To: davem@davemloft.net Cc: clabbe.montjoie@gmail.com, 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, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [linux-sunxi] Re: [PATCH 1/6] net: stmmac: support future possible different internal phy mode In-Reply-To: <20170629.122349.2265868886957558079.davem@davemloft.net> References: <20170627092806.28181-1-clabbe.montjoie@gmail.com> <20170629.122349.2265868886957558079.davem@davemloft.net> Message-ID: <9f1992d1cab37e5f309c6260985ce32a@aosc.io> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 973 Lines: 29 在 2017-06-30 00:23,David Miller 写道: > From: Corentin Labbe > Date: Tue, 27 Jun 2017 11:28:01 +0200 > >> 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. >> >> By using phy-mode = "internal" we permit to have an external PHY with >> the same mode than the internal one. >> >> Reported-by: André Przywara >> Signed-off-by: Corentin Labbe > > Series applied. I think there's still some problems around for this patchset... The definition of "internal" is internal *proprietary* PHY, but the internal PHY of Allwinner SoCs seem to be MII... See [1]. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-June/516159.html > > Please provide a proper "[PATCH 0/n] " header posting next time.