From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B3ADC433FE for ; Tue, 5 Apr 2022 14:24:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384375AbiDEOYo (ORCPT ); Tue, 5 Apr 2022 10:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387167AbiDENOu (ORCPT ); Tue, 5 Apr 2022 09:14:50 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF23FD13; Tue, 5 Apr 2022 05:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Urfmn6MVNil2dplIKa0jY7oxpmJVSCMyvnYreduzrNU=; b=sVtnuMefmt9aPQ3OlYkb0FVRIw WCRTxmp4Bh6YpENW6XfpE4XkoVEWegoX7AJK4Z13eEE7Ivy4VhhXKcOmFhUuE2gH8dXxuV5yzZBps DcYSOGJCXsIhnThnl2YKac9jHaoyMRBut9YSGVSojcPcDD/VuigMsq1skTJwkpQDaYx4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nbi96-00EFOI-Aq; Tue, 05 Apr 2022 14:18:52 +0200 Date: Tue, 5 Apr 2022 14:18:52 +0200 From: Andrew Lunn To: Andy Chiu Cc: davem@davemloft.net, michal.simek@xilinx.com, radhey.shyam.pandey@xilinx.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzk+dt@kernel.org, linux@armlinux.org.uk, netdev@vger.kernel.org, devicetree@vger.kernel.org, Greentime Hu , Robert Hancock Subject: Re: [PATCH v8 net-next 4/4] net: axiemac: use a phandle to reference pcs_phy Message-ID: References: <20220405091929.670951-1-andy.chiu@sifive.com> <20220405091929.670951-5-andy.chiu@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405091929.670951-5-andy.chiu@sifive.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Apr 05, 2022 at 05:19:29PM +0800, Andy Chiu wrote: > In some SGMII use cases where both a fixed link external PHY and the > internal PCS/PMA PHY need to be configured, we should explicitly use a > phandle "pcs-phy" to get the reference to the PCS/PMA PHY. Otherwise, the > driver would use "phy-handle" in the DT as the reference to both the > external and the internal PCS/PMA PHY. > > In other cases where the core is connected to a SFP cage, we could still > point phy-handle to the intenal PCS/PMA PHY, and let the driver connect > to the SFP module, if exist, via phylink. > > Signed-off-by: Andy Chiu > Reviewed-by: Greentime Hu > Reviewed-by: Robert Hancock Reviewed-by: Andrew Lunn Andrew