Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp347308pxb; Fri, 15 Oct 2021 06:45:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe6QuZgBvA+VOp/ZTkim1G87S0wVK+qAILjz1+Rs2DgNvRN6DLpFFceFNxpRtkiD0ZBDm9 X-Received: by 2002:aa7:8bd3:0:b0:44c:68b3:a52e with SMTP id s19-20020aa78bd3000000b0044c68b3a52emr12074801pfd.74.1634305505391; Fri, 15 Oct 2021 06:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634305505; cv=none; d=google.com; s=arc-20160816; b=FDCMiYlrqy2hTxRCG34RbYLuWv3Nhiw3tmK365g016HVja0dv5r9f+dhZLBNyCKghQ SWdVv/gj9R3qNsZIwtngBgjEesrTuk9ksK/SaqggJ643KgTTMX9Cqc8n3M6bCh3sDpeh bZI2OtFhSRad6yQDaTrS6BFEsgTu/t2Do9mhmQg+DHewxyQz5PiY7dQW1YZb8zx5/hc9 GOxoztuF5AkApvIjXqRUMQnHMrq33zjZzMyh7LSYsGWegsIzN7LpgqvNBBj/xmaPmrLa YqDqpioi/BVzA3cg3LASyseNz3wRw428FgpghOE1pAoRT4OMaLUymDUPyVOAePB00gl3 AuMg== 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=NTJj+M9miHXQ7Sz0GUFeUo2/1Lc1nbkJNHvjEM2dvE0=; b=eUYJcdgbvyx1xSFY57FTRxommG5rQzHCZmHibIex4dZojcewQ2BgIquHCR63uKKSKg PBvSgOC4lftrV4AaHRDr5+sWhnkEVHID4uZbwX6StVUokndfMngpip0e0x4HSVDptMzY KZGv+Gm/n9yXmbhze58niVpnBrW9mtVOlp1LnfCmeROFrsw3U7hTn8aiVKK5jQZk6NlA y9AKlVN+0yFnwDL4c/HwEmMYeEfW5zmbxM5Kmui+5flziP+0hjdduFTFpx2HrCjIEhw1 wPX1NoDeFGXJx/rbJF/aT1bGEqV07SMXo5OSxEnvJYGpCyLOyohf0b0pRfTU/iTFAOcH sdVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=WmKHJBKM; 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 om17si18761578pjb.113.2021.10.15.06.44.30; Fri, 15 Oct 2021 06:45:05 -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=WmKHJBKM; 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 S236148AbhJOHhl (ORCPT + 99 others); Fri, 15 Oct 2021 03:37:41 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:26699 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbhJOHhk (ORCPT ); Fri, 15 Oct 2021 03:37:40 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1634283334; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=NTJj+M9miHXQ7Sz0GUFeUo2/1Lc1nbkJNHvjEM2dvE0=; b=WmKHJBKMap8h0xUhSIFpbCWmpRR+o1w8NTrSE299VyyfxoglPptzC7OpgIe05dRPpMD86f91 2a2ObkpAwtXwV6P0E+DXQ2YeewS7r5sVyiLCWBoZEqpE9Rlsjwli1t0UNG94qx20+asbNHg7 b7b3yWq5/JlzJiAyNAjOgdoHK2w= 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-n05.prod.us-west-2.postgun.com with SMTP id 61692f39f3e5b80f1f7c3c9c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 15 Oct 2021 07:35:21 GMT Sender: luoj=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C2375C43618; Fri, 15 Oct 2021 07:35:21 +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 30FD5C4338F; Fri, 15 Oct 2021 07:35:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 30FD5C4338F 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 v2 0/13] net: phy: Add qca8081 ethernet phy driver Date: Fri, 15 Oct 2021 15:34:52 +0800 Message-Id: <20211015073505.1893-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 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 (13): 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 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 | 572 +++++++++++++++++++++++++++++++++++--- include/uapi/linux/mdio.h | 10 + 2 files changed, 536 insertions(+), 46 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project