From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4315318E25 for ; Fri, 9 Aug 2024 05:18:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723180696; cv=none; b=akDovyR12eDr/kD7KiqSRttXCle4sk9AVDcZCN+NXzJ3n6quAM/tnUknDIUyZYLqyqbxGrPucpPcqGM8AgqjmslvC7ZcUEoELr8j7uIze4YkfEhR2AaOakuOC7BxCljEas7h015V5orLRWbZ1VSlHPmO5EFdJRVEjKeMbo8KOHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723180696; c=relaxed/simple; bh=JBMg47OQTO2usEseBnYz78pjPbkR6k1Og9xsXbbeIBg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lmw6S1tpT2MWXypVga/InH2WSl03UepxqP4QEw8/uTgq4EWkpE57Kx8CBDOUNTWxMZGtlASAyZiWGTabnMhY2//qDEc946FQreF3pcQ2K5kh/1Ub9eMndh5sWV1MlzJRxM11FrQhDZi5af8O15tVRKZVoKkTR+VCoAH3EmI/MKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1scI0e-0003CM-CZ; Fri, 09 Aug 2024 07:17:52 +0200 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1scI0c-005aez-B5; Fri, 09 Aug 2024 07:17:50 +0200 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1scI0c-00AhSk-0j; Fri, 09 Aug 2024 07:17:50 +0200 Date: Fri, 9 Aug 2024 07:17:50 +0200 From: Oleksij Rempel To: Andrew Lunn Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v2 2/3] phy: Add Open Alliance helpers for the PHY framework Message-ID: References: <20240808130833.2083875-1-o.rempel@pengutronix.de> <20240808130833.2083875-2-o.rempel@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Thu, Aug 08, 2024 at 03:54:06PM +0200, Andrew Lunn wrote: > Please could you give a reference to the exact standard. I think this > is "Advanced diagnostic features for 1000BASE-T1 automotive Ethernet > PHYs TC12 - advanced PHY features" ? > > The standard seem open, so you could include a URL: > > https://opensig.org/wp-content/uploads/2024/03/Advanced_PHY_features_for_automotive_Ethernet_v2.0_fin.pdf I already started to implement other diagnostic features supported by the TI DP83TG720 PHY. For example following can be implemented too: 6.3 Link quality – start-up time and link losses (LQ) 6.3.1 Link training time (LTT) 6.3.2 Local receiver time (LRT) 6.3.3 Remote receiver time (RRT) 6.3.4 Link Failures and Losses (LFL) 6.3.5 Communication ready status (COM) 6.4 Polarity Detection and Correction (POL) 6.4.1 Polarity Detection (DET) 6.4.2 Polarity Correction (COR) What is the best way to proceed with them? Export them over phy-statistics interface or extending the netlink interface? 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 |