Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2140422ybk; Mon, 11 May 2020 12:57:04 -0700 (PDT) X-Google-Smtp-Source: APiQypK0aFCuHqFmGr9iu8fcRVi+YUqId3kOq5yrTLZjzJ8YyKod+8ykiqHYn2BUdBwbcbEqmBWE X-Received: by 2002:aa7:d783:: with SMTP id s3mr15504573edq.64.1589227024116; Mon, 11 May 2020 12:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589227024; cv=none; d=google.com; s=arc-20160816; b=W0hPcZ+XvYF7/ob1jqsDvQvEolJvAXaJBMObGgHqVc1NaraHAivEibXoyvUmU0zHfr rTbVVlIGqu7rTQ9y1B/FTB7Q9ZcyHAS8zsL0+WSNd/1k3v3A+YZRVzfFOKUuGsqqtw1y NpMAxg8sskTb8wsQV+P7XbTks/u1cQBFyUrEAA/0neC4QseE71mhd0ZrREHy+i86CyBR wMR8P8ZTLBJiWwihIMF6HSf1wS3hRnC0Vsi8PdBLDSLp0gB5V9DcaUK860Kk8U4qUgwq s2cQQNQPx55fkLgZPiWxpBBtTVgdG2+iAp4Bt5wcHjYinNIdiU50Uze95s1ClrIhCZ6P lk1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=E569LdmO3ZIRrQhhS9/1AV/GIdOvLP1T63rmCb73zOk=; b=X4sn790K8FfK4NTbskOacEr5XmUR0n4fNECoTWuGURCNhQSIyPv7JenYS0nUAdS0Wv zxN2FpiJeJIbhMM5eWz+qR4iyoZxtUB+YSnoCurhVZWnI3pEr5AfHVFo2aSOmR1rnioU bUuWXBN2NKtmdw0ei4SRdA8K74Sn1bfx44L4AU8JEIJ8rO0qmE9WcifxK4iKsj7txoLI VB/vQYa/Rw4PQMq2ztcMTnh6XZ4RCJ4tml0qrBvFsJ/GlVJetDJ16koAK6nj3iULfXB6 fzM4ejH92SMZd50NnctSbB9o9GQ63FL758uAAn8MfGUpSuXdBBApjnZ5NWa+fTEGG15p O7Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=tlUQhZfE; 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 y18si6825485edr.442.2020.05.11.12.56.39; Mon, 11 May 2020 12:57:04 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=tlUQhZfE; 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 S1731216AbgEKTys (ORCPT + 99 others); Mon, 11 May 2020 15:54:48 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:54292 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729695AbgEKTys (ORCPT ); Mon, 11 May 2020 15:54:48 -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=E569LdmO3ZIRrQhhS9/1AV/GIdOvLP1T63rmCb73zOk=; b=tlUQhZfEyHzdEemgYI515uJGlh iwQhY/PZ1w0EnAARWH4bpHBttDUFO61G6U6qNQe90McYQHrf1TaijlitWCp5sgGl/lnMzUeQ/3one EIH/upCJauguRaDr8mK1lRbTQnf1GOyfHFxnwsYR7mKOsDHLS/i+i1K9NNv9CKho6Vmo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jYEVX-001tOv-Hf; Mon, 11 May 2020 21:54:35 +0200 Date: Mon, 11 May 2020 21:54:35 +0200 From: Andrew Lunn To: Christian Herber Cc: Oleksij Rempel , "David S. Miller" , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Jonathan Corbet , Michal Kubecek , David Jander , "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Russell King , "mkl@pengutronix.de" , Marek Vasut Subject: Re: Re: signal quality and cable diagnostic Message-ID: <20200511195435.GF413878@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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. Andrew