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 X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2387AC41514 for ; Mon, 5 Aug 2019 13:30:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E4373216F4 for ; Mon, 5 Aug 2019 13:30:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="2Xqlu4JN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730411AbfHENVA (ORCPT ); Mon, 5 Aug 2019 09:21:00 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:34002 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730367AbfHENU5 (ORCPT ); Mon, 5 Aug 2019 09:20:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6daK9OLtTHHmYFQn2clC+oFUHMXZEy7xd2EJnCzCpfk=; b=2Xqlu4JNgn9D9OND3DH1g0VDsc 2etmgO2ZFmrD7NXQqgtZ+pvFTXnEkT9iEwpvoIM6wdK7+AvMv5nhwfS78Ik5uWYTjN7YgzeosGDnk GYwzWro6J8XCQMOt1FR1Ebq6bJIDeOqhzONyX0uDirp4RGjcDK7JH8cEhgiGjcLe48OY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hucur-0006ZZ-Um; Mon, 05 Aug 2019 15:20:45 +0200 Date: Mon, 5 Aug 2019 15:20:45 +0200 From: Andrew Lunn To: Harini Katakam Cc: Harini Katakam , Nicolas Ferre , David Miller , Claudiu Beznea , Rob Herring , Mark Rutland , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org Subject: Re: [RFC PATCH 1/2] dt-bindings: net: macb: Add new property for PS SGMII only Message-ID: <20190805132045.GC24275@lunn.ch> References: <1564566033-676-1-git-send-email-harini.katakam@xilinx.com> <1564566033-676-2-git-send-email-harini.katakam@xilinx.com> <20190804145633.GB6800@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 05, 2019 at 11:45:05AM +0530, Harini Katakam wrote: > Hi Andrew, > > On Sun, Aug 4, 2019 at 8:26 PM Andrew Lunn wrote: > > > > On Wed, Jul 31, 2019 at 03:10:32PM +0530, Harini Katakam wrote: > > > Add a new property to indicate when PS SGMII is used with NO > > > external PHY on board. > > > > Hi Harini > > > > What exactly is you use case? Are you connecting to a Ethernet switch? > > To an SFP cage with a copper module? > > Yes, an SFP cage is the common HW target for this patch. Hi Harini So you have a copper PHY in the SFP cage. It will talk SGMII signalling to your PS SGMII. When that signalling is complete i would expect the MAC to raise an interrupt, just as if the SGMII PHY was soldered on the board. So i don't see why you need this polling? Andrew