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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85C4AC6FD1F for ; Tue, 26 Mar 2024 12:08:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E898F87F78; Tue, 26 Mar 2024 13:08:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1711454882; bh=XJzNxerFDcEY9inTiIUpelW9TpyLaOcWHk2U0SzBmTU=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=GKWlMLRxb+bqOTqRmojgVmLY542tCjHw46eU49mjIWH2MqBdGOACbYXsszLnIIdgd ziEyFwL6nsS9BbkstCHBtl5a6sutLqEaIhh1078e0GsjdDSMmBfYyuVKlP+k7Vh/Q6 j0BmMd7ZEcINLtEo11Zm/gsRaNFttzL9dEgrxmcwC4lnw3n1ySPvbxAyjSJekC4Wx1 9l0h8PEpb13cH0BCqhRjlg1ps0r8yF3a99WzXfhWV1UUVBLmq0VXEYbvXiq8Rf82oc 6gQmzn/ZFByrSHY/7ccpYJHpLuYYFi+tVUDforYIaQeymuY6rWTVJq3x0AoucQ+wZA 5g41FL9ybWaTg== Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 79A2787C83; Tue, 26 Mar 2024 13:08:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1711454880; bh=XJzNxerFDcEY9inTiIUpelW9TpyLaOcWHk2U0SzBmTU=; h=From:To:Cc:Subject:Date:From; b=Vr5UaUoOllyzbkcP10oPk0t1g8+WZ1x8zoUPZSBDR9wdAkhBQqIsmvpsWZb0He0xE x6chqBUm09kaPkU7FlwjQECsjTKGPH09yvbhce3Dw+0BLLnZbj8CRmlQmC4chpHKYz 206+CN1swtY3GV3DeoaxUz47vbR6M+mSnryyKraFWTplbtcTDaP/3B0I4SuEyRbkbH KSNUJpmxP8g4kgjV5dk7GRn2POMuW44FOquk+7r5wyg2rToTMoV01NCDtZO0O9vnr1 fe84wcvL/leFyMtYwa/7xh53ULi3VJ2NsWpjAiY5yZ0m7lm4N3j5Y9mMF+DxYSmJtW NTVwHLgCGdRaA== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Christophe Roullier , Joe Hershberger , Patrice Chotard , Patrick Delaunay , Ramon Fried , u-boot@dh-electronics.com, uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH v2 00/11] net: dwc_eth_qos: Clean up STM32 glue code and add STM32MP13xx support Date: Tue, 26 Mar 2024 13:07:21 +0100 Message-ID: <20240326120745.27581-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Split off STM32 glue code from the DWMAC driver into separate file, similar to what other SoCs already do, to avoid mixing the ST specifics with generic DWMAC core code. Clean the STM32 DWMAC board code which is currently duplicated in multiple board files, move it into the newly separated glue code, since the code is not board specific, it is only generic DT parsing and generic register programming. Add STM32MP13xx support based on ST downstream patches on top, although that part is mostly rewritten from scratch. Christophe Roullier (2): net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform net: dwc_eth_qos: Add support of STM32MP13xx platform Marek Vasut (9): net: dwc_eth_qos: Split STM32 glue into separate file net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code net: dwc_eth_qos: Scrub ifdeffery net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield net: dwc_eth_qos: Move log_debug statements on top of case block net: dwc_eth_qos: Use consistent logging prints net: dwc_eth_qos: Constify st,eth-* values parsed out of DT net: dwc_eth_qos: Add support for st,ext-phyclk property board/dhelectronics/dh_stm32mp1/board.c | 82 ------ board/st/stm32mp1/stm32mp1.c | 82 ------ drivers/net/Makefile | 1 + drivers/net/dwc_eth_qos.c | 171 +------------ drivers/net/dwc_eth_qos.h | 2 + drivers/net/dwc_eth_qos_stm32.c | 326 ++++++++++++++++++++++++ 6 files changed, 334 insertions(+), 330 deletions(-) create mode 100644 drivers/net/dwc_eth_qos_stm32.c Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: u-boot@dh-electronics.com Cc: uboot-stm32@st-md-mailman.stormreply.com -- 2.43.0