Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3416760pxb; Sun, 24 Oct 2021 01:30:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy//BBPN0Rpc+V4Y/6pP9iNeZI5E+6AveAGm5XfRW5BbkxUC6eNhHAh2XafkaOP3SjJF0yn X-Received: by 2002:a05:6402:1436:: with SMTP id c22mr16098699edx.153.1635064257854; Sun, 24 Oct 2021 01:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635064257; cv=none; d=google.com; s=arc-20160816; b=cb3i2el9S6SWOmkGoGIXaCvjqd3v5iK/vzLz+WQ9b0LbpnnnX7mZY8iv2uppjRHO0N O9V0qfPOFGkZS0i9ubZSuonhBjsZwDDpBn4akprG2hkj7MebHDW8QE6a3IubhJD9Eemy 6/l02+vZ4fkPgDGpMGpaitZTtEPjH8mwqCFMOTE7xrG64oKfwA36sQN54RYpENmHxJuo 8MBTotIGOwg7MY7RsQZaK0FZQQ/XiRZ+MJaGMMN9/0iVe2VeigdL+P9RQExiMHlm5rLB bcM1pKqssjBvMcAHgqeN43dAGbl/whr6jqZYRs7TKuk3ZRz9JQeJxKD1czw824e67Ly7 Z7Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=4EWCEvmP/Qd/5vfp73f6UjpAmTRX8idsfBtb3rDwEu4=; b=NfTXw7hooeHXUDnCcFfvQ8Vd4cLYosTYchOWFd2zOJwnaO1S03ZOuFS1axD4pF5Esi w57pzbi7GpyqlveT2WRH6xBBZo470+Ni4kNMkxVyswMrPNM4uTclV2ZOW6A4n16jGyy5 DOdtuz1GmqtqQxzVGXcAktZjS1wo7MjXRp9rh/kb+VfKuPReDk6FcdX5YNauyxK6KAZd DxRwvwWDzl/QRvOcSLqBbIARWuaRAH5sqYqH/WvU9SfZvEEUpsdxweGhf2WQBLXzz8kJ 3cY1oXh5CeiiYabAS563Gxk1VLKMeWJEIiDs5L0U/Hlo6FhNDHp5ig37wQLdgThWvfP2 4ftQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=VyA2XTII; 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 k5si19076454ejo.440.2021.10.24.01.30.10; Sun, 24 Oct 2021 01:30:57 -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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=VyA2XTII; 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 S231700AbhJXIai (ORCPT + 99 others); Sun, 24 Oct 2021 04:30:38 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:45946 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbhJXIa3 (ORCPT ); Sun, 24 Oct 2021 04:30:29 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1635064089; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=4EWCEvmP/Qd/5vfp73f6UjpAmTRX8idsfBtb3rDwEu4=; b=VyA2XTIILxCLBvbTErpLAwmR94KCGdzeI/dXzJnj56MrfNO54uKIwj7dsixtgZ0xa8AqVwUm IKhhEsuYjnT3SzlRlFjOKTCPEeQVYiI8OxMjMBGcYT79xHVuTVokCyux/0InSrL3GAlTZNvg DvaRPynVjOLSC4jC1QFyyYCrxnQ= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 61751906b03398c06c72163c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sun, 24 Oct 2021 08:27:50 GMT Sender: luoj=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 89F2EC43618; Sun, 24 Oct 2021 08:27:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from akronite-sh-dev02.qualcomm.com (unknown [180.166.53.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: luoj) by smtp.codeaurora.org (Postfix) with ESMTPSA id 02ED6C4338F; Sun, 24 Oct 2021 08:27:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 02ED6C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Luo Jie To: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sricharan@codeaurora.org, Luo Jie Subject: [PATCH v7 0/14] net: phy: Add qca8081 ethernet phy driver Date: Sun, 24 Oct 2021 16:27:24 +0800 Message-Id: <20211024082738.849-1-luoj@codeaurora.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add the qca8081 ethernet phy driver support, which improve the wol feature, leverage at803x phy driver and add the fast retrain, master/slave seed and CDT feature. Changes in v7: * update Reviewed-by tags. Changes in v6: * add Reviewed-by tags on the applicable patches. Changes in v5: * rebase the patches on net-next/master. Changes in v4: * handle other interrupts in set_wol. * add genphy_c45_fast_retrain. Changes in v3: * correct a typo "excpet". * remove the suffix "PHY" from phy name. Changes in v2: * add definitions of fast retrain related registers in mdio.h. * break up the patch into small patches. * improve the at803x legacy code. Changes in v1: * merge qca8081 phy driver into at803x. * add cdt feature. * leverage at803x phy driver helpers. Luo Jie (14): net: phy: at803x: replace AT803X_DEVICE_ADDR with MDIO_MMD_PCS net: phy: at803x: use phy_modify() net: phy: at803x: improve the WOL feature net: phy: at803x: use GENMASK() for speed status net: phy: add qca8081 ethernet phy driver net: phy: add qca8081 read_status net: phy: add qca8081 get_features net: phy: add qca8081 config_aneg net: phy: add constants for fast retrain related register net: phy: add genphy_c45_fast_retrain net: phy: add qca8081 config_init net: phy: add qca8081 soft_reset and enable master/slave seed net: phy: adjust qca8081 master/slave seed value if link down net: phy: add qca8081 cdt feature drivers/net/phy/at803x.c | 580 +++++++++++++++++++++++++++++++++++--- drivers/net/phy/phy-c45.c | 34 +++ include/linux/phy.h | 1 + include/uapi/linux/mdio.h | 9 + 4 files changed, 577 insertions(+), 47 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project