Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp445777lqg; Thu, 11 Apr 2024 07:40:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZL5/O2ZgG1s/7LjowGPIn2e20P483+8ufV4cLaW8y5pQrhYETcJnkrFNUUDssAnjT/PekTwa8hYD1Bd0O39vRaKNyYMkrkqmFOTHKOw== X-Google-Smtp-Source: AGHT+IHVrWdDwogUa9wUicNyUJ4+PjLeaGKJeVbSssSnVRJL/aeet48P7aEWtizKnGWh7bTGJQ77 X-Received: by 2002:a05:6358:cc81:b0:17e:b867:cb99 with SMTP id gy1-20020a056358cc8100b0017eb867cb99mr7829003rwb.1.1712846422985; Thu, 11 Apr 2024 07:40:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712846422; cv=pass; d=google.com; s=arc-20160816; b=Yj7Cgmtp1a347fXuua9Pk9qui3+O5aOotr+GanhZU7e9HE3g4A0A91BqEpgyOJWpqO R5KPtHIFDiEj+2M7rgRtKAmEZasLQ6JB262kLolr7GF/Q0CMHG1K4TBiATfBNmauyf/U tlZ+L/EDSwDZISS88wVmHwCMj2vt59vya574MNJUynj0DLz/Efoz4RWyOg3psSduAdsQ SQfuzK4pT1eRfjtCpznP/e529ygogDNqG+z8YWL4pE7T7u4SU0R1GzgnhkPxD5ZmH4oH Sr7mTAvlEL5kX2jum5TyORvRb/LkBqE5rnkT4UfrZfdU0aNh04tQDv8N2PNgbffKyEN+ WMqA== 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=R3t6i2RwKT1qwlckR/vo2LKwYj9pYC+YLWuQmMNxUu0=; fh=Nrq3/ZyqAmcldX4TnYQJDytRSUiD1vJeQNniXh+eWjo=; b=NVUuA+XD7wF02X2wa6UgBKjNan4O+UwGLZrg2egmbJcnJFLwEGgKieaFiQV6Vbj3Y3 PghPw16N0RBL8P4U/WaAuayYRt8xb4j8VAGAcJyPac/DMOnnXExg/De3GMdfH/WO89Z6 jh39vAztvZzLil81YdpRLDn1ZjhxBzueemLXTupMysPPP7fjTzyJSkUKc6II9d7Ct/Y/ toeHcof0tI594WnFvF9Xe7YTMmFNAUqrXkdY1v9coTDrdmfsKY7UaMLKumOid1vh2stK MmQzYU8HtuYiAYsjnUbmJaBjdkrnBk1q9ROyUBl9+8OuVg3pVKF6FcuTOmmAglRfySCz 8LLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=X+rnlLe8; 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-140667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140667-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 d20-20020a637354000000b005dc34c3db42si1397078pgn.259.2024.04.11.07.40.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 07:40:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140667-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=X+rnlLe8; 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-140667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140667-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 5AD2D281DD6 for ; Thu, 11 Apr 2024 14:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46D4517C60; Thu, 11 Apr 2024 14:39:06 +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="X+rnlLe8" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 09B67E556; Thu, 11 Apr 2024 14:39:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712846344; cv=none; b=cIvCldgiW5vt2g0JHKBKlyGOoEEiK+hrCPai1oV9TduKvGVLW9uMvz27/l+5XNaRibVzXBTfhT9XWLKx4rZYD03Js+aflO9s5UmG2xrrnb7ZaxAeQ3NNeRcIle8E8Bi92QOipavTp49+sgBipxtYpEkrjLBXJVuXSE3x9oIFYM4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712846344; c=relaxed/simple; bh=7bY6nOkOAlF1gyhNvUOhk5vTC8tNW8cjWAcSwtGF6BU=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=KqidGHKD5bN+OhZxYJUjj44LYESIUTZQ/WbAXoUH88V/HeZHcOA6xlBIXUDcKjwzH6ukdNJashzlZ/ZaRejjBEM7q+yxkoiRaFSQxZujunIN5BuZihL70BwgzoiacW52bONC96pd1K6F741aBKPQiufUyNOCsvwTXv19LMd/w8I= 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=X+rnlLe8; arc=none smtp.client-ip=185.132.182.106 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 (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43BCl6W4029833; Thu, 11 Apr 2024 16:38:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=R3t6i2R wKT1qwlckR/vo2LKwYj9pYC+YLWuQmMNxUu0=; b=X+rnlLe89rFmtVYeXFgY67M 2U85EeIgO+B9edFEsgxK1mrRyOpWRbZV78aVfR14J/4hZPcYAmLnQJWxY22H77Ss oO9qBSfrnxSLXPGhN/g41E5nDLOQfl6m3/EBYfZDQaFKicom1yH25EGbyYlnpzg5 bcLCLofjGy4NMBgX6gQ3OrFaLS3fJ4DVKpi0OB6xTFW+mQam6BJRa+7UA7QQBRDR DWUo5lnNmiWDyttYGRIIbCSvqACUgZNK1CoDB8EE02FkjJyXQ9/jvbXueF95ypxO QV2UcMOl/TNq3Kj6+lsAfs6QwQV/PEnVPwrAxACyvSrs+FqejCgEwctSZeSjplQ= = 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 3xbfy13qxj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 16:38:35 +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 64CCD40044; Thu, 11 Apr 2024 16:38:30 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id BE42A21BF52; Thu, 11 Apr 2024 16:37:21 +0200 (CEST) Received: from localhost (10.48.86.106) 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.27; Thu, 11 Apr 2024 16:37:21 +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 CC: , , , , Subject: [PATCH 00/11] Series to deliver Ethernets for STM32MP13 Date: Thu, 11 Apr 2024 16:36:47 +0200 Message-ID: <20240411143658.1049706-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: 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.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-11_08,2024-04-09_01,2023-05-22_02 STM32MP13 is STM32 SOC with 2 GMACs instances This board have 2 RMII phy: -Ethernet1: RMII with crystal -Ethernet2: RMII without crystal Rework dwmac glue to simplify management for next stm32 Add support for PHY regulator Christophe Roullier (11): dt-bindings: net: add STM32MP13 compatible in documentation for stm32 dt-bindings: net: add phy-supply property for stm32 net: ethernet: stmmac: rework glue to simplify management for next stm32 net: ethernet: stmmac: add management of stm32mp13 for stm32 net: ethernet: stmmac: stm32: update config management for phy wo cristal net: ethernet: stm32: clean the way to manage wol irqwake net: ethernet: stmmac: stm32: support the phy-supply regulator binding ARM: dts: stm32: add ethernet1 and ethernet2 support on stm32mp13 ARM: dts: stm32: add ethernet1/2 RMII pins for STM32MP13F-DK board ARM: dts: stm32: add ethernet1 and ethernet2 for STM32MP135F-DK board ARM: multi_v7_defconfig: Add MCP23S08 pinctrl support .../devicetree/bindings/net/stm32-dwmac.yaml | 83 ++++++- arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 71 ++++++ arch/arm/boot/dts/st/stm32mp131.dtsi | 31 +++ arch/arm/boot/dts/st/stm32mp133.dtsi | 30 +++ arch/arm/boot/dts/st/stm32mp135f-dk.dts | 48 ++++ arch/arm/configs/multi_v7_defconfig | 1 + .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 235 ++++++++++++------ 7 files changed, 421 insertions(+), 78 deletions(-) -- 2.25.1