Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9492572pxu; Mon, 28 Dec 2020 18:35:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvGD3fN1cfT5e0Cl48SNRtSgYoMMbVsICBTM9ThvcfQboToG1NW3TaDNfHcGS53pu5We/k X-Received: by 2002:a17:907:3fa3:: with SMTP id hr35mr44038837ejc.71.1609209325845; Mon, 28 Dec 2020 18:35:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609209325; cv=none; d=google.com; s=arc-20160816; b=fEh/zk8PgbBff6p3Lnr4rVlW7+yhuQJlk6zDY5Z7VFIqbX2SjwYEVEEWAtMLFlA+oD R+9jIUMiU2iuTOsxhrSKf7ur88QG7SbrlVMME7hdJj65B6JfkUk3E0eBx66S1mOTqnqD Jl6dUH1vJ5ON337HD53Z/vPKrRF7VtmIEKKT4u1q+5ZzCI7BpeTT+syPLnNnc8GZ8S9w cikYmniZQVnSYLnmJtllK7PO2/xI6qDbrOLudzXqnktZnPAzGtZCrC8UEfybJd9aJ/XG bC0osK5B0iLY+WWlxWMypTFkXiziWL7dvHPgxv+2BQkizOK+AY8s48aavbuztAdmNGSz mu+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KlWxceYYrZ50sRBd1XVaKAc1EbxTj25QsTTiVgtTp0o=; b=lLOFaS3qmm7U09mbGhAJ6qsSdBH9ApxVGhZbyuPul7tUW3DsgyKk1DCF/vvPnkhb1S RkT+TwiPNmgKkNuK3EFl/AnXvzfB5NLJ8jmWdCUqXVX7uRhqWwa7X5rYJsNI4ipBYL5G tX3HAryPHd+TcsEyX99zAx/dJfwqdkm3rcw9yotPWWeQFVdvbbHveaGCBTXuboD7SVzV 3qDI2dRJ6teaXcPpLxHTALQ1ZgTJWos74NP3BoL48KIJZUC2HXppQ6bGHYfu8Y+E1xpA 4NzuftqO8iN5H4Mx7DOwUE0E1Fd1XWy55tOPlvtNvTNdermXO2CXOgiFC7TZlSXTe3hQ e6Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IxFhZt+1; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq1si18498357ejc.530.2020.12.28.18.35.04; Mon, 28 Dec 2020 18:35:25 -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=@linuxfoundation.org header.s=korg header.b=IxFhZt+1; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441289AbgL1OQ4 (ORCPT + 99 others); Mon, 28 Dec 2020 09:16:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:51268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441065AbgL1OQQ (ORCPT ); Mon, 28 Dec 2020 09:16:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 26782207B2; Mon, 28 Dec 2020 14:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164935; bh=wNl2biSASR/xt8leC0Ai5ISmCRW6q6Q7X4k1XGZ7NIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IxFhZt+1lKKNsyjo8W3ROBtc04bssxUumvX+vJufcpGxZE5D2eV76x7PH4/IDkWE5 dLc8OiOBC7l3L8E6R78H/NlsJg8boQ7hWBbVC1sp371dmEwfIsNG9kchgc6cvBoT73 IisfoQWWUaNCp/henmVwnzGYrKQiiwHmVLZNwYcM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Martin Blumenstingl , Stefan Agner , Kevin Hilman , Sasha Levin Subject: [PATCH 5.10 352/717] ARM: dts: meson: fix PHY deassert timing requirements Date: Mon, 28 Dec 2020 13:45:50 +0100 Message-Id: <20201228125037.890573394@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Agner [ Upstream commit 656ab1bdcd2b755dc161a9774201100d5bf74b8d ] According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY registers. On similar boards with the same PHY this fixes an issue where Ethernet link would not come up when using ip link set down/up. Fixes: a2c6e82e5341 ("ARM: dts: meson: switch to the generic Ethernet PHY reset bindings") Reviewed-by: Martin Blumenstingl Tested-by: Martin Blumenstingl # on Odroid-C1+ Signed-off-by: Stefan Agner Signed-off-by: Kevin Hilman Link: https://lore.kernel.org/r/ff78772b306411e145769c46d4090554344db41e.1607363522.git.stefan@agner.ch Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson8b-odroidc1.dts | 2 +- arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 0c26467de4d03..5963566dbcc9d 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -224,7 +224,7 @@ reg = <0>; reset-assert-us = <10000>; - reset-deassert-us = <30000>; + reset-deassert-us = <80000>; reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; interrupt-parent = <&gpio_intc>; diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index cc498191ddd1d..8f4eb1ed45816 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -81,7 +81,7 @@ reg = <0>; reset-assert-us = <10000>; - reset-deassert-us = <30000>; + reset-deassert-us = <80000>; reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; }; }; -- 2.27.0