Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752114AbdHJK5t (ORCPT ); Thu, 10 Aug 2017 06:57:49 -0400 Received: from lucky1.263xmail.com ([211.157.147.130]:38869 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbdHJK5r (ORCPT ); Thu, 10 Aug 2017 06:57:47 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: david.wu@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: david.wu@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH v4 05/12] Documentation: net: phy: Add phy-is-internal binding To: Andrew Lunn , Florian Fainelli Cc: davem@davemloft.net, heiko@sntech.de, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, olof@lixom.net, linux@armlinux.org.uk, arnd@arndb.de, peppe.cavallaro@st.com, alexandre.torgue@st.com, huangtao@rock-chips.com, hwg@rock-chips.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1502280475-736-1-git-send-email-david.wu@rock-chips.com> <1502280630-2254-1-git-send-email-david.wu@rock-chips.com> <778B0470-8ABD-46AD-A63D-F0CF4911C800@gmail.com> <20170810002041.GA10776@lunn.ch> From: "David.Wu" Message-ID: <1bff1793-fe46-f263-fbf5-ef65ffbc5dc9@rock-chips.com> Date: Thu, 10 Aug 2017 18:57:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170810002041.GA10776@lunn.ch> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 27 Hi Andrew, Florian ?? 2017/8/10 8:20, Andrew Lunn ะด??: > Hi Florian, David. > > I'm happy with the property name. But i think the text needs more > description. We deal with Ethernet switches with integrated PHYs. Yet > for us, this property is unneeded. > > Seeing this property means some bit of software needs to ensure the > internal PHY should be used, when given the choice between an internal > and external PHY. So i would say something like: > > If set, indicates that the PHY is integrated into the same > physical package as the Ethernet MAC. If needed, muxers should be > configured to ensure the (internal) PHY is used. The absence of this > property indicates the muxers should be configured so that the > external PHY is used. Are we supposed to replace the words "internal" with "integrated" here? So we have three kinds of PHY, they are intenal, external and integrated PHYs. > > This last part is important. If the bootloader has set the internal > PHY to be used, you need to reset it. Otherwise we are going to get > into a mess sometime later and need to add a phy-is-external property.