Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1007030rdb; Fri, 17 Nov 2023 22:28:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUIOBXzSzH4VQn6zz+85Jf3KWVY1XL/AT+SfvmPsxBlfc/169Fdd1v+eDua5bswbkgVLPG X-Received: by 2002:a05:6808:3026:b0:3b6:cd77:552e with SMTP id ay38-20020a056808302600b003b6cd77552emr2137699oib.10.1700288920340; Fri, 17 Nov 2023 22:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700288920; cv=none; d=google.com; s=arc-20160816; b=L8XqI+kkh+HFFv0a/XB0oEAokFvRZN6zIHE3OBU/f3LpQVXOB4rSEOz+BFXOY+HxX3 F+ssw1EpVsqqUv03IJZvg1oTQVTca1e1U9Nw9vitzc/0FJKDOACD28PMq/nVZUdjqIf/ E4EIi5MIa5yIwzgdk0NJMoD1Ph4mOv7peIIQgtjYnWzGMS0LbXFz9e9HRWZtqAv8OI1L 3zMZvkXpBPdLbXw04zQNC9qWT2Hcx0aYZSgHVKDcqBk9+kPWfQsi4zg9zBbkAmQ5NT7f tR7vz9iOU0FtTu/Sjiw96QC/uCYbJHsY5O9GTahXJ7URiwOncSiSNqbjcl4y6BdfGkCR G65A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=y3Zz7GCHDFah9QxpNLHMDf5YRAeO9fNs/MMz1Kc2zS0=; fh=CzJZH1Mq0+1gFor3WuKjwLRRL9rPD0zvQs0go/fRLgA=; b=ZRgE5Fqtn5W7FgHNNmHAE/eJuLRGiAGVK6mDwamWdE0i6JOaaUyBzqemHDNXo6kEYM b26nO5Ris+KJyYOOQw5tRPPm1A/+2992IMDzaDmtDx2/s4rQl3dsY6+HBzijhy6SB8xG 8NvA9Lq9SD4oOhQOOEtK8f4lxU4RtBM9Bug46aRDoVNER1dIDjzeeqouxvk7hE2NUn4r w23UEPWW3vv7dOSas9HN/bWlxL5Vn3CKL9TV9uqY6Jo/gs+6IpGWSH/Z6hnZ4erBDKBq 9LJ3eCmQO7CM9e3mwfIM0GjAi9LbOXqRD4V1LJo5JXdT1Sv/Yhu2GIX22H9/H+On7m15 7qug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bzkEC6Sh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id fj31-20020a056a003a1f00b0068fe12b361dsi3744695pfb.249.2023.11.17.22.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 22:28:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bzkEC6Sh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4EAA882AE2E7; Fri, 17 Nov 2023 22:28:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232422AbjKRG22 (ORCPT + 99 others); Sat, 18 Nov 2023 01:28:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231783AbjKRG21 (ORCPT ); Sat, 18 Nov 2023 01:28:27 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17155D5D; Fri, 17 Nov 2023 22:28:24 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AI6MOOZ031123; Sat, 18 Nov 2023 06:28:08 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-transfer-encoding : content-type; s=qcppdkim1; bh=y3Zz7GCHDFah9QxpNLHMDf5YRAeO9fNs/MMz1Kc2zS0=; b=bzkEC6Sh9LSiNXxP2zAW/U/utVDAUIxAb4dCapg9H36vd1ZvjSWM5spBGT9gdIbeM7qJ fLPHVN9xKxZjBnIO9E/7kRSwIuClZHbTr1FKmJJ/q1hn3D6kKLPSZG/cKE8p+c8wEmO9 Ucm+6z7NndZXv1I9vZK9ydOwk2M4AFoBSBbj2yxxNIkenMMA1BqB9EWqi0mVWKswSNX8 NGtqVOJ+GZLoG+vXwD8vDBulQgnTP4bZsDDKByrXqFw+nPDtrv4QDsQqzqOCuqmkviFH 91UoZqlhDHTXMOYT+5dsZjj+XkxYstRJVVcR4aTD3pm+RJUKU9TyO3Qw9t9seIqYItNr zQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uem80g8rt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Nov 2023 06:28:07 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AI6S7Am017661 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Nov 2023 06:28:07 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.40; Fri, 17 Nov 2023 22:28:03 -0800 From: Luo Jie To: , , , , , , , , , , CC: , , , Subject: [PATCH v5 0/6] add qca8084 ethernet phy driver Date: Sat, 18 Nov 2023 14:27:48 +0800 Message-ID: <20231118062754.2453-1-quic_luoj@quicinc.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: _9XxuwS-eAsb7qcFOKPmGfEQ8WWrOf4z X-Proofpoint-ORIG-GUID: _9XxuwS-eAsb7qcFOKPmGfEQ8WWrOf4z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-18_04,2023-11-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=638 adultscore=0 priorityscore=1501 phishscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311180045 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 22:28:38 -0800 (PST) QCA8084 is four-port PHY with maximum link capability 2.5G, which supports the interface mode qusgmii and sgmii mode, there are two PCSs available to connected with ethernet port. QCA8084 can work in switch mode or PHY mode. For switch mode, both PCS0 and PCS1 work on sgmii mode. For PHY mode, PCS1 works on qusgmii mode, the last port (the fourth port) works on sgmii mode. Besides this PHY driver patches, the PCS driver is also needed to bring up the qca8084 device, which mainly configurs PCS and clocks. Changes in v3: * pick the two patches to introduce the interface mode 10g-qxgmii from Vladimir Oltean(olteanv@gmail.com). * add the function phydev_id_is_qca808x to identify the PHY qca8081 and qca8084. * update the interface mode name PHY_INTERFACE_MODE_QUSGMII to PHY_INTERFACE_MODE_10G_QXGMII. Changes in v4: * remove the following patch: . * split out 10g_qxgmii change of ethernet-controller.yaml. Changes in v5: * update the author of the patch below. . Luo Jie (4): net: phy: at803x: add QCA8084 ethernet phy support net: phy: at803x: add the function phydev_id_is_qca808x net: phy: at803x: Add qca8084_config_init function net: phy: qca8084: add qca8084_link_change_notify Vladimir Oltean (2): net: phy: introduce core support for phy-mode = "10g-qxgmii" dt-bindings: net: ethernet-controller: add 10g-qxgmii mode .../bindings/net/ethernet-controller.yaml | 1 + Documentation/networking/phy.rst | 6 + drivers/net/phy/at803x.c | 130 +++++++++++++++++- drivers/net/phy/phy-core.c | 1 + drivers/net/phy/phylink.c | 11 +- include/linux/phy.h | 4 + include/linux/phylink.h | 2 + 7 files changed, 147 insertions(+), 8 deletions(-) base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e -- 2.42.0