Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1156782rwr; Thu, 27 Apr 2023 13:13:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7cMTqea6B+5hmFvUws5XDvcxbo/8iRDXN/QTKXlUu9Ee+1je64gHEhinum8+g8g8EN9Wia X-Received: by 2002:a05:6a00:1890:b0:63b:22e7:6ee6 with SMTP id x16-20020a056a00189000b0063b22e76ee6mr4503665pfh.31.1682626409341; Thu, 27 Apr 2023 13:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682626409; cv=none; d=google.com; s=arc-20160816; b=OSGg20qXnlQiswBTxakAKOBixuQ2EUyHm1yxbK4QDItMQvvF0gSmmKj6KUc9HNd+Ol UPq1IWppT2Krz6h1KKkIxdqpjtqqz/0t8DwtnQ23Alk2Bx9ABI/kTG56x3CjPkiPEBVb nTvSElv/M2UzSvk2adOLOJx7XZC5Is9VvHDYqJdX1HWyQXUJz6IeYfjq0A6KconIq9Dj oZl7eGRZ3gguVhi8FBxhZU/FwvpO5eodDIEot++YVLE9YH+kSfcKU3nfFJUGhjRLtdW8 DEYH0qn0sbaNpSmV59BvvQJpcGl2eXqm7DIIqmkbIx0ou7h6ty12LTCI580y6lhQBAls CjjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=Qi4Ky9bHoQupBknSueBNjMmFnel/nlUG0MuoAvTepic=; b=JS/+msS7aW9qyn9rYxJUIrgSeCdD6rpIHA2bbV/2k5FgvlRsuwhUvPjNWoSVrQJcyC 3t8/G1PM+hZHYiaiFgtkCS7A2otuHNK0FvBJnX7+4mko+vcGtCGrpsLgecX3WiJJnXo5 LFbbIobGs/tF0WxIK3LGq+0rH2lj21HCdabNBSXjl4H/W2qDIy+DBhUoeECYstbKrzCq k6FTsD/rSNWC9NOQ87dEe/8ILM+VtUD6Qp1SuVq4RNAfRnPw6JKEd1UDXV2fWHgGG4yA QZmVX3PFBaDJnxs2YaNCIscfL/p6dfEYESDvQlabmO58wIZRjm9RoEUflOxsAdU4htS5 YwCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=X08Kv91m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020aa79f96000000b0063b5a345aefsi19726787pfr.39.2023.04.27.13.13.16; Thu, 27 Apr 2023 13:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=X08Kv91m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344084AbjD0UGW (ORCPT + 99 others); Thu, 27 Apr 2023 16:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233562AbjD0UGV (ORCPT ); Thu, 27 Apr 2023 16:06:21 -0400 X-Greylist: delayed 584 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 27 Apr 2023 13:06:19 PDT Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782932D74; Thu, 27 Apr 2023 13:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Qi4Ky9bHoQupBknSueBNjMmFnel/nlUG0MuoAvTepic=; b=X08Kv91mrUTH7bTUkTtL2mdJB+ 7xScUhy7JtNjqms3IHnqX6A8ljNdSxuOtlORC90lmpwouAdphNBj23xdPSWMTqJ9t8KE3ikPiVJVo nKI1N7jVFBRUalq3HLDoj59MzcFKAGLHNwLge8psKa+ACPw+2/2zf8z/46DWRlAIkA4g=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:47152 helo=debian-acer) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1ps7sX-0002qM-1i; Thu, 27 Apr 2023 16:06:10 -0400 Date: Thu, 27 Apr 2023 16:06:08 -0400 From: Hugo Villeneuve To: Fabio Estevam Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Hugo Villeneuve , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Message-Id: <20230427160608.f051241d750404939296f60d@hugovil.com> In-Reply-To: References: <20230427195538.2718661-1-hugo@hugovil.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH] imx8mn-var-som: dts: fix PHY detection bug by adding deassert delay X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Apr 2023 17:00:41 -0300 Fabio Estevam wrote: > Hi Hugo, > > On Thu, Apr 27, 2023 at 4:56 PM Hugo Villeneuve wrote: > > > > From: Hugo Villeneuve > > > > While testing the ethernet interface on a symphony carrier > > board using an imx8mn SOM with an onboard PHY (EC hardware > > configuration), the ethernet PHY is not detected. > > > > The device tree in Variscite custom linux git repository uses the > > following property: > > > > phy-reset-post-delay = <20>; > > > > Add a new property 'reset-deassert-us' of 20ms to have the same delay > > inside the ethphy handle. > > Which Ethernet PHY does this board use? > > What does its datasheet recommend? Hi Fabio, it uses a ADIN1300 PHY. The datasheet indicate that the "Management interface active (t4)" state is reached at most 5ms after the reset signal is deasserted. Hugo. -- Hugo Villeneuve