Message ID | 20230202030037.9075-1-Frank.Sae@motor-comm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp4779wrn; Wed, 1 Feb 2023 19:04:13 -0800 (PST) X-Google-Smtp-Source: AK7set/wfcwh6M9gxfzF5DEkzZZCy5G1CMJIXVAm9n3gt6ld/BTJMWXj0mW+pwbmRKpmOio2GgFT X-Received: by 2002:a17:903:11cf:b0:196:8d33:f083 with SMTP id q15-20020a17090311cf00b001968d33f083mr5998953plh.28.1675307053573; Wed, 01 Feb 2023 19:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675307053; cv=none; d=google.com; s=arc-20160816; b=ymn2mbTtExx5O401DEHYO+PCKRLtceSxHCwevSwf+AeF/2FuIcBL/DKpOy5o4lGTXA vhwU17pe/qKZ9nhTcjzG5SeEJLx8I3yHf/RwMRaL3UyfhuaDMEOYAi92D3PqUGiugf3x JpGZK5+bjRP7sXwtmVd1oWauL4kbvvAkLbkER652PpjZgFVzOk6GoxG6i46gGhax+iqY D672ZJ/guo2VDDwJnbFPlogyocLO2vvwmPJCmHOie+6AVd5U2Am/B3QG+TxWGk5fAtRG n2HgH5SSfQs4dUI+Kqgt0q/84z9NtaSWSSgdYZIWinhA/mpqQM7c1KXWO/GRojjgq7ed WKjA== 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; bh=d4f79MRDormNejAkxu7K7pfh4ipAYAcEJEV1t3VYwbw=; b=dApWqLNvTtQZO3JNJYDi2W0LMG/bbQLCDteoYEU4hLQSZciDJ18IIA50XLr2s5NaAH GViclG7pXWoeB9rbh2pVsjMtp48KRsH3IEpjQabX7COfqlgDM54ra0AJrrxAKWWy/bqP 6a8zGybxDPzF6SrbkUXrEf87u41PVXGInn37HFN33l6Kg8GRDtYt4QWQlKJmEQiB3UcP VQMJhGKatrl2qvPt+wjC1qMvJfzIBTbkBTdOpcSM2IHbtHjSrKGg32ERNDFl0wm3bGj9 qJCKygx04ox7rLIWMi+ElOygVDyFRoe3peACss2ETd68QQ+FeymDrmq4js/3QlGUpQv9 ai/Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=motor-comm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je17-20020a170903265100b0019273090648si19810266plb.554.2023.02.01.19.03.59; Wed, 01 Feb 2023 19:04:13 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=motor-comm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231371AbjBBDBL (ORCPT <rfc822;il.mystafa@gmail.com> + 99 others); Wed, 1 Feb 2023 22:01:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjBBDBI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Feb 2023 22:01:08 -0500 Received: from out29-124.mail.aliyun.com (out29-124.mail.aliyun.com [115.124.29.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F00661710; Wed, 1 Feb 2023 19:01:02 -0800 (PST) X-Alimail-AntiSpam: AC=SUSPECT;BC=0.63959|-1;BR=01201311R451b1;CH=blue;DM=|SUSPECT|false|;DS=CONTINUE|ham_system_inform|0.000518413-2.39536e-05-0.999458;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047205;MF=frank.sae@motor-comm.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.R7sRqPV_1675306854; Received: from sun-VirtualBox..(mailfrom:Frank.Sae@motor-comm.com fp:SMTPD_---.R7sRqPV_1675306854) by smtp.aliyun-inc.com; Thu, 02 Feb 2023 11:00:58 +0800 From: Frank Sae <Frank.Sae@motor-comm.com> To: Peter Geis <pgwipeout@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, yanhong.wang@starfivetech.com Cc: xiaogang.fan@motor-comm.com, fei.zhang@motor-comm.com, hua.sun@motor-comm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Frank <Frank.Sae@motor-comm.com>, devicetree@vger.kernel.org Subject: [PATCH net-next v5 0/5] add dts for yt8521 and yt8531s, add driver for yt8531 Date: Thu, 2 Feb 2023 11:00:32 +0800 Message-Id: <20230202030037.9075-1-Frank.Sae@motor-comm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756686768815760768?= X-GMAIL-MSGID: =?utf-8?q?1756686768815760768?= |
Series |
add dts for yt8521 and yt8531s, add driver for yt8531
|
|
Message
Frank Sae
Feb. 2, 2023, 3 a.m. UTC
Add dts for yt8521 and yt8531s, add driver for yt8531. These patches have been verified on our AM335x platform (motherboard) which has one integrated yt8521 and one RGMII interface. It can connect to daughter boards like yt8531s or yt8531 board. v5: - change the compatible of yaml - change the maintainers of yaml from "frank sae" to "Frank Sae" v4: - change default tx delay from 150ps to 1950ps - add compatible for yaml v3: - change default rx delay from 1900ps to 1950ps - moved ytphy_rgmii_clk_delay_config_with_lock from yt8521's patch to yt8531's patch - removed unnecessary checks of phydev->attached_dev->dev_addr v2: - split BIT macro as one patch - split "dts for yt8521/yt8531s ... " patch as two patches - use standard rx-internal-delay-ps and tx-internal-delay-ps, removed motorcomm,sds-tx-amplitude - removed ytphy_parse_dt, ytphy_probe_helper and ytphy_config_init_helper - not store dts arg to yt8521_priv Frank Sae (5): dt-bindings: net: Add Motorcomm yt8xxx ethernet phy net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy .../bindings/net/motorcomm,yt8xxx.yaml | 117 ++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 1 + drivers/net/phy/Kconfig | 2 +- drivers/net/phy/motorcomm.c | 553 +++++++++++++++--- 5 files changed, 597 insertions(+), 78 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
Comments
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 2 Feb 2023 11:00:32 +0800 you wrote: > Add dts for yt8521 and yt8531s, add driver for yt8531. > These patches have been verified on our AM335x platform (motherboard) > which has one integrated yt8521 and one RGMII interface. > It can connect to daughter boards like yt8531s or yt8531 board. > > v5: > - change the compatible of yaml > - change the maintainers of yaml from "frank sae" to "Frank Sae" > > [...] Here is the summary with links: - [net-next,v5,1/5] dt-bindings: net: Add Motorcomm yt8xxx ethernet phy https://git.kernel.org/netdev/net-next/c/cf08dfe8ae7e - [net-next,v5,2/5] net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy https://git.kernel.org/netdev/net-next/c/4869a146cd60 - [net-next,v5,3/5] net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy https://git.kernel.org/netdev/net-next/c/a6e68f0f8769 - [net-next,v5,4/5] net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy https://git.kernel.org/netdev/net-next/c/36152f87dda4 - [net-next,v5,5/5] net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy https://git.kernel.org/netdev/net-next/c/4ac94f728a58 You are awesome, thank you!
Hello Frank, On Thu, Feb 02, 2023 at 11:00:32AM +0800, Frank Sae wrote: > Add dts for yt8521 and yt8531s, add driver for yt8531. > These patches have been verified on our AM335x platform (motherboard) > which has one integrated yt8521 and one RGMII interface. > It can connect to daughter boards like yt8531s or yt8531 board. Thanks for this series. I test on my jh7110-starfive-visionfive-2-v1.3b Great job! Tested-by: Tommaso Merciai <tomm.merciai@gmail.com> Regards, Tommaso > > v5: > - change the compatible of yaml > - change the maintainers of yaml from "frank sae" to "Frank Sae" > > v4: > - change default tx delay from 150ps to 1950ps > - add compatible for yaml > > v3: > - change default rx delay from 1900ps to 1950ps > - moved ytphy_rgmii_clk_delay_config_with_lock from yt8521's patch to yt8531's patch > - removed unnecessary checks of phydev->attached_dev->dev_addr > > v2: > - split BIT macro as one patch > - split "dts for yt8521/yt8531s ... " patch as two patches > - use standard rx-internal-delay-ps and tx-internal-delay-ps, removed motorcomm,sds-tx-amplitude > - removed ytphy_parse_dt, ytphy_probe_helper and ytphy_config_init_helper > - not store dts arg to yt8521_priv > > Frank Sae (5): > dt-bindings: net: Add Motorcomm yt8xxx ethernet phy > net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet > phy > net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy > net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy > net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy > > .../bindings/net/motorcomm,yt8xxx.yaml | 117 ++++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > MAINTAINERS | 1 + > drivers/net/phy/Kconfig | 2 +- > drivers/net/phy/motorcomm.c | 553 +++++++++++++++--- > 5 files changed, 597 insertions(+), 78 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml > > -- > 2.34.1 >