From patchwork Mon Jun 24 07:10:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Roullier X-Patchwork-Id: 13709079 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46018C2BD09 for ; Mon, 24 Jun 2024 07:12:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=nNIGmtMgBT00YHa1Om7OpG1INSl2T8JgnFkXIhnek2A=; b=BKItB60TBgpgfWQDVv7uo3wXgM EttC0rjsiKxGgDg6F5yQ5CtbEM6emMkMo2Vk4m+txiSB7fNMqAtHqiFlCs6zNZq7CHE8hZT5ZKKCJ oqxWUBy4G+3MsH7xIjYieXvFUNqCTe+/3Auce7SL56LeJ57gMAmhxOrwN+JSgxcWlQywcitdBGpij g1ZLEy5ZbsRnAFtuNoJqXfPJLSg4/NFgGATUGFXxUy9u1NXSX/PisigbeM+By7cqSlWWvoZk182nN 8MwLamlyew5/DWEyvzZOLQ4Zc3Jv9wsw3hcclj67dBR3X0mnd+X8RwfTRk92J0D1PRdq7V/Xer5Re 9Blp28rA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLdsX-0000000Fplo-40Nu; Mon, 24 Jun 2024 07:12:42 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLdsS-0000000Fpk4-3vIn for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2024 07:12:38 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45O2RW8G023858; Mon, 24 Jun 2024 09:12:22 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=nNIGmtMgBT00YHa1Om7OpG 1INSl2T8JgnFkXIhnek2A=; b=h39OGsl4m/IoA3gjlVA/C+U6j4z/kDGzW/wzVg grIGSGO7cdcL5Rwp5cgOFLG/AMtEDjIb6/zwNta0BDX+I+PZDZdnLP5SosybIKcz uaiatV5T8Ac5LfYp4O6PIHiDm/Ha1Dzmf2co7JjldDkY4pgqsETb4cntILlEdozU ju0MiiRTl1KyMRmTfPg1ns9es5+Nmm/NVdlCNWe2RzkhFRu2AmCEleGDcLjVZyi4 /gRsZJTGvrxhe5k9LYA101wZog7SLSV40KM7SL+MSLFJWOoSR/W93DBNeP+Y8b8u Vkl7C0FuSDJ5q7rhBCA7BueJ+6OcuCtAC3iygLgLHPyNec7A== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ywm1g5vrs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2024 09:12:22 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 4658640045; Mon, 24 Jun 2024 09:12:16 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 893D62115EF; Mon, 24 Jun 2024 09:11:02 +0200 (CEST) Received: from localhost (10.48.86.164) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 24 Jun 2024 09:11:02 +0200 From: Christophe Roullier To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Jose Abreu , Liam Girdwood , Mark Brown , Christophe Roullier , Marek Vasut CC: , , , , Subject: [net-next,PATCH v3 0/2] Series to deliver Ethernet for STM32MP25 Date: Mon, 24 Jun 2024 09:10:50 +0200 Message-ID: <20240624071052.118042-1-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.48.86.164] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-24_06,2024-06-21_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_001237_293319_BBED5246 X-CRM114-Status: UNSURE ( 8.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org STM32MP25 is STM32 SOC with 2 GMACs instances. GMAC IP version is SNPS 5.3x. GMAC IP configure with 2 RX and 4 TX queue. DMA HW capability register supported RX Checksum Offload Engine supported TX Checksum insertion supported Wake-Up On Lan supported TSO supported V2: - Remark from Marek (sort compatible in YAML, change in glue to simplify) V3: - Update from Simon Horman (replace "return err" with "return 0") - Update/remark from Marek (simplify and add comment in glue to be clearer) Christophe Roullier (2): dt-bindings: net: add STM32MP25 compatible in documentation for stm32 net: stmmac: dwmac-stm32: stm32: add management of stm32mp25 for stm32 .../devicetree/bindings/net/stm32-dwmac.yaml | 8 +- .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 80 ++++++++++++++++++- 2 files changed, 84 insertions(+), 4 deletions(-) base-commit: 84562f9953ec5f91a4922baa2bd4f2d4f64fac31