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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0396EC433F5 for ; Mon, 15 Nov 2021 11:31:44 +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 4D16661C32 for ; Mon, 15 Nov 2021 11:31:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4D16661C32 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=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BFA2183689; Mon, 15 Nov 2021 12:31:41 +0100 (CET) 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="b3sjBoew"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B5F4D8354B; Mon, 15 Nov 2021 12:31:39 +0100 (CET) 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 2E60A83689 for ; Mon, 15 Nov 2021 12:31:36 +0100 (CET) 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=595306832a=patrick.delaunay@foss.st.com Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AF8sjoN006661; Mon, 15 Nov 2021 12:31:35 +0100 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=ASlE9FHfKQ2A2nfqwqt4WbIABjilX+hLo2+y8dCRLSE=; b=b3sjBoewF3xTTgoO3hHfmBT81QnmUmUw5HiocDzXquOjYwhG8bhPeRRHcDbwcGXTaTem 1HzPLR6tUak7rOomHd/41+jX1gTY9ZJmmteNk3N4/yrKtMlY9DHXYmRFT71/NT8hSDSs tJxSe5mArIw0Sx6IvWvkenjxFSzuHv1PnBqcMPZxIFaTdG4hVUQhDejfbc7OncQWLGyE kkvXdCCi+uJyznKA8Hn/6INudsaGw/nw2s5SUrD/ADp4/VL+2uWGLNh1Xa4eDjWq+DJ7 b+tYuZoTvWhEu/VwxmK9xhHouXIzVdLELehmytDQZ0BZQxguAtervyQDplbb3clfxccY qQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3cbmf40xy6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 12:31:35 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8BA8310002A; Mon, 15 Nov 2021 12:31:34 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8400922ECE4; Mon, 15 Nov 2021 12:31:34 +0100 (CET) Received: from lmecxl0994.lme.st.com (10.75.127.51) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Mon, 15 Nov 2021 12:31:33 +0100 Subject: Re: [PATCH] ARM: dts: stm32: Add custom PHY reset bindings on AV96 To: Marek Vasut , CC: Patrice Chotard , "ch >> Patrice CHOTARD" References: <20211113022737.232052-1-marex@denx.de> From: Patrick DELAUNAY Message-ID: Date: Mon, 15 Nov 2021 12:31:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211113022737.232052-1-marex@denx.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-15_10,2021-11-15_01,2020-04-07_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 Marek, On 11/13/21 3:27 AM, Marek Vasut wrote: > The ethernet PHY must be reset on AV96, however DWMAC currently does > not support the MDIO-bus PHY GPIO reset bindings and the ethernet MAC > PHY reset property is going away on next DT sync. Add PHY specific > reset bindings to trigger the PHY reset and fix sporadic ethernet > malfunctions, until the next DT sync. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > index 8b275e4950e..4b1dbf08387 100644 > --- a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > @@ -19,6 +19,17 @@ > }; > }; > > + > +ðernet0 { > + mdio0 { > + ethernet-phy@7 { > + reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>; > + reset-assert-us = <11000>; > + reset-deassert-us = <1000>; > + }; > + }; > +}; > + > &sdmmc1 { > u-boot,dm-spl; > }; Reviewed-by: Patrick Delaunay Thanks Patrick