Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2157908iof; Tue, 7 Jun 2022 21:41:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQfKb1/n2pShGnsbU27RS9hBwd5KGCEpi7Yds3HW/GdRIlkajtV+BLONXHMcW0ugGS6I97 X-Received: by 2002:a17:902:b70c:b0:156:16f0:cbfe with SMTP id d12-20020a170902b70c00b0015616f0cbfemr32285239pls.152.1654663286780; Tue, 07 Jun 2022 21:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654663286; cv=none; d=google.com; s=arc-20160816; b=kPcfDQ5wV1twt5MyB9tdtKgAAOF7CfGxstU35zv9mRFYI8kqFAHtsRGwC6fPADi0u2 qAsQIeQN6EFCoqS8ha2oUIltGvHETYaxRG2H4I18uP/JeaHLA33VxMPoif0woPS+VTia QrHISrGJYIU+FqoIPdx1XEyvGv9zovLnVwJA0B2Wr8H0YPTDYqsZecX0HOY9m1IxlJRZ /z429LnIB0J7jicjBd6mdbhvi8JEAfhW8AOfxch7MJr1L+6yy+5kh+DzoKLfhe3wb+Ka EiW/5Q4fGlVsthahJ2SW2Nlrzuk9x2N6zqQUJG3y7nUTtWdKYFduvHx/HwxCPrhkolxm 1/cw== 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=2ZVpwfd5x/ODKVDHuk7sV9Ep0m8l0/7f25Fxi4r5ams=; b=PqU8Cq0O8LuEX5wDveBYF2946hSnq83ev7++R8XtcXKKWBq717nZPAypznyypFg4cR Z0942axfgbNcOH6ogNjbDio1VCZ6o3Dy8WT2jpQhbiZijrf9i4hwVmbUxvLxaqzLESxe 5CtwfHS6x2sq92yiiINVvAgra+SUe+Vcnjq15ZTHovLVWSSm5JMG5cdE+oTi7IgME3Gx t5FXnHF5Z/RavbVpHH9nRemJbS3/R+x5MkB16s19rc8d54Ze9435FLrUqkR442sqSSEb 98DRAx6ENWC2CZdDEs2Q5T+KP4aSHgMiyUHNPQiOz8MPOtZE6DAcv76MyKU5C6Jg2AKR uPVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=08CAwF3i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k4-20020a63ab44000000b003f63a64405bsi29066342pgp.146.2022.06.07.21.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=08CAwF3i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DBC58446A71; Tue, 7 Jun 2022 21:12:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350146AbiFGRvy (ORCPT + 99 others); Tue, 7 Jun 2022 13:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347611AbiFGRf1 (ORCPT ); Tue, 7 Jun 2022 13:35:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 870C315FCD; Tue, 7 Jun 2022 10:30:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AF24760C7C; Tue, 7 Jun 2022 17:30:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF400C385A5; Tue, 7 Jun 2022 17:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623044; bh=HGid1XrBFiuEU2dfBMmkMybhN0uqevvKAEF3rJBDG4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=08CAwF3iT8d5sIeLvMhMm7b/2fJWnE/WsPo4wrMztF6GnLvNY7xAy4fBQuDl1gJ5+ /eKUSMkLYigxGy4PUkjsC9cY2goOJCGGIMO1KwF1+FbCDErPsoAC8sBC/4d6q3JKEi +kIFFG9hwIBll6of2rqApUd+4ZamuLt0szp4rbRg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Vasut , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , linux-stm32@st-md-mailman.stormreply.com, Sasha Levin Subject: [PATCH 5.10 274/452] ARM: dts: stm32: Fix PHY post-reset delay on Avenger96 Date: Tue, 7 Jun 2022 19:02:11 +0200 Message-Id: <20220607164916.715597691@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Vasut [ Upstream commit ef2d90708883f4025a801feb0ba8411a7a4387e1 ] Per KSZ9031RNX PHY datasheet FIGURE 7-5: POWER-UP/POWER-DOWN/RESET TIMING Note 2: After the de-assertion of reset, wait a minimum of 100 μs before starting programming on the MIIM (MDC/MDIO) interface. Add 1ms post-reset delay to guarantee this figure. Fixes: 010ca9fe500bf ("ARM: dts: stm32: Add missing ethernet PHY reset on AV96") Signed-off-by: Marek Vasut Cc: Alexandre Torgue Cc: Patrice Chotard Cc: Patrick Delaunay Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org Signed-off-by: Alexandre Torgue Signed-off-by: Sasha Levin --- arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi index 944d38b85eef..f3e0c790a4b1 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi @@ -141,6 +141,7 @@ compatible = "snps,dwmac-mdio"; reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>; reset-delay-us = <1000>; + reset-post-delay-us = <1000>; phy0: ethernet-phy@7 { reg = <7>; -- 2.35.1