Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp204029lqs; Thu, 13 Jun 2024 07:59:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkq0VXfU8gFZmwmJ5/WsYRuPSiiyqURTiY93GBG+0VHqf+kJcvFli/+8QZCPTOvf7/9kQ8wMiEBPOZZ+BLrlisMP2Ye+KauJKqpJ7ATw== X-Google-Smtp-Source: AGHT+IHqu8hsa2q/B/Uf0c6iAoHyoIoeq51SMrHFuPlRu4rAGOiDqYKUEaEzZ8ysJvKLrVXF+ARC X-Received: by 2002:a0d:eb50:0:b0:62f:ee76:c696 with SMTP id 00721157ae682-62fee76c705mr48824607b3.16.1718290754616; Thu, 13 Jun 2024 07:59:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718290754; cv=pass; d=google.com; s=arc-20160816; b=jx2cCaTGZ+xMDkkqD4pN2xlslh2Fk2vneZ9zAC1mB8DNFqfIran/UEisMQ8TUT5xyS GlDy5jiVmQgVfYdf9171o4+RRNJfn4etOwIjq4+/6A6axVvGRayznlgA6NZIxG/KQo44 ub+pZ3aw5aZ17ALJl9Sut+eAGdiarAL1hNHJuphb+hWfObz70z93fG5cioxNsAOi14IS lHxuGDTY/eQ5R/f1Rd4zARYLik+ByGYvct6tqJTyntjsO3FdNOVr2cr8yVCHMy8/Hdsb BOzQS/KnF6I5HMBGtpDzwsRa3Fwejfev5gF2tIC8XBZaM4umqnx5oGVIy9cUnVTGl6EO YBXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=A+nmVZL3hvGO8D7USLKyAeJ3Lh66iAxEKnBwE+M6088=; fh=PMncuNiALSgs+3ga3iLpAqvLtTn15VdNiwq4tDCKNrk=; b=G7+2EJqNseMh5Jr2Ws/qwM6/adS9Mq5ycZwwKDhsRTJVeEsmdkJUYVtaaSyhPvtxfG oyWqKCrCRPqOqqle04MCPJMcZH6dPDJk6n476u76zQlyzOE1smKIq5xnvMPRavyJws8D kc4Lg+7zPlr3sfJQR+sTqcmfbtcM+1A9FIRvldODrszAuTeGTZCr6YA0UJOPicN+XI8c n/yaUqWJt5gCPlO7yFv5HGfaAIDknRiv44nYu8DfzBmi1yw7n6HqkoYqkny9UStqdotD wvVJvMM0e3ZFmeVA1CQ8teBtut/zZnNEa03LbqpE/eFEszAwwMSLW5NNGOzf3+BXhkyy 9T1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ubimet.com header.s=20200131mdel header.b="WZGBza/v"; arc=pass (i=1 spf=pass spfdomain=ubimet.com dkim=pass dkdomain=ubimet.com dmarc=pass fromdomain=ubimet.com); spf=pass (google.com: domain of linux-kernel+bounces-213480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ubimet.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5afcfcasi16344246d6.240.2024.06.13.07.59.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:59:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ubimet.com header.s=20200131mdel header.b="WZGBza/v"; arc=pass (i=1 spf=pass spfdomain=ubimet.com dkim=pass dkdomain=ubimet.com dmarc=pass fromdomain=ubimet.com); spf=pass (google.com: domain of linux-kernel+bounces-213480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ubimet.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 544951C228E7 for ; Thu, 13 Jun 2024 14:59:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A78A814830D; Thu, 13 Jun 2024 14:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ubimet.com header.i=@ubimet.com header.b="WZGBza/v" Received: from mx2-at.ubimet.com (mx2-at.ubimet.com [141.98.226.72]) (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 749122AEFE; Thu, 13 Jun 2024 14:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.98.226.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718290744; cv=none; b=CM8PgE/jM9f65dbyQZDfglXGwRxOe33xnnY1sjVRDCJWyff+GZW7X/hmIp/FhnzNdcqOjEyCH+/t9tc5awDkDeSuIpYwkvFzwPuh1tzI81Kp3xly682ePnLKL3DXO4tJw8NfGBMjZeUzmtYTl2J/uzmm+sPr0oCljq5ON+o6XyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718290744; c=relaxed/simple; bh=PkwrnxW49KXKombbCY1USp7kfKxbA1A4Nxf0R8gfIwo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=rUKrco1NV2UDI75RlqZQRnSTMBh7m9FMk9PyX5mnbgRdQgbTgePgH2lvSUkAktYogYo0nt9oA2zsGq2mYYW9c3dKFuwJYmGLb44J9BmxXLFseCTEj2+n9Z+FVaGBdZ0CyLOoezAU+P1SjX9dB9XNrzqVdgyrxcdkTrm7u01i3Yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ubimet.com; spf=pass smtp.mailfrom=ubimet.com; dkim=pass (2048-bit key) header.d=ubimet.com header.i=@ubimet.com header.b=WZGBza/v; arc=none smtp.client-ip=141.98.226.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ubimet.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ubimet.com Received: from localhost (localhost [127.0.0.1]) by mx2-at.ubimet.com (Postfix) with ESMTP id C44B481186; Thu, 13 Jun 2024 14:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ubimet.com; s=20200131mdel; t=1718290299; bh=PkwrnxW49KXKombbCY1USp7kfKxbA1A4Nxf0R8gfIwo=; h=From:To:Cc:Subject:Date:From; b=WZGBza/vR1BVuAri/u2N54duL+y8duDubz4EbM9DsDI9P4j3hPMe43QbdFOsL38/4 cLptxKndvu2vcCAEj4isopnHxeQe4lCsPg/ggqHS2tV5aBOszZtEyM6GnN0VWuQo+g 0aa2kKnPXVxztjMt/R0MAefJceEZkzdyh7/6fqTWqsJcc0n7kTjV4os//ZovOr+54L gBft2rFd7cTRcCCIzji6cJ77fSBE+mF6q6pTBOpAQcfjR67oZyfKQwzscIoWbQ0ixj 5u24Ref3Up6u/+zN5WvhghGUmg1zfeve/bUY3iydHn19dqNvKAbu7kdoBCsWwfQM1F Zqg249FAnq6fA== Received: from mx2-at.ubimet.com ([127.0.0.1]) by localhost (mx02.dmz.dc.at.ubimet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WwTyPJ8Qhyk8; Thu, 13 Jun 2024 14:51:39 +0000 (UTC) Received: from zimbra-mta01.ext.dc.at.ubimet.com (zimbra-mta01.ext.dc.at.ubimet.com [10.1.18.22]) by mx2-at.ubimet.com (Postfix) with ESMTPS id A425B81110; Thu, 13 Jun 2024 14:51:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTP id 91C3080771; Thu, 13 Jun 2024 14:51:39 +0000 (UTC) Received: from zimbra-mta01.ext.dc.at.ubimet.com ([127.0.0.1]) by localhost (zimbra-mta01.ext.dc.at.ubimet.com [127.0.0.1]) (amavis, port 10032) with ESMTP id VXqqTe2gBYSc; Thu, 13 Jun 2024 14:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTP id BD03380782; Thu, 13 Jun 2024 14:51:38 +0000 (UTC) X-Virus-Scanned: amavis at zimbra-mta01.ext.dc.at.ubimet.com Received: from zimbra-mta01.ext.dc.at.ubimet.com ([127.0.0.1]) by localhost (zimbra-mta01.ext.dc.at.ubimet.com [127.0.0.1]) (amavis, port 10026) with ESMTP id hVaxFwn5rYsh; Thu, 13 Jun 2024 14:51:38 +0000 (UTC) Received: from pcn112.wl97.hub.at.ubimet.com (pcn112.it.hub.at.ubimet.com [10.15.66.143]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTPSA id 7210A80771; Thu, 13 Jun 2024 14:51:38 +0000 (UTC) From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= To: Cc: jrodrigues@ubimet.com, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org (open list:ETHERNET PHY LIBRARY), linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next 0/3] net: phy: dp83867: add cable diag support Date: Thu, 13 Jun 2024 16:51:50 +0200 Message-Id: <20240613145153.2345826-1-jrodrigues@ubimet.com> X-Mailer: git-send-email 2.25.1 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-Transfer-Encoding: quoted-printable This series adds more diagnostics of the physical medium to the DP83867. The TDR reporting is similar to DP83869, so there might be some interest in porting this changes to that driver. The TDR reporting in PD83867 is divided into segments (from which a cable length can be extracted). Because the reported lengths do not come in regular intervals, when doing cable-test-tdr from ethtool, the value of the reflection is reported, but not the length at which occurred (even though the PHY reports it). Likewise, the configuration of measurement lengths is also not supported in this series, for the same reason (it is theoretically possible to do it, with more complex configuration) Jo=C3=A3o Rodrigues (3): net: phy: dp83867: Add SQI support net: phy: dp83867: add cable test support net: phy: dp83867: Add support for amplitude graph drivers/net/phy/dp83867.c | 353 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 353 insertions(+) --=20 2.25.1