Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp203585lqp; Tue, 11 Jun 2024 01:39:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWd8DKcWRbC5q5u0aRjg0kyugxYsASv387mrpVL046nA0cuw/hrckDCBpvHh31b1pQgzYFr48OJU5SXC1GnuKiFvUEwSPaa6iBL2RLfcw== X-Google-Smtp-Source: AGHT+IFTCJXjpU6lmFQjT1ECG34BBaZ8dJK8hhpCIwjI6vWTBXnvuNMkBzXcBW/Hem+H3B2qhEM4 X-Received: by 2002:a17:902:d483:b0:1f6:e91d:b5e4 with SMTP id d9443c01a7336-1f6e91db924mr101507815ad.33.1718095174378; Tue, 11 Jun 2024 01:39:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718095174; cv=pass; d=google.com; s=arc-20160816; b=UTfvITb353tTtD125xsisMET114m3BgVf7JB4SylyI5xaMtVqC7azvQoJyoQ+qr/32 y3P5FYhhvHU+LZp76xX9bvf5hfgUFqUgkWeq9y1hzz51qzKzed74goyYnEaA/omg9PBX wrW8ROXqn920Km6UIh4hILjvpm3CzhOPVLuxH3Km/DMRjH4R27sljEOaD2DfPi6jLReL z6qLQ6iyJ0wZbSm5sHhtzXIF2+vvykliCB+bb+6Vt7WKDMXnbooJ6Fhbm0kITaLSLvUt F7BLklSbTUeywgHZzuuL23bDt0SNdwlCYeXY/+ZQ39maWECisuSe7CQ7GHmVNPA/jFEa BWyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=mKl1FJjv6aNsO+n3RrXdiVrleeoiVRhZbFPafOGKwOc=; fh=PNVS6hneBIB5DuUKcqXTZxY2dQy/qm89zdYDxH+oLxc=; b=q/xXYnD3ZY3QIDLMCSzViidcHSlDzWLWfPW+MS6KM9iCbbNJu/NzjeePBHjlTv3Hix v5cN2WVXzHVwqx8OhncBLQlcmWmnnPIZ4kMh/ZoId0RUwiM6VcHrh25bHhTopzo4e0RW z7dIocUqv0haZstWzXhOGo+ePhaGyTTYmWMmjyiaMeJ2UGXOBUrEGHQl19z3ylmfZHkk 1OOKjL65pJ0JDPYqpHAdxGJB0Ao/iIpoQfGLdsaN9i0ox3mhwLRPxeL+LUCo3OS4zFjq 5RRLZllci1b26pruSWpusj4SjzDW3S6FGZULRLozzxX69SNtUYKb03JAw+Sh9HnM+U/U FkgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=yvWnJiDa; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-209490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd823e1bsi91171755ad.604.2024.06.11.01.39.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 01:39:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=yvWnJiDa; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-209490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A42828B313 for ; Tue, 11 Jun 2024 08:39:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A151178382; Tue, 11 Jun 2024 08:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="yvWnJiDa" Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC5D4174ED2; Tue, 11 Jun 2024 08:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718095090; cv=none; b=B+zotYmhCsIKYgorgChWCCDOEm3XD9VsNESeogVKUwKLLJITmDEYdXS9Jr5sZi3PF2UjQV16j6Fc6EsoxTZk7e5OLzteFeei/gmo+ywU3gb0gSVwowsVHJc+rMOO+xwh5BY3rnnIhD0WuZXjKEyss+x7dLpzF8UO1Raz57AkvbY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718095090; c=relaxed/simple; bh=pFDxptaxcbYkWba+DnIxIIQCImZP9sF1vdM3XXdG9VY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=rxpcvwQpLp7H9Qx8gJYi6qC7YoHcm1qLJubGmnd8SJjNNSLA9tKR9rcWrOnT7bzdc/kONPB6FbOB6nCNdRscuwqMKlukX0mERAKxJUvr2JTxy9qexjqfsbvitUhrwjfbR4+pK+jRTMDiK8SyNzq2p9+Lms59UzfsRq7TOxpD5XQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=yvWnJiDa; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45B7gFLB011602; Tue, 11 Jun 2024 10:37:40 +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=mKl1FJjv6aNsO+n3RrXdiV rleeoiVRhZbFPafOGKwOc=; b=yvWnJiDax/74lokVBoMoTIwioIsQ+Cuz8v1Bd+ z0t/eo31ULnw08Y70XHpDkSXiALLMkp0aGwgk4G62iFOSvI51helcfF1ADiiykuu raVgsw+9q2tEoCcrLF6H2f5z/so61GMObQsGrcrDFjczpnhwrK0E1vzs99xSR6tN ZbBYbIifKMn5cNKQ3eTdMZwjI/kt8NN7YHdZlIQ7qD24xtdy1l3Se2MzNTI68m/W LLeZYFBoGdd/mZYUZcmsNZgKy/HfOaWoiNH+Mle0fDZPiSnLZ9+14l0SfIxYsGYF noI8XXiErUZKPqh0CcT2UOAlreCi3DCV1OuCsLSBJ6txWCwQ== 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 3ypbp3srxm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2024 10:37:40 +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 3D68440044; Tue, 11 Jun 2024 10:37:33 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2522E21072C; Tue, 11 Jun 2024 10:36:19 +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; Tue, 11 Jun 2024 10:36:18 +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 v7 0/8] Series to deliver Ethernet for STM32MP13 Date: Tue, 11 Jun 2024 10:35:58 +0200 Message-ID: <20240611083606.733453-1-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) 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-11_04,2024-06-11_01,2024-05-17_01 STM32MP13 is STM32 SOC with 2 GMACs instances GMAC IP version is SNPS 4.20. GMAC IP configure with 1 RX and 1 TX queue. DMA HW capability register supported RX Checksum Offload Engine supported TX Checksum insertion supported Wake-Up On Lan supported TSO supported Rework dwmac glue to simplify management for next stm32 (integrate RFC from Marek) V2: - Remark from Rob Herring (add Krzysztof's ack in patch 02/11, update in yaml) Remark from Serge Semin (upate commits msg) V3: - Remove PHY regulator patch and Ethernet2 DT because need to clarify how to manage PHY regulator (in glue or PHY side) - Integrate RFC from Marek - Remark from Rob Herring in YAML documentation V4: - Remark from Marek (remove max-speed, extra space in DT, update commit msg) - Remark from Rasmus (add sign-off, add base-commit) - Remark from Sai Krishna Gajula V5: - Fix warning during build CHECK_DTBS - Remark from Marek (glue + DT update) - Remark from Krzysztof about YAML (Make it symmetric) V6: - Replace pr_debug by dev_dbg - Split serie driver/DTs separately V7: - Remark from Marek (update sysconfig register mask) Christophe Roullier (3): dt-bindings: net: add STM32MP13 compatible in documentation for stm32 net: stmmac: dwmac-stm32: Mask support for PMCR configuration net: stmmac: dwmac-stm32: add management of stm32mp13 for stm32 Marek Vasut (5): net: stmmac: dwmac-stm32: Separate out external clock rate validation net: stmmac: dwmac-stm32: Separate out external clock selector net: stmmac: dwmac-stm32: Extract PMCR configuration net: stmmac: dwmac-stm32: Clean up the debug prints net: stmmac: dwmac-stm32: Fix Mhz to MHz .../devicetree/bindings/net/stm32-dwmac.yaml | 43 ++++- .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 178 ++++++++++++++---- 2 files changed, 173 insertions(+), 48 deletions(-) base-commit: bb678f01804ccaa861b012b2b9426d69673d8a84 -- 2.25.1