Message ID | 20231115140630.10858-1-quic_luoj@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2560724vqg; Wed, 15 Nov 2023 06:09:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHWL+crRDkvf9FeeHTxfychek7GgfUO2O5Dk4K6EpTacOT+5JBeLuFV20dun1qKgSrUe44 X-Received: by 2002:a05:6a20:7295:b0:181:a5ff:2dfa with SMTP id o21-20020a056a20729500b00181a5ff2dfamr7354762pzk.5.1700057362287; Wed, 15 Nov 2023 06:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700057362; cv=none; d=google.com; s=arc-20160816; b=aCQCKhXnVzj18Ht9/b49r5aZmg7PALHXWL9PC9pYl4uBGC6nHcnFGPEarHo2/wt4Bt 5620BtbjLSIezvOO3inzNZaeFyAd2rtns/dw5Rj/RfkmnVpQUNLK+VJb37jN9ONnEUIE qND9O7xY0rZ9PmUBbPwjO3AozQlTRn29afHqZ4h2h5Ja/Py9VB6FSyRCABBYNM41Fb84 yANgKmuIn2KeWU6i/TP7ETPd/8AtgLAa4eC6olwKh4LMZYuSQGjunTjLGg1nvEHpMgu8 cDfmKqm/XCQPbsShApWKj20vqyEoD3s6kFfImpNFBxdLpwIqg1BH/sUaoMAZElGu9Y3h vdIg== 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=E43rW8abNEmb6j0ipQlvTrBofnJJgY2qLpietswJZ6s=; fh=CzJZH1Mq0+1gFor3WuKjwLRRL9rPD0zvQs0go/fRLgA=; b=mCufJpf5ITavsI2EkScFj+9ujAU7oox2WPbqwkn6hSCAJ/y82ZPTYHicQT+l0e0jrP QW7ghlj+eN0OKdMS/zz3tl7IqC39DqVTFWwjylVd2s5uQhjcHjooXgRK8XnBYuGfCXIE DBRH2hngXcoNeQRPX5Nrvg6Gc312JAPihvQS/EmycOsD3Y5VDv4hK364TZv+3oKnO9KN GNKFEgO38ME9MNczisgmFHunZ68gSKTx5+yO/3EYIg2Pr9K2umJ6bdVqFm4XZF3yKtzr 4N7mOPylnpQpjzOt+78BzgjXBxqZx5Ildq5V0/E8PaQ08r9STbAjo5C1xQJAwee4Rwdl +lkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cClH3Zzv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q13-20020a63e20d000000b0057795cb4f16si10295342pgh.684.2023.11.15.06.09.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 06:09:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cClH3Zzv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 99016801CE55; Wed, 15 Nov 2023 06:09:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344114AbjKOOJA (ORCPT <rfc822;heyuhang3455@gmail.com> + 28 others); Wed, 15 Nov 2023 09:09:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbjKOOI7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Nov 2023 09:08:59 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B2DB3; Wed, 15 Nov 2023 06:08:56 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AFCgZ3E032064; Wed, 15 Nov 2023 14:08:41 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=E43rW8abNEmb6j0ipQlvTrBofnJJgY2qLpietswJZ6s=; b=cClH3ZzvoVIBkwf0c6KSR9/qKMmYSuenfHuuntpUMorN/bQ5MwBGfTFZdBdZ7vua3Jx9 zUa9HfAbwsnNr98Lg56feXuAQnPOy6Hpd5kOaWQGgRy2O/bQ5gxfMVV1o7uzKm3jd5Nm Ixw6TMG6jl3z6RaCfHX8KpIleMKvL7mHjzNRgjFyWr/2+u6V+6IPsK+NdPOFPNIFENKY 2vWpZiTJKiOzQ7/vdIpbkR/1PQUSBE557yfrQnw/e1KySd41JxnTXxjj/bIDQJbMbkrw lgOiXHRR++L9xorJRqDiXlG9NLqwlUZaVeEiUMrUCnY2m2sodYOjGB7Kx3b063X9uM1h UQ== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ucmbahfh1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Nov 2023 14:08:41 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AFE8eCl015943 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Nov 2023 14:08:40 GMT Received: from akronite-sh-dev02.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 15 Nov 2023 06:08:37 -0800 From: Luo Jie <quic_luoj@quicinc.com> To: <andrew@lunn.ch>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <hkallweit1@gmail.com>, <linux@armlinux.org.uk>, <corbet@lwn.net> CC: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org> Subject: [PATCH v3 0/6] add qca8084 ethernet phy driver Date: Wed, 15 Nov 2023 22:06:24 +0800 Message-ID: <20231115140630.10858-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: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: UqUp-tg-hTFh3LSAaVigv0iWjWbD2Z3o X-Proofpoint-ORIG-GUID: UqUp-tg-hTFh3LSAaVigv0iWjWbD2Z3o 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-15_12,2023-11-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 mlxlogscore=776 impostorscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1011 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311150109 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 15 Nov 2023 06:09:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782639348496613325 X-GMAIL-MSGID: 1782639348496613325 |
Series |
add qca8084 ethernet phy driver
|
|
Message
Jie Luo
Nov. 15, 2023, 2:06 p.m. UTC
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: 1. pick the two patches to introduce the interface mode 10g-qxgmii from Vladimir Oltean(olteanv@gmail.com). 2. add the function phydev_id_is_qca808x to identify the PHY qca8081 and qca8084. 3. update the interface mode name PHY_INTERFACE_MODE_QUSGMII to PHY_INTERFACE_MODE_10G_QXGMII. 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: phylink: move phylink_pcs_neg_mode() to phylink.c net: phy: introduce core support for phy-mode = "10g-qxgmii" .../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 | 77 ++++++++++- include/linux/phy.h | 4 + include/linux/phylink.h | 67 +-------- 7 files changed, 212 insertions(+), 74 deletions(-) base-commit: bc962b35b139dd52319e6fc0f4bab00593bf38c9