Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2577601pxu; Mon, 7 Dec 2020 09:57:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8i8F/k3M/Tlz+cB8F0mP20uHWaqPB/gsdHcP0ug0bTEYVmVqrFKUaFLasOS2/2Omra+Ck X-Received: by 2002:a17:906:9613:: with SMTP id s19mr20030926ejx.351.1607363836708; Mon, 07 Dec 2020 09:57:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607363836; cv=none; d=google.com; s=arc-20160816; b=fagW9BECAPdsWw/ALeV8e0UiHjynhoAEh8WRbLwR/OB7bfrtS4HP37OEWP22xVlQ/F CEULmfd+xpipKF3zdAhTbgeoI7Vvekk9mGeF60BLm1y3kACVw1L4QifIqiVYIo2kWJGD hfvjKYfffZbFtMBH0AoCkHRE73QtMZhUoYL1bqQM5LBa93R5EX6Mxkj6ttoc7fqMCZPB cNYRLns/xQmHPCffajWhQS69c2yKvtAcxUMJA8SlEiq+5kgugzumSdNA7mXxdvC+BmQk noTVeZ7XDcMTuXRktEPMtLn3wBdVI9n3hKEk7equDzCVWsk+Q+sv6vB7yzjYvVcMZOlJ zneQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=MkGJj4xRtLjLHi9uk2lHu+eJLiMO4r8tHRe6lcpmSbI=; b=gkLSnUcts6+b/FG4ucHv2P75uyYj6xP3ZjczsMeSRUlugpsHA48T+q4c2n2T90mL2f Vya/1ctG4ZkdM2gnqsYZ8gsdctjNxjm8l5Qp5Et8LhDuZ+X5MG6g9Lf/EHlryu/u2lXk 4EMndf3a0+hFGkuy2tOxeFjKbD5Jy8dhLTzsWibdCZX/Vbxfz49lOy0ecznxvytYds0u 2oEjH1Qu0PcE4d0/Oif+CWsZoJnK0qtvovmWIBnH8gsGHu+owZnRbk1SAtjYg08IAKlL 6UXWQidVzRxHeFBL9rmTKS51+OawiJ4lAd2cA+rFxfebSZ3a8red4aHbvYifwtMSy7P6 nmbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=raPdImDD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si8579823edy.153.2020.12.07.09.56.53; Mon, 07 Dec 2020 09:57:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=raPdImDD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725939AbgLGRy1 (ORCPT + 99 others); Mon, 7 Dec 2020 12:54:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgLGRy1 (ORCPT ); Mon, 7 Dec 2020 12:54:27 -0500 Received: from mail.kmu-office.ch (mail.kmu-office.ch [IPv6:2a02:418:6a02::a2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0BE1C061749; Mon, 7 Dec 2020 09:53:46 -0800 (PST) Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 6CB545C0054; Mon, 7 Dec 2020 18:53:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1607363623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MkGJj4xRtLjLHi9uk2lHu+eJLiMO4r8tHRe6lcpmSbI=; b=raPdImDDTIiegSJWjc9kp0oB2+0DxMTvr7V45zgBlwAyRvQvZJYeV65YXexfMT6YySjMio MGhyV6XVgfS3gjot5iY7Kan2RfqSx8D5JVuEZYvwkQiluiOdbExVol7zVEQkdAw6hGsPfm IP1eU/sZ3VORqVBeqt08uRn3tapwSQ0= MIME-Version: 1.0 Date: Mon, 07 Dec 2020 18:53:43 +0100 From: Stefan Agner To: Martin Blumenstingl Cc: khilman@baylibre.com, robh+dt@kernel.org, Neil Armstrong , jbrunet@baylibre.com, christianshewitt@gmail.com, jian.hu@amlogic.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] ARM: dts: meson: fix PHY deassert timing requirements In-Reply-To: References: <14754fd95378b78eb9a0a3f8b6bab13f7263c7f1.1606828668.git.stefan@agner.ch> <6bfe17d86ead62c20d236e2ebbc7b7fe3354829d.1606828668.git.stefan@agner.ch> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <1275fb519490b00a079ac832277585f1@agner.ch> X-Sender: stefan@agner.ch Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-12-05 14:04, Martin Blumenstingl wrote: > Hi Stefan, > > On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: >> >> According to the datasheet (Rev. 1.9) the RTL8211F requires at least >> 72ms "for internal circuits settling time" before accessing the PHY >> egisters. On similar boards with the same PHY this fixes an issue where > there's a typo here: it should be "registers" > this is the same for the other four patches also Whoops, will send v3 shortly. > >> Ethernet link would not come up when using ip link set down/up. > I have never experienced that myself but gotten a few reports about this. > thank you very much for coming up with info from the datasheet! > > the following stmmac patch [0] has been added recently which may - or > may not - have any impact also. Thanks for the hint, wasn't aware of that. -- Stefan > >> Fixes: a2c6e82e5341 ("ARM: dts: meson: switch to the generic Ethernet PHY reset bindings") >> Signed-off-by: Stefan Agner > with above typo fixed: > Reviewed-by: Martin Blumenstingl > and also: > Tested-by: Martin Blumenstingl # > on Odroid-C1+ > > > Best regards, > Martin > > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/ethernet/stmicro/stmmac?id=56311a315da7ebc668dbcc2f1c99689cc10796c4