Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2562389rdg; Mon, 14 Aug 2023 06:37:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyO20al0Q6OTfhuK7x/52w8KGUwXfUihOaYs5kjH442oreC3gTG4ToYjwVbnR+ceerEPFv X-Received: by 2002:a17:902:aa8b:b0:1ae:8892:7d27 with SMTP id d11-20020a170902aa8b00b001ae88927d27mr9688650plr.42.1692020221445; Mon, 14 Aug 2023 06:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692020221; cv=none; d=google.com; s=arc-20160816; b=x+afTlQvPCOawNtwU9MFYpC0OmCQgDwUUx2hIRsHPWdjfMLv+mXoZqgI4XGRXE4+// NZ8Rz6MFGxXhYpRy86PEDlB1T8w2a3LICa0xQhF0q4EARcw1QlZJI3C4lgvnqPsbPoxX L7rBR3tQz+d236PfNozFZh0WMTZkp61/SAWXEMbY89nMAjJFi0GRXvi3mfj5qNEE1/pv f+okutVN9zjds0aYYKVfAzAQXMkgNIpdQ3efcRJRvgtlfZ2jONLa955VIfhL4e1ar7w4 iqBZbOdiC1nm6EwHmQ0tbh5OSwhOUHIoruFgOivkvBOIc89vsDJtYxDGAx2RCbEMzrhC XCXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=Rjr03Bu9FUZKm0+7wnZqblJfU3eVTmIM2z74hNt1NMk=; fh=4cHc3lYQ8arXSMSy73qCECk6uevGTf8A+akPfZRux8Y=; b=sAWWqTT3Ycg1+CPxHrDFpuUQ/RJs9ViNs1qgYyBh4dljiBIebVTrz7sZHIuglGARAN 773ttoGNcvl17gFPM/o9jl5SPX5cZIHROTanW0VSKm99YctK6X2TJufxQnhTRVy5f5+n pFYZwz5g/fiA899OpHJ6/gN2KDxnU3tFZ8Vsqba5X0MI7+tuueh40totEcItG2lV0ou8 HhM4UD4YcJVeZun1BsdvsfGjZOjpbcN51mKfjqoCj9MTHlm6AyIbciMmAr9h2Fn21dSR orCLqasHFyx8hudTvY95186VKvJpW8DFnPEA8ch6Q/rbA4lQYDWCUA+viK+VuTkA60zr sdUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=DCrUi2Xn; 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=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a1709027e8b00b001b864e1a02asi7775324pla.393.2023.08.14.06.36.49; Mon, 14 Aug 2023 06:37:01 -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=@samsung.com header.s=mail20170921 header.b=DCrUi2Xn; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233361AbjHNMLy (ORCPT + 99 others); Mon, 14 Aug 2023 08:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233227AbjHNMLZ (ORCPT ); Mon, 14 Aug 2023 08:11:25 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2668DED for ; Mon, 14 Aug 2023 05:11:22 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230814121119epoutp0413629f124fefcc12d0ae8665c6d0d4e9~7PsAD8dtZ0997909979epoutp04V for ; Mon, 14 Aug 2023 12:11:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230814121119epoutp0413629f124fefcc12d0ae8665c6d0d4e9~7PsAD8dtZ0997909979epoutp04V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1692015079; bh=Rjr03Bu9FUZKm0+7wnZqblJfU3eVTmIM2z74hNt1NMk=; h=From:To:Cc:Subject:Date:References:From; b=DCrUi2XnKzpTjLmno9kAKmm952SuRrseMraBc7PDohV4PM91Rkn7z9NAxRYGvdQfI p6a9JSK1ZbBMv0cntq36sTk4A+aF+6+u/RuAcckrmpsts95O0dLdNkEf02VLDAYOzp t2Vuuu1WmLJQ4jIQ2byNcM8cw5R82Gs4mipPcoeU= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20230814121118epcas5p2d26ea99d26a5aca2b3f970953f5aaf14~7Pr-Al46s0418204182epcas5p2a; Mon, 14 Aug 2023 12:11:18 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4RPYCS47sZz4x9Pq; Mon, 14 Aug 2023 12:11:16 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 81.35.06099.4E91AD46; Mon, 14 Aug 2023 21:11:16 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20230814112600epcas5p49fe29a3ef85e2b0158f5ee3426652fc8~7PEb58t_81173811738epcas5p4K; Mon, 14 Aug 2023 11:26:00 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230814112600epsmtrp2440213a1a0d8e8a47d1792869822f6ea~7PEb43_sX1292612926epsmtrp2e; Mon, 14 Aug 2023 11:26:00 +0000 (GMT) X-AuditID: b6c32a4b-d308d700000017d3-95-64da19e41ab2 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C8.1E.34491.84F0AD46; Mon, 14 Aug 2023 20:26:00 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230814112557epsmtip2c503164ab25b1a49fb5615ebe8560f40~7PEY6bUNw0830008300epsmtip2I; Mon, 14 Aug 2023 11:25:57 +0000 (GMT) From: Sriranjani P To: 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, richardcochran@gmail.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, alim.akhtar@samsung.com, linux-fsd@tesla.com, pankaj.dubey@samsung.com, swathi.ks@samsung.com, ravi.patel@samsung.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sriranjani P Subject: [PATCH v3 0/4] net: stmmac: dwc-qos: Add FSD EQoS support Date: Mon, 14 Aug 2023 16:55:35 +0530 Message-Id: <20230814112539.70453-1-sriranjani.p@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPJsWRmVeSWpSXmKPExsWy7bCmpu4TyVspBt+XS1v8fDmN0eLBvG1s Fmv2nmOymHO+hcVi/pFzrBZPjz1it7i36B2rRd+Lh8wWF7b1sVpsenyN1eLhq3CLy7vmsFnM OL+PyWLe37WsFscW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F1cdqrQPfQ3cw3l91 YDV/c80uyYbGxTMNLuwwv+NmYnBv1rGJod/NVy2p7f/SNOl9hsbOXclfzz+PXue296VxA8v2 R6l5R5RYijMSDbWYi4oTARAQ0CH+AgAA X-CMS-MailID: 20230814112600epcas5p49fe29a3ef85e2b0158f5ee3426652fc8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230814112600epcas5p49fe29a3ef85e2b0158f5ee3426652fc8 References: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 FSD platform has two instances of EQoS IP, one is in FSYS0 block and another one is in PERIC block. This patch series add required DT binding, DT file modifications and platform driver specific changes for the same. Changes since v2: 1. Addressed all the review comments suggested by Krzysztof with respect to DT binding and DTS files. 2. Added SOB Swathi for her contributions in this patch. Sriranjani P (4): dt-bindings: net: Add FSD EQoS device tree bindings net: stmmac: dwc-qos: Add FSD EQoS support arm64: dts: fsd: Add Ethernet support for FSYS0 Block of FSD SoC arm64: dts: fsd: Add Ethernet support for PERIC Block of FSD SoC .../devicetree/bindings/net/snps,dwmac.yaml | 5 +- .../devicetree/bindings/net/tesla,ethqos.yaml | 114 ++++++++++++ arch/arm64/boot/dts/tesla/fsd-evb.dts | 18 ++ arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 112 ++++++++++++ arch/arm64/boot/dts/tesla/fsd.dtsi | 51 ++++++ .../stmicro/stmmac/dwmac-dwc-qos-eth.c | 172 ++++++++++++++++++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++- include/linux/stmmac.h | 1 + 8 files changed, 497 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/tesla,ethqos.yaml -- 2.17.1