Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2758179ybh; Mon, 5 Aug 2019 06:23:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxo4huWRTW7hkBleYEsUJlQZ2qAX9z/sqCvfTqAUhEhC42Hk9Vi6p2FwRQFYKvF7pOpAs9 X-Received: by 2002:a63:5920:: with SMTP id n32mr131528653pgb.352.1565011394601; Mon, 05 Aug 2019 06:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565011394; cv=none; d=google.com; s=arc-20160816; b=h/iB8BcsXSebatcnU4oA4I6w0ijRtHNzWgVuUBAKRMgrL7IUPbFDcyTRAqZM0ujBA3 mUyX/rUyHwdbSZUsF8f9fY1/Kk0UH6kn/79R3J7QJhlv2EK4/A0HkrViDZD8sNntA0AR gAnfy5v5ayrfQ/cOQgakj50xotGV3bp5zC9NT2pO+PeoanKgOzvNmFro/CGyghbdcJ/x HS5LIXYsZYYxZkoWq55h9+Wdsgyb9tWAAC7e+IDI8ga7CnX/t5gTCWnubRGdNeGLUayC WDQZNeFI18tPBXuIqvrB0zTXx7nJCuJIn8Uj0F3q/8khkZFBaLBPLmnGYvRW+Infik7V xvqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6daK9OLtTHHmYFQn2clC+oFUHMXZEy7xd2EJnCzCpfk=; b=0a9X2wgdPxxjosqpyNMW0iSAuW+C2YzCeL6H/S5QBgnQwGHIH2wPvLlbGNWr21i+5s ibDWhcqVltZ5fcXlgUaxI2fyqKrsI8GbPJPFPu1cQFsTex34tJCkgnf2OQThSvHBpLgN iqO0+aLVrA969B8wr76hFIAaTdkJJIDEpIetJ5+IISxCGB1Tg/1xpNOfQ3kYfE7lIwq9 D1rPE0lU44Ufs3Yts6mJ6P1xz9hK2NrlRXROUoIICePMobDtiZP0+oNdQ+XY7o+4tf1d b4BZ950SjK6NswhfvRme6VhdCMAnmFsCg2uTTt9b1abFef9uaC5DarUWuJ+P07D+gC5z ZpDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=2Xqlu4JN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si13398690pjo.28.2019.08.05.06.22.59; Mon, 05 Aug 2019 06:23:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=2Xqlu4JN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730401AbfHENU7 (ORCPT + 99 others); Mon, 5 Aug 2019 09:20:59 -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