From patchwork Thu Sep 30 15:56:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 12528831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B741DC433F5 for ; Thu, 30 Sep 2021 16:04:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E37B613A9 for ; Thu, 30 Sep 2021 16:04:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7E37B613A9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fris.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UyzoNK5iKTM+XszMEd2SvUmZQWdblaqWkRpg19a9D4Q=; b=YWoBAfT93oHK3Y NOBEw/5OtpKaMhJ1pUWjSYdzBQN+JmxV6XdwglotrSkixRS636wLSH2CIpwZ5tp/9g1v4Rv5LicTM b8C8wZj/Ro+eXB5SXpYry9AmWKBZvNUh26/k/R4x8/b45IrWSEQnT7T4dfjfG0jM5pGaY+m/3T8rY d2A/MjCa9Dcranu1sVc4gV9wS4iCQIhWwOn04e/zdLxdlpRZvY7pTMIFNZyCP1cXCp4bo8CGhJsO4 3KOtnk5x0DqnQ39vhn9ex1zomuuJUWrODlGRSDa0g53OKKZK5vB/iNR7o7nNBXF9nv/uEY3CVkZIr Vwte7BeW6+YEfeGCndrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyVM-00F5yG-9B; Thu, 30 Sep 2021 16:01:52 +0000 Received: from mail.fris.de ([2a01:4f8:c2c:390b::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyQx-00F4AU-96 for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 15:57:20 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C6017BFBD8; Thu, 30 Sep 2021 17:57:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1633017437; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=jyAuLIRMAog5EPrq8Q6DzdCiAqb5jHM/M1xGrD1qs3s=; b=ZCipyBabp37loEmSOEbi58LA/tvlEqQsopYHv9zq5CjGIe4QhOB+XU56FA4FuTV9mElF+P DLSXohDDphGBu79I8Q43y7AxXF6wFaQQQjcfKHuq+uCgMaJnxXXfAnbjQXP4Z0OPxnXGCS Cqs3J7zYUjINrW43y6rSBMKfam4/MJ7/H12SOgorIz1bnOKjTSnazf3LHxUFnizjpu8uZZ qvhWLRHcOgvlDyiUAa8csYE6HvJbphr1871fZs/Yf4NpregKOSJDK1NLID9j7XbN++yEjr aIAes+1fnryTLiZq/qUIRBmVh6l1xypzksUwbufcsh8gXFGMno8HQdpeZ/7eGw== From: Frieder Schrempf To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Frieder Schrempf , Heiko Thiery , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 7/8] arm64: dts: imx8mm-kontron: Fix reset delays for ethernet PHY Date: Thu, 30 Sep 2021 17:56:30 +0200 Message-Id: <20210930155633.2745201-8-frieder@fris.de> In-Reply-To: <20210930155633.2745201-1-frieder@fris.de> References: <20210930155633.2745201-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_085719_521548_5B3D1241 X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frieder Schrempf According to the datasheet the VSC8531 PHY expects a reset pulse of 100 ns and a delay of 15 ms after the reset has been deasserted. Set the matching values in the devicetree. Reported-by: Heiko Thiery Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts index 0e4509287a92..106e13945ae5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts @@ -124,8 +124,8 @@ mdio { ethphy: ethernet-phy@0 { reg = <0>; - reset-assert-us = <100>; - reset-deassert-us = <100>; + reset-assert-us = <1>; + reset-deassert-us = <15000>; reset-gpios = <&gpio4 27 GPIO_ACTIVE_LOW>; }; };