Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1413187rdb; Mon, 4 Sep 2023 13:07:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENkJQkK/hVRhPfSOD4pSa+V8VX7jApQbBwJoI1hozdj6QmpTL29bUt+5bqfXTpHPhSTm2B X-Received: by 2002:a05:6a20:918f:b0:137:74f8:62ee with SMTP id v15-20020a056a20918f00b0013774f862eemr14486135pzd.18.1693858068318; Mon, 04 Sep 2023 13:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693858068; cv=none; d=google.com; s=arc-20160816; b=ZXkDzpaPZ3a2Ikf+vc2f0c9BJln7b3AB7+aDqgOsVwIkxFVJaLdycKjuz0XoVt+pwJ YB3v638jy25sVDPTKR5f6LlRpOygMte47v4+HCT+L+O9/FOZPqYRT0fqAsgtcSgK8lEh 9rx0I12f/Hj8os2h6QZo/ya3TwU9TYMqC8ttILe/5hnB+mlLg4Cyjw3f3jGludW/4ukC cFMlUXg3CRq0JJQUJpXY7Qt+ioE69pE+eJUYBIvNtRd6FYtf0XanNmTxxKSmBOKm3Ipx FPoPS1gnKGzchN1Ov50DWJ98vAluayYZMhrwJ9Hl0dUHicRy7kRRirPkSSmYV/8TFjeq Nxdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=xdrF6N8HL4EbV22j8WXgXy3Ah6H26H5auVEub33/Rkc=; fh=lq+jfCLH5EH2Fok15pm+53S3ooUuOn4vtaopcfI3+mE=; b=vI4Q0GKNK7ftyubXQ8xvR0nXMWKHzju8M4XhC/ffPHnW/bGoPoZAlWTWZuqtdqPu19 NX9lftOMEkqMFHkkISTeWopCHe1NHRRhvFTT6/NgbAc6UDqzf8xsoHILkD4ktPqqY5nD xa53DNjKmtzPWDHL+dLOAlJTDnYIdGI3gxRWDxSJiasE6k2pLebFQGOme4lZN7EA0mVu 7PwURk63glIDu8V40swKs4TexZlpPFGdh4MN07ipPghKPWCk69j5ubjgk3QM1KyCw5q3 ex+c78YzSSK1Mp2Fqtuxk/a7x0/09GFhTEy+xMYkZDEyY/oHl66RAeNY+r8GrKJznWT4 87oQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2-20020a631642000000b005704fe629ccsi8347926pgw.174.2023.09.04.13.07.35; Mon, 04 Sep 2023 13:07:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240711AbjIDFmm (ORCPT + 99 others); Mon, 4 Sep 2023 01:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232830AbjIDFml (ORCPT ); Mon, 4 Sep 2023 01:42:41 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 480B9B6; Sun, 3 Sep 2023 22:42:37 -0700 (PDT) X-QQ-mid: bizesmtp69t1693806064t61ncw53 Received: from wangjiexun-virtual-machine.loca ( [120.225.34.249]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 04 Sep 2023 13:41:02 +0800 (CST) X-QQ-SSF: 01200000000000001000000A0000000 X-QQ-FEAT: rZJGTgY0+YOS3vKl0NMirRR1pAhmed70/gLFuj/Gr660BtUWLKoHQ7PnNRXSp X4pSLbZOdfAkBI4khh9tRvTDbOaTQlmcKegcyzoPBsaxHw25F18pQGBZDtYpE5OJ3kdPkqE zwijwvHa/JIzv4ytcLinIVlEorFNeSv09106k4IKEpljgzyNnhgo+tah2zJJLYl1k8XWr4+ eOKAT4b8ezpPcdUycki4Vdq+okzxerMB29oA6vgy7xa29tA7V8mwxuxL8Y5LtlGjkwYIyH6 UYM2lN8Xy7WdmPIEXzR+HvsbvAOP+0YgUBM8CSyYsM4HgldighDFRgGbHJ6uj0goaRS1z8o L2CcmKGSJ7jAzVqa4fUbg/AWACFeCZJeUqWmjDi X-QQ-GoodBg: 0 X-BIZMAIL-ID: 4421248991332191876 From: Jiexun Wang To: jszhang@kernel.org Cc: alexandre.torgue@foss.st.com, conor+dt@kernel.org, davem@davemloft.net, devicetree@vger.kernel.org, edumazet@google.com, joabreu@synopsys.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org, pabeni@redhat.com, peppe.cavallaro@st.com, robh+dt@kernel.org, simon.horman@corigine.com Subject: Re: [PATCH net-next v2 0/3] add the dwmac driver for T-HEAD TH1520 SoC Date: Mon, 4 Sep 2023 13:41:00 +0800 Message-Id: <20230904054100.142575-1-wangjiexun@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230827091710.1483-1-jszhang@kernel.org> References: <20230827091710.1483-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 On Sun, Aug 27, 2023 at 05:17:09PM +0800, Jisheng Zhang wrote: >Add the dwmac driver support for T-HEAD TH1520 SoC. > >Since the clk part isn't mainlined, so SoC dts(i) changes are not >included in this series. However, it can be tested by using fixed-clock. > >Since v1: > - rebase on the lastest net-next > - collect Reviewed-by tag > - address Krzysztof's comment of the dt binding > - fix "div is not initialised" issue pointed out by Simon > >Jisheng Zhang (3): > dt-bindings: net: snps,dwmac: allow dwmac-3.70a to set pbl properties > dt-bindings: net: add T-HEAD dwmac support > net: stmmac: add glue layer for T-HEAD TH1520 SoC > > .../devicetree/bindings/net/snps,dwmac.yaml | 2 + > .../devicetree/bindings/net/thead,dwmac.yaml | 77 +++++ > drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 + > drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + > .../net/ethernet/stmicro/stmmac/dwmac-thead.c | 302 ++++++++++++++++++ > 5 files changed, 393 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/thead,dwmac.yaml I would like to try this patch on my LicheePi 4A board, but I don't know how to modify the dts file. Could you please share your modifications to the dts file? Thank you very much. Best regards, Jiexun Wang