Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2193853iof; Tue, 7 Jun 2022 22:48:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHnXFVbdh2aQSsoOq5Xd7W8vCCQZuuowL5OT8s7qrUbcGV3hdTYFMzRl0MxQA2YLlvultr X-Received: by 2002:a17:903:3296:b0:164:13db:509 with SMTP id jh22-20020a170903329600b0016413db0509mr32394747plb.128.1654667283581; Tue, 07 Jun 2022 22:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667283; cv=none; d=google.com; s=arc-20160816; b=aYOvek8afTO1Ca/SUwlpY+3pkA1c8RdQBtIIf1l8T1sn9x7UaDxuR7dDrdigJynk+g WPrt93YwrXxwOP9isppSyfF2c62apHbxMRETNI+PeTeITjdxpsHfKNAM8YxJ7XoK1TIQ eVF9uq8pZkzJDpN4LOCAP+Wzhar9P1eU4k2uSaY920LUoUYAAh/RvHiamP2fF4QFdQ3W Sc41ElVtqWs7pcQ+ClGqTJNlA6aDRjAsQmOk7dgZKc0ydfi4sB5QeTvHGZZ5sO+CFRmv 5YMPA5k0lxV5714NWAoz8OZkJ8tz8ulBnGTuFNL7vNyHgR/KkuzkDdRCKrHGBcBWzvrI Bi1g== 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=pZ1CY/cFmws16GF+HAQSXg0zO/gJg2QtKNOn9pwzKQk=; b=qJN6mromyb15j9SXA9TZ5958ZPgDm6RfKA7B6GAdYk/2uPqZysZyD2nCATjHcW3ZEd 4cfNygn3vyV8dD2ltHwkGnj5gaYDbm+I2aEpblrYIaIRpTfDsrj4/g+oPXsCZIS0G+dK 2Q6JC9nOxwDqLC8FnZZsS2dcL7xEYCZj0VAFr1I7LZZzu9mJIKvwrRHdfN+3vLuj7BN9 R9g9DwyMTwyF1DfzlVZT+8WWp43wAAH7c0J25FIX4IhvuEc0zJDPlEoNVcxooolnBpQF Rrp/ni+gkxe2l+gJ+f2tRex1b6heGuZ6H5QDfEQE5CiwxF9CW9dkT06U3EX2rPGVtILz +FhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pmTdBiNp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id v22-20020a636116000000b003fcffa687efsi22994155pgb.242.2022.06.07.22.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:48:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pmTdBiNp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7B53415887; Tue, 7 Jun 2022 22:14:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388842AbiFHAdA (ORCPT + 99 others); Tue, 7 Jun 2022 20:33:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383303AbiFGVxC (ORCPT ); Tue, 7 Jun 2022 17:53:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6F395F5A; Tue, 7 Jun 2022 12:11:17 -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 ams.source.kernel.org (Postfix) with ESMTPS id 59D10B82182; Tue, 7 Jun 2022 19:11:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF7BDC385A5; Tue, 7 Jun 2022 19:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629075; bh=F5vc2z5PopVkJ8A8MZC70EPgQB/h1zcxegZ4uIkJRU4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pmTdBiNpeqPYixelxqRPqaUQTFP0fKf+8Nb8tJxfhY6DvjHj7vKEj2hrnDc8vvH2u O23J6JweUkYRCWcqJOe84c4CZXSkQqxqRzLaUxbZuSs+LZtxZ99Ckjv8bAGsukuwfV +1sJyaEa2Xz4d0/x3G2dxipQ5KzYTXViQaOxLMr8= 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.18 561/879] ARM: dts: stm32: Fix PHY post-reset delay on Avenger96 Date: Tue, 7 Jun 2022 19:01:19 +0200 Message-Id: <20220607165019.146590485@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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 61e17f44ce81..76c54b006d87 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