Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6480503rdb; Thu, 14 Dec 2023 22:31:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZdQUbj7Ug/KXzJNBFyVX6YUrdd/DbjskKqAHVoGCrZjavTnS4Z9DszwVMJtQeH6AmtS2q X-Received: by 2002:a05:6512:b9f:b0:50c:19:5909 with SMTP id b31-20020a0565120b9f00b0050c00195909mr7050099lfv.18.1702621871849; Thu, 14 Dec 2023 22:31:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702621871; cv=none; d=google.com; s=arc-20160816; b=kJQL+QLVldG87+PZmZYoJdmdHN3Au4vVX1SrOJZSJb/VsRwQjoPK1A7HtOU8YIeDkL R9WW6GxgUD7E5traaM7lvGPME5plfdfg/DxCuu2BUZ+dWSjIBNhrN9xnAqDOkzmO+/UB PLEOtcaAhl3MbGb5XqujI7qWBL4eo5JOCeyHhewd7/3ZXyR/hS81We/gN+KVgrLw8O6u RaNi6vEpXW7F3SrYNnEJBpZwXMXDQB5Eos6H4TTTtpCMSadjeGncS4wsbP+6GcL/+3Nh 1R4jhDxs5rqvizhUINuJNrqcz66LULjA/1tRZkJPCzZDvYVFO2pRBq7zIezP+gzf+0+z Cmog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4dgoJSL6fpykBgSPTc+vnHIGdRnJHEe3ikKjD/45brs=; fh=nyLksfDGahip2o2zPGv5dOC/Yn4x6rjl5fb2IAcCeSQ=; b=FnqhijPNhdv9hTccSJBzkV5JdEQ90B9l85TAIi1wJXLtd1aSHPXXdZeJ+hy48xdZcS SS2CPskCO4Fl1tIfcPtB4NSp1WFltkP1RdWGpeUp3jqb6WbMbmVJva9NFfqwpjJI6dt0 PNILqIu0kaAGBmG3ZmMYHBw3ZnPxIujD/KPTedq2dfi0H6gkuifsGcAobG+r6KLFtOH6 vTeHfO6BBs3UiQpmpMY4IcmyZvhV+JxKpIhT1tU/ywEhnErmU4whLlFSB7tVPl6b6mAV IdO48yZYNfjjBLAFV8P8wrnrOqbGxYb+ky5eg4lSjjxHNRoZNLenn2QjCTmeCHbyiwsd 69eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Tdbx2iqr; spf=pass (google.com: domain of linux-kernel+bounces-481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-481-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a15-20020a17090640cf00b00a1ce221cac6si6974235ejk.280.2023.12.14.22.31.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 22:31:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Tdbx2iqr; spf=pass (google.com: domain of linux-kernel+bounces-481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-481-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 923BD1F232F9 for ; Fri, 15 Dec 2023 06:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEC38D282; Fri, 15 Dec 2023 06:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Tdbx2iqr" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 62249846C; Fri, 15 Dec 2023 06:30:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BF3lJrM016521; Fri, 15 Dec 2023 06:30:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=4dgoJSL6fpykBgSPTc+vnHIGdRnJHEe3ikKjD/45brs=; b=Td bx2iqr3yVwMYLRyNhV49MnRHEU7H8fyTv0Ot4pf14Y1ESOMCSxgvK80zkXYg/es4 pG2Rwh4V5vm/xLNmwEPsJkgSHt2UJ92Ff/ggrZmrF4d6UFMkj3D227P0eEpntMAR HLox28coARkRUEe0L/VPDhB0WE4ttd8yJuyYXThWaG1nsh75h/yMmOSxq1mjUiY9 D3SwwNoo9LL10jCtmksax6Ja8r5oVmBuAB4+mS1v1qmrYnJlHqJi/ZRhVHvJmll3 Dfexa4WhQ2/Z76ihIVGQmP3epVw9KwDkkgHmVxSVCIdHwnZI8D2LZZ72tFeb6lGv Ig+87xM1zosMrBqoCSKw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v0a37h592-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 06:30:15 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BF6UDCI015491 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 06:30:13 GMT Received: from [10.253.13.71] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 14 Dec 2023 22:30:02 -0800 Message-ID: Date: Fri, 15 Dec 2023 14:29:59 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 03/14] net: phy: at803x: add QCA8084 ethernet phy support To: Andrew Lunn CC: , , , , , , , , , , , , , , , References: <20231214094813.24690-1-quic_luoj@quicinc.com> <20231214094813.24690-4-quic_luoj@quicinc.com> Content-Language: en-US From: Jie Luo In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: T7nOZWFxGJjt3Xo-tT9FfbcX0DJIm-Et X-Proofpoint-ORIG-GUID: T7nOZWFxGJjt3Xo-tT9FfbcX0DJIm-Et X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 malwarescore=0 clxscore=1015 bulkscore=0 adultscore=0 mlxlogscore=999 spamscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312150037 On 12/14/2023 7:01 PM, Andrew Lunn wrote: > On Thu, Dec 14, 2023 at 05:48:02PM +0800, Luo Jie wrote: >> Add qca8084 PHY support, which is four-port PHY with maximum >> link capability 2.5G, the features of each port is almost same >> as QCA8081 and slave seed config is not needed. >> >> Three kind of interface modes supported by qca8084. >> PHY_INTERFACE_MODE_10G_QXGMII, PHY_INTERFACE_MODE_2500BASEX and >> PHY_INTERFACE_MODE_SGMII. >> >> The PCS(serdes) and clock are also needed to be configured to >> bringup qca8084 PHY, which will be added in the pcs driver. >> >> The additional CDT configurations used for qca8084. >> >> Signed-off-by: Luo Jie >> --- >> drivers/net/phy/at803x.c | 49 ++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 49 insertions(+) >> >> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c >> index 37fb033e1c29..8dfdf2ff56a5 100644 >> --- a/drivers/net/phy/at803x.c >> +++ b/drivers/net/phy/at803x.c >> @@ -176,6 +176,7 @@ >> #define AT8030_PHY_ID_MASK 0xffffffef >> >> #define QCA8081_PHY_ID 0x004dd101 >> +#define QCA8084_PHY_ID 0x004dd180 >> >> #define QCA8327_A_PHY_ID 0x004dd033 >> #define QCA8327_B_PHY_ID 0x004dd034 >> @@ -1760,6 +1761,9 @@ static bool qca808x_is_prefer_master(struct phy_device *phydev) >> >> static bool qca808x_has_fast_retrain_or_slave_seed(struct phy_device *phydev) >> { >> + if (phydev_id_compare(phydev, QCA8084_PHY_ID)) >> + return false; >> + >> return linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->supported); >> } > > > It looks like these patches need rebasing on net-next/main. It appears > you are missing Christians patches. > > > Andrew > > --- > pw-bot: cr Oh, Yes, i will update the patch set based on the latest code, thanks.