Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1297596pxu; Sat, 5 Dec 2020 10:34:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTUjQkrLiK6o2xCEvPBnmAcVTKCV03TKRd3JUFp4m3UsbCQgciyp99c1jRCz1DBdN6iS/r X-Received: by 2002:a17:906:c1c6:: with SMTP id bw6mr12735888ejb.199.1607193268201; Sat, 05 Dec 2020 10:34:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193268; cv=none; d=google.com; s=arc-20160816; b=z/Ha/iIz6zLuRMF72uozdhFrj2CvRXRTLWeICR7rdZvOyMa5ma0m9jH0AnTxpQizHb F3K5C5KXWUTqdLCN2BSCUwo1vw8Y5GKMbJYFn9yVDfg+AgfQi0MUlPhUPZD9/co+ar+5 wF6DlD44guVWU52epXEif0nsFtHBFBjdOp6cmgiHcz67Nrqp2iH8AOGmkhZOujVGUtDt X5zHYcusYnxpLlZbJ9ZSqGtzLvW6zqCOPvgU2evvZYNBSjqRfGYmn7z5SNFrE8Ew7epw 0sW2ZLZT6vyBdzi/SLI4+4Tm8A28x6YYitNiW9M+w0dunHAwvk+XjqWolTlt/8Nu9v8d o2rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C0+StnkqPn0FaAVFCZ/bxC2Ra36MF1dYPlwQRpPH+bg=; b=ufiqjCc/3L57sXDxPBbg1cqMC/fl8W8fFPYRVTGXSoH9//S03ofMZfFuOAnDeoFjRz 25lZFp9/ZuSXK4+v17hOWv4dL0KoNTUjKj4lLB+S/Y62I7/wvKuRQRShTqEBNOEB5KVO B/EiU1OY/egvciTsiavmHwOUB18wvmR/JswdqxaULj8KLHXMS9NRBj5aU7DmuyB2WAGH 37hpNT2ygrmTQQDgzKkYYdFFO4nERyTFgFJxYDeGcCaQRAL7Yhpzi9DMx0Tzy2HLAPzF mJyE//AgB+49rPnCIwiUkBeZFGrzzT8i/emYZLo7LlJJtaeDHbiNYhlu6U2G3XA+rXsC 5SgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=CLthCZ+p; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si3746350ejc.513.2020.12.05.10.34.05; Sat, 05 Dec 2020 10:34:28 -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=@googlemail.com header.s=20161025 header.b=CLthCZ+p; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728527AbgLESYK (ORCPT + 99 others); Sat, 5 Dec 2020 13:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgLESYE (ORCPT ); Sat, 5 Dec 2020 13:24:04 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE9CAC094264; Sat, 5 Dec 2020 05:04:25 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id v22so8745126edt.9; Sat, 05 Dec 2020 05:04:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C0+StnkqPn0FaAVFCZ/bxC2Ra36MF1dYPlwQRpPH+bg=; b=CLthCZ+pBvNWkqEvKMCfFA5VvP7eqiRCZ/KPvbXYyk5Z8sqHZ1gvoybUnysll0JMkE upGyKe5ML91Y9fIgQliof/bk6nwo2H3Z8Z6B8iI2i0LhENGog3W6IJ0mxoAJMHEYOFWx 8XNgrTTIPebZD8RRBeh4dRvd/+YOaHzXRt3Q5OdpZ1+4rri/XegtkeDjZG04BSk0TMJ8 kPOtfYiibQxG5E3M2bI6UV4v+p5StlEWUxr9QEquuX0rw05znX+u7pIICqrLIrqNLJIC +P2rbBV4WEWEFE0fBrq0/QYPU2qkooWR5dJptaYoC1W4jhoTwvpOiluteQ02s/xBtz/s tOYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C0+StnkqPn0FaAVFCZ/bxC2Ra36MF1dYPlwQRpPH+bg=; b=YvMKaYAeTN1X0Wgy5g4+HGR/1htAUXcGjhuI8kSgrBok+KXVd1Bap6rGkJiAxwA7L4 FSt5AxyvmBss9dV4mfxxmPoyaOqiFVHL7i6nozZeESUsAZMsWEsaTrwHBNZZUTw9OXt9 VPY1pX2LoED4IRSa8N1N2iAaEzDnwlk4ooguIqRuBfZMNZJfNuAbAEcrEFiJ+G1nDmAk np/6x2zqr5onw3Ia3sxsFsY53lYJlsMDT9zBSsc7q/t6LP6Ep3WxLAUPjpn4toA4S/ZM inGgiDU2eyzm7/cP1WTyxJXuNuMGA+Nf4Pcz1KhN/IHX1ndI7VUjr5kTPUq8cnZQrq2F 6Lcg== X-Gm-Message-State: AOAM533HzY9QbFvuK0We6AMcid7A3+WbK3KXiinSueW2DtDUvcYKHRq4 qFzm6X/iyy+6T75YgDVkwsoG9Wx76aB9TieGxPo= X-Received: by 2002:aa7:cdc3:: with SMTP id h3mr5747824edw.52.1607173464726; Sat, 05 Dec 2020 05:04:24 -0800 (PST) MIME-Version: 1.0 References: <14754fd95378b78eb9a0a3f8b6bab13f7263c7f1.1606828668.git.stefan@agner.ch> <6bfe17d86ead62c20d236e2ebbc7b7fe3354829d.1606828668.git.stefan@agner.ch> In-Reply-To: <6bfe17d86ead62c20d236e2ebbc7b7fe3354829d.1606828668.git.stefan@agner.ch> From: Martin Blumenstingl Date: Sat, 5 Dec 2020 14:04:13 +0100 Message-ID: Subject: Re: [PATCH v2 3/5] ARM: dts: meson: fix PHY deassert timing requirements To: Stefan Agner 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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. > 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