Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2109016rwp; Fri, 14 Jul 2023 00:25:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlG35NfyAE9pbQykh9icIDmiLHdwO68f2jsMWXCgFE+0T2uGOqgJMWzcMY4Ynk5HcWqFVHUd X-Received: by 2002:aa7:c696:0:b0:51d:9127:b61d with SMTP id n22-20020aa7c696000000b0051d9127b61dmr3385135edq.25.1689319556042; Fri, 14 Jul 2023 00:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689319556; cv=none; d=google.com; s=arc-20160816; b=CuEZQ9f2MMWvC4RSAYWxmR61MFT/PwpDgF0DbE9NFsiBjb1PodJC8+1uiP2oybgNh8 MljnaIfQ383KqdWrLjwKBP9QXfttfErGEoGNVnskxV7hJ4xetm3/mbgqxzDPliVMCpUI DLEcAw1k9ZJI3QUf0DKuN4r1EZHT3Tb2PJNMqt8pmM7yOyhEwDf+ETYrxeyq9bljhxuW 43B8M5mQpGiiZ5q8W6t52Q4BS1PfTVV8SCKngERET5L6QeK/UhPNy6urskn484vdfZAe bwZ2eOnEXvspkYqKhKfIclxmjfzO5fTJjPcXhFSj9p/EoIaWLT88M+sqUKs9bm+EZlI6 NOxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=MmGhu+/5RRPzkPlPjLdjT//+w2f0Pcq5VDgdzCBOCD8=; fh=gVU0szpfyKL/tGzekjkLxkm9WXzJxBFICVcvBdLpZfE=; b=oDE9fyB9breYhBGNKA4tkeFZW3y7zfL9ZkgBOtdBTdcAfKiBJGFAufn8fZpBRV/5U5 TvfCBUkCSPoQQwPfHawtg+utTLbc8wg3/t/TV/isv7LtIGs6lS7jq8EAnryP3AF7x1Ad YC0NxIbva0cv1nsuCA0NTjOoFx9h4TkHBedu2vjtj0qOpaSt98wN6BW5jKTM/FVgp+g9 1Vt9UK33fvkN/1t3b9VyWaOhODJAzmOMjyag+HEpkTeDRbhiEKsHd3bwEtfStf0/ich0 hTncDyBcnEIO3673d3CWjEiAPy5wxF+z0YF/V4UrZmrmOkMe1iiZqRg2Wu1V/PyGLi2k qugQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=p8dkjBC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020aa7cd0a000000b0051df52adbfasi9513242edw.154.2023.07.14.00.25.32; Fri, 14 Jul 2023 00:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=p8dkjBC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235200AbjGNGcO (ORCPT + 99 others); Fri, 14 Jul 2023 02:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235186AbjGNGcL (ORCPT ); Fri, 14 Jul 2023 02:32:11 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCCED2713; Thu, 13 Jul 2023 23:32:10 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36E4qfQr021009; Fri, 14 Jul 2023 06:31:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=MmGhu+/5RRPzkPlPjLdjT//+w2f0Pcq5VDgdzCBOCD8=; b=p8dkjBC2Kb2Q9EheQlxaeGtZpqxRRsk7TzixZoAu/lxzphz7qY2Wo4M4m6TNdXYqbdSp ro/jwyNBUWNlGLUAUYjJpdtpnI3jdWI8/G7lmPZAWkgpDtmhDifQ94Nsnm7Of/oPR7yT lnkSP5QGpE8t8wJk0r74TaD8gHcFuGhuTO+KG752WsVRPrq+ifnA4X/K3SjRSqU6XH5i MkhLR5kFzt5NgenCVIeVPOB0pFlBuKFpDEhzm8WIpN7TqwITwH3pjbkf37zSl44TmqEX x6obnMbiSq/zNKsn+GHJHZvtgkaD2jsewjfPvdZ5iLdpdDCmPfv1jZkDsyyeHvOrKMpV Bw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rtpujs0r2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 06:31:58 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36E6VvKB009296 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 06:31:57 GMT Received: from akronite-sh-dev02.qualcomm.com (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.30; Thu, 13 Jul 2023 23:31:54 -0700 From: Luo Jie To: , , , , , , CC: , , Luo Jie Subject: [PATCH v2 0/6] net: phy: at803x: support qca8081 1G version chip Date: Fri, 14 Jul 2023 14:31:30 +0800 Message-ID: <20230714063136.21368-1-quic_luoj@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: rx322_bbutwS5fDwNb16U2Z2tPWIasM1 X-Proofpoint-ORIG-GUID: rx322_bbutwS5fDwNb16U2Z2tPWIasM1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-14_03,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 mlxscore=0 priorityscore=1501 adultscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxlogscore=680 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307140059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add supporting qca8081 1G version chip, the 1G version chip can be identified by the register mmd7.0x901d bit0. In addition, qca8081 does not support 1000BaseX mode and the sgmii fifo reset is added on the link changed, which assert the fifo on the link down, deassert the fifo on the link up. Changes in v1: * switch to use genphy_c45_pma_read_abilities. * remove the patch [remove 1000BaseX mode of qca8081]. * move the sgmii fifo reset to link_change_notify. Changes in v2: * split the qca8081 1G chip support patch. * improve the slave seed config, disable it if master preferred. Luo Jie (6): net: phy: at803x: support qca8081 genphy_c45_pma_read_abilities net: phy: at803x: merge qca8081 salve seed function net: phy: at803x: enable qca8081 slave seed conditionally net: phy: at803x: support qca8081 1G chip type net: phy: at803x: remove qca8081 1G fast retrain and slave seed config net: phy: at803x: add qca8081 fifo reset on the link changed drivers/net/phy/at803x.c | 132 +++++++++++++++++++++++++++------------ 1 file changed, 91 insertions(+), 41 deletions(-) base-commit: def3833fc6022c7f23bd4fd66ba5ed65c6b23272 -- 2.17.1