Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2429659ybk; Mon, 11 May 2020 22:16:37 -0700 (PDT) X-Google-Smtp-Source: APiQypLxpyLS0VbtDktpjQTMAXNFplHN25D4sttaHn6k2o2wyrwFploTucMXgqM/Ok2gKgyRBks+ X-Received: by 2002:aa7:d155:: with SMTP id r21mr16434896edo.85.1589260597129; Mon, 11 May 2020 22:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589260597; cv=none; d=google.com; s=arc-20160816; b=kxcg149Jmlu476uTAtK5UPP6QUN3A0KC+qN9VVFEse0gD3pXrjVfAqUz9yJ8DjS36g cDHYe7LG50Ms3kyGcGZa/HkWR1P/KHHgaUcPLdwdVy7U9VxJNBmvETr82J7W+LKkaiFe I22q3KebdDVXiq26HM62mobDc4IAeJdDSEOb5KXMa6O0bOpKLkztWKR5MEcD6K/76J88 j/gEhRypvJn1iZNdUVmJk51dOQM2TbbfWfpFLDpi3IyTvBaNmTX+oK/1ifdypGgX2BoS lWAl50pFSuvpCbpTwrR3TPNeRYna+9dImjBHv4fkHOuqbSSR3Z/erjhdZdzzfVscpLCB w8kw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=rpl5NQX9eR+/n0YXEJr+bp+4tY15Cr4fMtvAauNiics=; b=A9IRWtVN9yoZfSSInJfNG6o5ZhWh8iSk54JPtwAyBRieX5DShGP24Gp8Hl5IjClb+G VSmJDCAUZfpoRusoIkr/YCBDFQml/rqSL2bdA9zUpof2ywU50TDuJ7cglE41a7QJ5qs1 N9lVqWLKqXiS0ZoF76gy9aHpG1cK80+yC7TgaJGpjESofXGtwTr15ba304z5LXhaNp8K PDlcNBIFEcsiJDFmTByziPhy4DJTrIBjdyHsC/P9nDFAUBVBgrGrHjk0rBhYwtD0AfwU tt79anyjWYassFf3rtWJN2OuIni3/zTjaz9U++vhwTOD3liWpZYQPUXXshsEI8GJt8FP wRhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c21si8306560edx.105.2020.05.11.22.16.13; Mon, 11 May 2020 22:16:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728796AbgELFOM convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 May 2020 01:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725874AbgELFOM (ORCPT ); Tue, 12 May 2020 01:14:12 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D00C061A0E for ; Mon, 11 May 2020 22:14:11 -0700 (PDT) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYNEx-0002YZ-Py; Tue, 12 May 2020 07:14:03 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jYNEp-0004Gp-LX; Tue, 12 May 2020 07:13:55 +0200 Date: Tue, 12 May 2020 07:13:55 +0200 From: Oleksij Rempel To: Andrew Lunn Cc: Christian Herber , Michal Kubecek , Marek Vasut , Florian Fainelli , Jonathan Corbet , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Russell King , "mkl@pengutronix.de" , "kernel@pengutronix.de" , David Jander , Jakub Kicinski , "David S. Miller" , Heiner Kallweit Subject: Re: Re: signal quality and cable diagnostic Message-ID: <20200512051355.GA16269@pengutronix.de> References: <20200511195435.GF413878@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200511195435.GF413878@lunn.ch> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:13:26 up 243 days, 18:01, 450 users, load average: 1.10, 0.58, 0.56 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 11, 2020 at 09:54:35PM +0200, Andrew Lunn wrote: > On Mon, May 11, 2020 at 07:32:05PM +0000, Christian Herber wrote: > > On May 11, 2020 4:33:53 PM Andrew Lunn wrote: > > > > > > Are the classes part of the Open Alliance specification? Ideally we > > > want to report something standardized, not something proprietary to > > > NXP. > > > > > > Andrew > > > > Hi Andrew, > > > > > Such mechanisms are standardized and supported by pretty much all > > devices in the market. The Open Alliance specification is publicly > > available here: > > http://www.opensig.org/download/document/218/Advanced_PHY_features_for_automotive_Ethernet_V1.0.pdf > > > > As the specification is newer than the 100BASE-T1 spec, do not > > expect first generation devices to follow the register definitions > > as per Open Alliance. But for future devices, also registers should > > be same across different vendors. > > Hi Christian > > Since we are talking about a kernel/user API definition here, i don't > care about the exact registers. What is important is the > naming/representation of the information. It seems like NXP uses Class > A - Class H, where as the standard calls them SQI=0 - SQI=7. So we > should name the KAPI based on the standard, not what NXP calls them. OK, sounds good for me. Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |