Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2837919ybh; Mon, 5 Aug 2019 07:38:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyto94SZRuU1ouj/0mkfOih+mrSOSH1kkmUwQoCpZDa0WHFuV4QqFF6ADtk9IuaXAySgw97 X-Received: by 2002:a62:750c:: with SMTP id q12mr75518950pfc.59.1565015896258; Mon, 05 Aug 2019 07:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565015896; cv=none; d=google.com; s=arc-20160816; b=VYfDoyyqwD2fQD7m2Lo0QjvMpDskvyO+GlcbZAB3/hDFZrtSE7I2gHzhPoFKbYsnjD U90pv5KHE7uV3GkzVAardJK51Pta8aEvG386etRamYGpduI3IL9Z8jfNeenXDJkANjti VjLGqSYXn2kKk5Is1OCGYVu3N49go08y4N6DRTuJbPM2mb9sEDaNh4A4avwws2FucJdO fu/IghASDD+DY0FTbrn5WOlDK2lxyd8OC2bTzzSgOOz1r2c+4Jn+TqJHwopKzq4H+v2X QUcETb/zQfY3uHkrM5PDzYdn06dZ4sTxnJQzjszwncyIrffoLiSS0Cpqjk/dPJOBs+uv qIpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=sXsgL2SZ4lUI561fxMT7MxM61cpGXMRE+ycWcBzTejM=; b=LA6tZZrfoQIdLcloZ9csihFRaZCg8Y7cGjM1L0d1KMkYAa+Ki1kA4HFbAznOuHbqlR HloRD0DADcaO8f/eVvkYNAwLIbWLF1g7hR8iSIRVz7DOVbapBYuzahuxbDepRHX3BVmt kRd3Qo5QiISqTHbgWf17lAymjMzdjCXibqJKdHi4kM/3oO3zQL2DuDr3p/i3+16qvLCj kU/CfuNOKqvyp9J4uvSm6s/wDgDSoonFQUCoZQEeVLUYpcirmsOSE2fKyrxV8aVDEFe4 LGUnU2spNDI5jhWUMQY4T4cyFZbNXyrgH0TvAmx84rngS3e+QjGA3lLiHB2fIL+dG1Y2 2Ofg== ARC-Authentication-Results: i=1; mx.google.com; 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 w188si46522552pfb.175.2019.08.05.07.38.01; Mon, 05 Aug 2019 07:38:16 -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; 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 S1729560AbfHEOhE (ORCPT + 99 others); Mon, 5 Aug 2019 10:37:04 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:39848 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728149AbfHEOhD (ORCPT ); Mon, 5 Aug 2019 10:37:03 -0400 Received: by mail-yb1-f194.google.com with SMTP id z128so7146123yba.6; Mon, 05 Aug 2019 07:37:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sXsgL2SZ4lUI561fxMT7MxM61cpGXMRE+ycWcBzTejM=; b=E5Os+v+XWKIvghYaPc4ImOOD3Mi5VmkoLqUtbDov2Wi6Ntf7ZdPEvPeXsXaD0tbR8r 6BtNyByte9myzm3OhmTKo9lgr742sdvyGQ6Gncnf4BkQJ8abLUGNJu6yPcOmTXQF13nU unvL0othKMuVNkSmPTwN+zXMwpXyOA5CaohPayfhb63PK0wTB9k+Luk9446aEmRuAYF7 AYZSfpT3PWTJ8+B8C/OkuRr/3iqZBbO6flSOANUhnk0OGrSzSrUGMgMitv7CQSPJ9sNe O+PA7h0lcZ9aIPkYRuH33ceso9jpMX4KPTLB2DFuZi/glxkhpA0vmvQDyLFfshHwIfPV CTpg== X-Gm-Message-State: APjAAAXk0u6u6CSIZetOASDzpbXnh587YUjoE87TsCZ7/42U//F7gYMa SYMvPYTIZKGv1RTpUvs/TNi0YYbzT/wooXVohkQ= X-Received: by 2002:a25:9943:: with SMTP id n3mr2240341ybo.174.1565015823004; Mon, 05 Aug 2019 07:37:03 -0700 (PDT) MIME-Version: 1.0 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> <20190805132045.GC24275@lunn.ch> In-Reply-To: <20190805132045.GC24275@lunn.ch> From: Harini Katakam Date: Mon, 5 Aug 2019 20:06:51 +0530 Message-ID: Subject: Re: [RFC PATCH 1/2] dt-bindings: net: macb: Add new property for PS SGMII only To: Andrew Lunn 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Mon, Aug 5, 2019 at 7:00 PM Andrew Lunn wrote: > > 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? > Thanks. Sorry, I overlooked this interrupt. Let me try that. Regards, Harini