Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9114174pxu; Mon, 28 Dec 2020 07:01:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5H5QbZSZHsUqShTo0ZtBkXOp26kAjTPBRQFlasN9NoqBQS6mY4lYEB2AulFjIVw6HOu3p X-Received: by 2002:a17:906:73d8:: with SMTP id n24mr41330035ejl.14.1609167687183; Mon, 28 Dec 2020 07:01:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609167687; cv=none; d=google.com; s=arc-20160816; b=daAdpHCGBKke1E83MeAzZ+7Ivb+xrcnAzP8Im5dnSUoFy6B8Km6cgpw9sjXBQFUDSn 8+bGRzNqocuvtSCTlee4bN2qh8eH3ppXQ5/u6HkNZZ3mqOZWg8x/DInTTl166bIiHVol vPf8JU/8fdi8nk7QsWotBIyo69U1Oe9VzAiZv1Ouvz0Ijauo96tAoJBD8HlH0Br3/opZ tiR3S1P8Tau+aqClSqRbjfRasVLQqs5YSNew+6uQjUb3uYMBPL55U1Q4SSTKhfZPFpcv xtnNPaQyGdJLMccgBvhwDi1NCLDqpx0Ss8CrX/66eV0xvmQdxC0kVFXFmeEms2FMsYeS i0GA== 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=0w3pgBksT2jHrNDtJCMAyEY3qex/tFq10e9xZbUY+z4=; b=wARojjp9wkh1DvUYxqJNUioDMOK1IW2Wa3tYu/K1vGfUItDzYoD6pb70ORk9oXmDSz Qil8mUKWmzMknm08K+p4B0kUkrItdXoJNn7uJ5Kqi3AUpATfJZColPwMb7BciDD3YM0P UPKf6zyNpM/kfR0GLnl+3Aa/3eigYz/cp8xHaBNaOzDiobMcHjxlRiplSiZrbsvlxEBJ htv31odgp6ORyf9rjzxemsemfP8KW/a6fV6bYE9IoskL7R1RhGkAYnRDwOF0to0iEFTf I3TQPobloDOpLMn9ZvmXowe/zSmZ2F9XTq5TT5kEXqxbP98pdZcmjWbyh3C69BTBIpTC It0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=E5NfZbNi; 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 a1si19056926ejd.577.2020.12.28.07.01.04; Mon, 28 Dec 2020 07:01:27 -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=E5NfZbNi; 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 S2504237AbgL1O5O (ORCPT + 99 others); Mon, 28 Dec 2020 09:57:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:51530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391762AbgL1OQV (ORCPT ); Mon, 28 Dec 2020 09:16:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C1771205CB; Mon, 28 Dec 2020 14:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164941; bh=t2KiuKrSO9+O6HtV6of99uW/qq+i5Z+wUiYtJ3tFonc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E5NfZbNigH1FKd6VN1lktSStoA667IwrL0PgLhRzhygiC8a80FQiSN3NjWBJDbq/x 6Q5BWVzFC9KRBd1lw6FWA/wWnnCvXB2GcCe6yhfKY9NYP6ztw1IiOtb6f72pxrZcWM svNQ7XAWLGZaqlOmyBtucJMIMdidwp5xcf+DlzO0= 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 354/717] arm64: dts: meson: g12b: w400: fix PHY deassert timing requirements Date: Mon, 28 Dec 2020 13:45:52 +0100 Message-Id: <20201228125037.979499850@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 9e454e37dc7c0ee9e108d70b983e7a71332aedff ] 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 Ethernet link would not come up when using ip link set down/up. Fixes: 2cd2310fca4c ("arm64: dts: meson-g12b-ugoos-am6: add initial device-tree") Reviewed-by: Martin Blumenstingl Signed-off-by: Stefan Agner Signed-off-by: Kevin Hilman Link: https://lore.kernel.org/r/46298e66572784c44f873f1b71cc4ab3d8fc5aa6.1607363522.git.stefan@agner.ch Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi index 2802ddbb83ac7..feb0885047400 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi @@ -264,7 +264,7 @@ max-speed = <1000>; reset-assert-us = <10000>; - reset-deassert-us = <30000>; + reset-deassert-us = <80000>; reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; interrupt-parent = <&gpio_intc>; -- 2.27.0