Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752678AbdHKIF6 (ORCPT ); Fri, 11 Aug 2017 04:05:58 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33512 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbdHKIFx (ORCPT ); Fri, 11 Aug 2017 04:05:53 -0400 Date: Fri, 11 Aug 2017 10:05:43 +0200 From: Corentin Labbe To: Chen-Yu Tsai Cc: Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Giuseppe Cavallaro , alexandre.torgue@st.com, Andrew Lunn , Florian Fainelli , netdev , devicetree , linux-kernel , linux-arm-kernel Subject: Re: [PATCH 2/3] ARM: sun8i: sunxi-h3-h5: add phy-is-integrated property to internal PHY Message-ID: <20170811080543.GA25147@Red> References: <20170810085129.20463-1-clabbe.montjoie@gmail.com> <20170810085129.20463-3-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1292 Lines: 33 On Fri, Aug 11, 2017 at 10:42:51AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Aug 10, 2017 at 4:51 PM, Corentin Labbe > wrote: > > This patch add the new phy-is-integrated property to the internal PHY > > node. > > > > Signed-off-by: Corentin Labbe > > --- > > arch/arm/boot/dts/sunxi-h3-h5.dtsi | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi > > index 4b599b5d26f6..54fc24e4c569 100644 > > --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi > > +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi > > @@ -425,6 +425,7 @@ > > reg = <1>; > > clocks = <&ccu CLK_BUS_EPHY>; > > resets = <&ccu RST_BUS_EPHY>; > > + phy-is-integrated; > > You also need to "delete" this property at the board level for > any board that has the external PHY at address <1>. Otherwise > they will stop working. This is due to the internal and external > PHYs having the same path and node name in the device tree, so > they are effectively the same node. > > ChenYu > They have not the same name, ext_rgmii_phy vs int_mii_phy.