Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27390936rwd; Tue, 4 Jul 2023 02:13:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JbiUPBsjLkObQZnXhfCmrN69v46vTKigmFDJ1AZFdWy5z9kqEz0t5dFEJh8TsuOd+6i3y X-Received: by 2002:a05:6808:2d9:b0:3a1:d1d9:d59c with SMTP id a25-20020a05680802d900b003a1d1d9d59cmr12007632oid.33.1688461986352; Tue, 04 Jul 2023 02:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688461986; cv=none; d=google.com; s=arc-20160816; b=Er7YDBJ0P2jom/ra/W7ISi3qeQX0iv8NKvy5sYByKNol7uNokoVb1gC3k4aWUUPAXV JgL1yMJScze/Bfo8C5DWQga9sn7htcZJAi36hl2VQ0ceeXt8OsuqVkVg9bIf1eFTVOde thoCzcmv9VzPZckohAbODCf5VlxUfUH9O8qNTPs/67U7YRS0XgHgK4xP4QylftGeaueg WRY4s+Q8UXM3VGeM0FiObJRuZuvZPmGEpUD7Ete6VTAo/t2dV4NjX1M2guPX3erxeqEh zFz1mop7K7trV5Bwav16I1jf7XNP70yu6T5TyMdyKe4hH3RDczMrbvUOdrXBNrTFZISk X4hA== 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=9P5eBdVfLtYOOJDULc0BTnaORrTk/ZJWH4Jn1CflL6U=; fh=knf/aEpz9UxuVQAsaYRbuXMdOIpAwf8wS7BvNSWaG+U=; b=IgF9IASOmitP6N6CqW7VGYYpXqNlEQyOCXu70ulBOKBiqGqp51ecMEHasHykB+0+qI UqeqUj2vWHCKXSuiZx5OjuQWTqhyjprCST1C/V3bHQBH60Clgb4AQwDeZP192oyizu5J HzCyEhFi1TA8RJQ43hDO9KaKfkzRwykEJI8CXLuCAvFeVYoqP8cSmSaYazV2ttF0P/k1 FT4xTrCCTi5r5WLtrBO8j3j+N5MzViHJqsau25bcd55gfT5zNiTVRLeUvTugaU0efYeo YtkpFzvsbbQ6r58qcnUtVbbiWfRxNgzhvNULVV7BRKeIHG/EJ8V+T1oTcrr4giftYvAQ ur7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K+Lkq4J3; 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 g32-20020a635660000000b0054fb23f1018si8668862pgm.656.2023.07.04.02.12.52; Tue, 04 Jul 2023 02:13:06 -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=K+Lkq4J3; 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 S231851AbjGDJB3 (ORCPT + 99 others); Tue, 4 Jul 2023 05:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbjGDJBX (ORCPT ); Tue, 4 Jul 2023 05:01:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29EFD13D; Tue, 4 Jul 2023 02:01:23 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3645u2Ii020368; Tue, 4 Jul 2023 09:00: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=9P5eBdVfLtYOOJDULc0BTnaORrTk/ZJWH4Jn1CflL6U=; b=K+Lkq4J3judG6rPGwm3CJuqmSKDB9m8dts/n+dQLWML/vgKyjGnNusI6CFDkZO6H622v uVgyaoLNV20r80ugJrVWNJLeDJLGrnylRcURSV2rHATIzCLDiLF5RN2jjsdAXGhSw+/b 3TeZFbrRulYgdkC4T+Gc5O24Dk8Fu5lbcqoV3IymXlh2uNQfkF32MsQod2SXc/4nmU+z 8MHAMcv2DU2avhc1h3u7qx0MjaZO5F97IXVFMlU+Qlm9N2cMWzRlouMQNfp2OQu0TSCe +QaVX2Y7VwkW2O3a3yRe8eeUFAoecv3LeZd913t+sTTFCnnutYiR0OB9eTzJctEovtVh iQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rm14jhh4b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jul 2023 09:00:57 +0000 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 36490u59027942 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Jul 2023 09:00:56 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.7; Tue, 4 Jul 2023 02:00:52 -0700 From: Luo Jie To: , , , , , , CC: , , Luo Jie Subject: [PATCH v1 0/2] net: phy: at803x: support qca8081 1G version chip Date: Tue, 4 Jul 2023 17:00:14 +0800 Message-ID: <20230704090016.7757-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: 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: UcSZblCWcQPUzT0Ik_faRiPgIlrPoNCS X-Proofpoint-ORIG-GUID: UcSZblCWcQPUzT0Ik_faRiPgIlrPoNCS 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-04_04,2023-06-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 spamscore=0 mlxscore=0 adultscore=0 mlxlogscore=590 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307040074 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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. Luo Jie (2): net: phy: at803x: support qca8081 1G chip type net: phy: at803x: add qca8081 fifo reset on the link changed drivers/net/phy/at803x.c | 95 ++++++++++++++++++++++++++++------------ 1 file changed, 68 insertions(+), 27 deletions(-) base-commit: 3a8a670eeeaa40d87bd38a587438952741980c18 -- 2.17.1