Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A411C07E99 for ; Fri, 9 Jul 2021 10:36:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4BB2C6102A for ; Fri, 9 Jul 2021 10:35:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BB2C6102A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F2A8C8320D; Fri, 9 Jul 2021 12:35:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="Tgb5So3u"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 670108321A; Fri, 9 Jul 2021 12:35:55 +0200 (CEST) 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 phobos.denx.de (Postfix) with ESMTPS id 775918320D for ; Fri, 9 Jul 2021 12:35:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=1824ba806b=patrick.delaunay@foss.st.com Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 169AHAc2010264; Fri, 9 Jul 2021 12:35:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=PEJCJhXYNouVv1mkVx8IBG2537g+m50AWjKdvgXkdPU=; b=Tgb5So3ul0qoof23NcgBBD//nAS32BYigCguZg3Y/UdHwuT38rKpTrc4vIj+70e6rAQa zY7/+Tkyr3pYRDsufYa387hyI2MsKAs/Ls8HTzYcBgs9XhmKP5hzJsJ04RtAN5TR+76e uqDNft2Ca6oVTBBbA5jVxtBoObrTxjWDZhLnKh5uAOnroMzrgfsp6G2BZFUU44a0/Avx yq7MtlLyZwv4SWqIYBN4ykRWac71ScTJcau0pgn3Ix788hkjHsSW23dUxmnz1V2Z4q5s lfKJPVA77SITyZuZfsV5hhKyKcCdPEd6JRF4WAxm9+pQiEriqEKibGRtN09I70iBFr1z jA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 39p4vbcca2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Jul 2021 12:35:47 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BD47210002A; Fri, 9 Jul 2021 12:35:46 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A9B7021E678; Fri, 9 Jul 2021 12:35:46 +0200 (CEST) Received: from lmecxl0994.lme.st.com (10.75.127.46) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 9 Jul 2021 12:35:46 +0200 Subject: Re: [PATCH v2 0/6] net: dwc_eth_qos: add support of device tree configuration for reset delay To: , Ramon Fried CC: Christophe Roullier , Marek Vasut , Joe Hershberger , U-Boot STM32 , Patrice CHOTARD References: <20210426154653.3941-1-patrick.delaunay@foss.st.com> From: Patrick DELAUNAY Message-ID: <856dc613-018c-20a2-99ac-b602678aa922@foss.st.com> Date: Fri, 9 Jul 2021 12:35:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210426154653.3941-1-patrick.delaunay@foss.st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-09_04:2021-07-09, 2021-07-09 signatures=0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Hi Ramon, On 4/26/21 5:46 PM, Patrick Delaunay wrote: > It is the V2 version of [1] after Marek remarks: all commit are new. > > I change the DWC_ETH_QOS STM32 variant by using generic eth phy driver. > > This driver is updated to use the gpio reset and assert/deassert delay > from DT with the generic binding defined in linux: > Documentation/devicetree/bindings/net/ethernet-phy.yaml > or in U-Boot: doc/device-tree-bindings/net/phy.txt > > [1] net: dwc_eth_qos: add support of device tree configuration for reset delay > http://patchwork.ozlabs.org/project/uboot/list/?series=238253&state=* > > > Changes in v2: > - Update eth-phy driver (NEW) > - use log macro in eth-phy driver (NEW) > - update eth-phy driver to support STM32 binding with a mdio0 subnode (NEW) > - remove unused element in the struct eqos_priv (NEW) > - use generic ethernet phy for stm32 variant, this patch is a REWORK of > previous serie: the device parsing is done in eth-phy driver and the gpio > support is removed in stm32 variant: eqos_start/stop_resets_stm32 and > eqos_probe_resources_stm32. > - cleanup ops by adding a common null ops (NEW) > > Patrick Delaunay (6): > net: eth-phy: add support of device tree configuration for gpio reset > net: eth-phy: use dev_dbg and log_notice > net: eth-phy: manage subnode mdio0 > net: dwc_eth_qos: remove the field phyaddr of the struct eqos_priv > net: dwc_eth_qos: use generic ethernet phy for stm32 variant > net: dwc: add a common empty ops eqos_null_ops > > drivers/net/Kconfig | 1 + > drivers/net/dwc_eth_qos.c | 152 +++++------------------------------ > drivers/net/eth-phy-uclass.c | 78 +++++++++++++++--- > 3 files changed, 91 insertions(+), 140 deletions(-) > This serie is also accepted in patchwork,  but not merged in u-boot-net/network_master: http://patchwork.ozlabs.org/project/uboot/list/?series=240808&state=* Do you plan to integrate it in you next pull request for v2021.10 ? Regards Patrick