From patchwork Wed Jan 3 12:46:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 18673 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4995562dyb; Wed, 3 Jan 2024 04:47:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1jWq9AmTc0WLZj+PCBFgXIk3VgS0lW22TgecqLecOg96o8nkueEMNef8DiNfLTf7GsiUu X-Received: by 2002:a17:906:b4f:b0:a23:4998:7e6e with SMTP id v15-20020a1709060b4f00b00a2349987e6emr870653ejg.5.1704286048639; Wed, 03 Jan 2024 04:47:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704286048; cv=none; d=google.com; s=arc-20160816; b=HCNkg83vtFkmG7LndOZMNPHetFcU0ahmpbrGZfChabLGocZOPqkMF25htERhQYx/xG 1dAAV5dmtz+mAHO/8ynkiQg9vBTj+QOhKZ7Pcqgr/lvyLf7EZrG9t4F9qG3SHROvHQ+r +hOPTgIrigl6Gvm2zbOPahLBi7MqcrCbbDzHA9vvAonSh5LKJ41NnOQ9737Zsl1q1WSu lEx0poLbFkHm5bSgJOhV6tSOQX3JBDKVKXreYPMwJwznbq/HBw9raqBh3lTDBrEqXtvV gKXzvR5dIpMSGeyFk8fCKGlPC+kp8fOEzlM4QYdUpWexUmbKrRua4m74RBB3vEn4RqE1 AEQQ== ARC-Message-Signature: i=1; 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=Jsq3OCLIVB4Vhvlqsi6n871YvrY5KZyh3nXn/CFzR1c=; fh=utmrxdkgikAlLxVfQI1kldUG+rNjhrLN+3fAlOYj01s=; b=eS9tP0v+l8Ml5LrojHPsPJwdeC3qsl4PfN53Mt0fxbByflFeD+mhJCxsKeuoyu39yy OJMtx7VxvmyRX6J1l4Jxi7VvRL46AI5zTlVKDBBXuIjkwYcFjXZVSIbNpqTAEq1jM3AU 9NhqCgUI3/RwAQNdpZG/Bzh3XDOOzqmCJeObJ2fF7IZEeLkCzpJ46LbHMVHOCt+6FJnH FcLcvWRe3YR+x3WA5V/vdw9fjnt4LtZQxOClydG/YeNqOGtCO8LpWJpVm0b9VMIg+UBQ /508avvMJUiWXS8Xpd2Z5FKI5VEMItwHKrK/2rguPykFalNkwLObvn7512Mb0eBVrGpG 1L2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SkFGe3sb; spf=pass (google.com: domain of linux-kernel+bounces-15531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15531-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dv1-20020a170906b80100b00a26ebf2f9e0si7955768ejb.436.2024.01.03.04.47.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 04:47:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SkFGe3sb; spf=pass (google.com: domain of linux-kernel+bounces-15531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15531-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3FEFA1F24324 for ; Wed, 3 Jan 2024 12:47:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6353199BA; Wed, 3 Jan 2024 12:46:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SkFGe3sb" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED5F319440; Wed, 3 Jan 2024 12:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40d89446895so2491235e9.0; Wed, 03 Jan 2024 04:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704286009; x=1704890809; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jsq3OCLIVB4Vhvlqsi6n871YvrY5KZyh3nXn/CFzR1c=; b=SkFGe3sbaQNGaYPP/INiccHUKTUTBoAlBMwWQSVixd9THIqcnz8fhwYK4EMrWT8Hdy yTVjvW0m+H8s7BixZBlh7lJKTnxMJ/v84gvXKAM9u+qJEJMA5STZiZ1vxKGKjA4teNdC pGK0X0AOXrsnBT0LGzxbQZYCX9HbGjMvuhKh0FlVaVZKr5MIVXVBuGE/vi0hntPYOp8I oDMgC6iIy8nBycxRsbV4hGnqNIkoFr1KVuAFboOfolx7Z2Ladrb9yA0+t3NJtH9XFOEm J4id7NbgOdgb8HdapZvMr6+BIpuZoGCOyKs/bTHzlJOeDIm8hzdQhyjI2JIl2nrkLe7M Va+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704286009; x=1704890809; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jsq3OCLIVB4Vhvlqsi6n871YvrY5KZyh3nXn/CFzR1c=; b=WK8mxteK5zpdxwAnm1PLpP3rdQEfAgHuk/k/r8p+qyMf6dp0Sl1kZY3q3GF55mUMG0 IKrK345y0uw9kVAy+ejjzQJnrASro/ZAZ7vBGOa9e0cmlCQFoSVxrnfyBqJHphq4pFCA mtufNBg6cM/KmO4iXa2zc/HidIgmAaqujqBjEpfulwXLiFbEZuBEDQG3HVZR6LgkrZ6V +YkuYuOuZTgmb8I2Sk/dxdak6OPh/1USxvrTYhteL22wyZ4kRCFkrjVR7K2lplfF1lfp MEXSNg4Zj6dnR11S+MaQmCyTnlr+kW13GK7IHJ3/c7uri7pXI/oWWCeX2s+Vq98UeYdU 7htA== X-Gm-Message-State: AOJu0YzGMipeD/M+LFYg2ZblKDtw8dBpretfzYP4WD8MTlgAtBH6WGDQ 32xVlW+X7A1Ob29TelMNFEs= X-Received: by 2002:a05:600c:4683:b0:40d:709b:2b95 with SMTP id p3-20020a05600c468300b0040d709b2b95mr517021wmo.152.1704286008867; Wed, 03 Jan 2024 04:46:48 -0800 (PST) Received: from localhost.localdomain (host-87-10-250-100.retail.telecomitalia.it. [87.10.250.100]) by smtp.googlemail.com with ESMTPSA id fc16-20020a05600c525000b0040d5c58c41dsm2219676wmb.24.2024.01.03.04.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 04:46:48 -0800 (PST) From: Christian Marangi To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi Subject: [net-next PATCH v3 0/4] net: phy: at803x: even more generalization Date: Wed, 3 Jan 2024 13:46:31 +0100 Message-ID: <20240103124637.3078-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787073447502120315 X-GMAIL-MSGID: 1787073447502120315 This is part 3 of at803x required patches to split the PHY driver in more specific PHY Family driver. While adding support for a new PHY Family qca807x it was notice lots of similarities with the qca808x cdt function. Hence this series is done to make things easier in the future when qca807x PHY will be submitted. Changes v3: - Rebase on top of net-next Changes v2: - Address request from Russell in a previous series on cdt get status improvement Christian Marangi (4): net: phy: at803x: generalize cdt fault length function net: phy: at803x: refactor qca808x cable test get status function net: phy: at803x: add support for cdt cross short test for qca808x net: phy: at803x: make read_status more generic drivers/net/phy/at803x.c | 171 ++++++++++++++++++++++++++------------- 1 file changed, 116 insertions(+), 55 deletions(-)