From patchwork Wed Dec 8 15:05:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Niedermaier X-Patchwork-Id: 12695355 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 244E5C433EF for ; Wed, 8 Dec 2021 15:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=apCzhzLkpfRN5WYXRuPFa8jOE2pGLtobfeHnNCxqIxw=; b=FoTlPo9je2mD/n AKofvTREoTYaLA2Ejd41L+jEwWpFfDhVtqNafr188mK9jZmu0y8TiFTRtlVD2ovH1gUQFfWkR+puC M7thS5/MmeG/URvG/sIbpjDPuNfMusAOVL4z4pOxUL7gMdqDT9TNghf+uUu6TIRhDENljJXMMJJ3f GwNWItaaVJz0DxC9iZEDYutkCEyA4suAWt+DepbGNDvW0kylgpBGtU0bFFxAWfVVFtP5vJCumqQMn 7B5v7oEwBeRUahd6mf07XoTx/BYkoe5gRjLbj3GLU+SEu9ZKhi8LABuhRDThKR0Vt4M88G1rzgxbA /TRBTffFyrGR9iR6GOYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muyY0-00D6AL-7K; Wed, 08 Dec 2021 15:07:56 +0000 Received: from mx2.securetransport.de ([188.68.39.254]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muyXw-00D69v-4f for linux-arm-kernel@lists.infradead.org; Wed, 08 Dec 2021 15:07:54 +0000 Received: from mail.dh-electronics.com (business-24-134-97-169.pool2.vodafone-ip.de [24.134.97.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.securetransport.de (Postfix) with ESMTPSA id A93945E8DA; Wed, 8 Dec 2021 16:07:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1638976047; bh=IUPC3F7rTdx7ogBlrgnlVoN3jczpSF2JXZ93pLVBiFk=; h=From:To:CC:Subject:Date:From; b=gC8sgMApnY0XVj9PnA8T8f07IiGINe3imLJbuVe4KrYpn+pXzzcXWk8QZ75r5UaGI laHgI1i0JieMaKglKKtEpWM3av1V3YkjjGUtlnParesprYx1Z2/Cey7HyYMs6mUNrb u5TE/U1gbkRAW7eFU31sxsUuw+AqqCuI0Qa+YdrvtqEfaiF+1GOB1I/VZPCS52nxRx havQBVcUpX3kZzgW0gBuDCoQnU297FEC7+M3SMl7ijR02nN7YKiH2zbJnj1HSKKn4m i1LQ1k2WNlwRthnzHwib4kfO/2N40ynXtp3ondT7R1Xt5IRbPO39qQU69v3qpN66fp e6AQTVEGhgJpQ== Received: from DHPWEX01.DH-ELECTRONICS.ORG (2001:470:76a7:2::30) by DHPWEX01.DH-ELECTRONICS.ORG (2001:470:76a7:2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 8 Dec 2021 16:07:15 +0100 Received: from localhost.localdomain (172.16.51.18) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Wed, 8 Dec 2021 16:07:15 +0100 From: Christoph Niedermaier To: CC: Christoph Niedermaier , Shawn Guo , Fabio Estevam , Marek Vasut , NXP Linux Team , Subject: [PATCH] ARM: dts: imx6qdl-dhcom: Align PHY reset timing with other DHCOM SoMs Date: Wed, 8 Dec 2021 16:05:43 +0100 Message-ID: <20211208150543.10643-1-cniedermaier@dh-electronics.com> X-Mailer: git-send-email 2.11.0 X-klartext: yes MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_070752_398747_163F1EA9 X-CRM114-Status: GOOD ( 13.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org According to datasheet Microchip LAN8710A/LAN8710Ai DS00002164B [1] the reset should stay asserted for at least 100uS and software should wait at least 200nS. On other DHCOM SoMs with the SMSC LAN8710Ai PHY both reset delays are 500us. This should be plenty and for consistency, the i.MX6 SoM should also use these delays. [1] https://ww1.microchip.com/downloads/en/DeviceDoc/00002164B.pdf Signed-off-by: Christoph Niedermaier Cc: Shawn Guo Cc: Fabio Estevam Cc: Marek Vasut Cc: NXP Linux Team Cc: kernel@dh-electronics.com To: linux-arm-kernel@lists.infradead.org Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi index 5d10c40313cb..e71687061161 100644 --- a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi @@ -138,8 +138,8 @@ pinctrl-0 = <&pinctrl_ethphy0>; pinctrl-names = "default"; reg = <0>; - reset-assert-us = <1000>; - reset-deassert-us = <1000>; + reset-assert-us = <500>; + reset-deassert-us = <500>; reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; smsc,disable-energy-detect; /* Make plugin detection reliable */ };