Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp630273rwl; Wed, 5 Apr 2023 05:49:45 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtVscR8sxsBiz8wzY7d6g856SL0PZf+bWNf6wrXhSOzJ23f/RqjehOrNPIPSxP3mKgqeAQ X-Received: by 2002:a17:90b:1642:b0:23d:3549:82b7 with SMTP id il2-20020a17090b164200b0023d354982b7mr6296312pjb.46.1680698985222; Wed, 05 Apr 2023 05:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680698985; cv=none; d=google.com; s=arc-20160816; b=g4lgJ9+knrO7CJBoUenp5T+pI91Q1WCmA1HvZvJjafTeIeo/guBaW4bOOW2Ai0od1Y TYLCVdQuNKH2aTP5iZemEpRjcpIQKqSMzxtcWp1III3xfPcHTUBj5tSYsH5hOTuSPRWU fJ2kRXbxBbAI2kIjUReDMQ+EaddyhtlmH2wRIf6/V8cQpYQ2i+k9UOaMC5FVqvlVvoSF xh0Lop4CzviLuz3goTJOf9lhqBzYxYehhSySyw6o2zGnMClc9t1NxoZU7QDS+kOL3Eai TIzzR7ZGn+EMRfeWyvoqW0AGBm/Qw/R2n4DcQ5V6zmpqgJTTjsHSmtr0K6/kZRehVLee scxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M1eZQBYXHJoYD28hahbP/O59xtUbJrmnvjbTYLZDFJE=; b=lQa9wb+f3KXHn7uX2v8RONnzkLAsHPjTq0F/bG9Ew0eRu7vNIfreLyKBg4gkFftRPI KharghyoIh/2ElfLZbJ06f6D+eHShY6Z6ZV/YjwGhhv5qXIELz4PzuSUzqBNeRpJ6Xtf ZzZqFMgeCyFuVj6NqPLCpeu5ezIU2+qqDtmlxY3Wy+B3lfoL6CDA0TtSopzDFY7CihT0 ZeotGsGGBLR5k/f5LZ83ukNUXfwMq5jqoj5CkBUbi1nSlUHfy5KdDDbksB908Ve0IW/F L3+OomQmUSjLUGG8hsjIS4I3IR+/QIPgQdTS5KWoWjhVnujjE97i9lHWbn2cvegVCATx QZPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="m6h/qVPN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu5-20020a17090b1b0500b0023369af18e2si1324001pjb.72.2023.04.05.05.49.31; Wed, 05 Apr 2023 05:49:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="m6h/qVPN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237448AbjDEMkQ (ORCPT + 99 others); Wed, 5 Apr 2023 08:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232286AbjDEMkP (ORCPT ); Wed, 5 Apr 2023 08:40:15 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 913E51FD2; Wed, 5 Apr 2023 05:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=M1eZQBYXHJoYD28hahbP/O59xtUbJrmnvjbTYLZDFJE=; b=m6h/qVPN/sy5+Zg5Gv9NvrrEnv syHbR82vsXO1XMMnt6KhuK2qbaqA88LI2AEIdaZ5cGce0QN1UwtLHmN1BIYrOI2wbETdXaectyPeM sSaiokP/xqpECjJ4na7CjzdioiCmUy6j8fOKcFkffgkLPs+eABV1v2S4l8TZQt5GNKps=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pk2Qc-009WKB-1U; Wed, 05 Apr 2023 14:39:54 +0200 Date: Wed, 5 Apr 2023 14:39:54 +0200 From: Andrew Lunn To: Marco Felsch Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Fainelli , Broadcom internal kernel review list , Richard Cochran , Radu Pirea , Shyam Sundar S K , Yisen Zhuang , Salil Mehta , Jassi Brar , Ilias Apalodimas , Iyappan Subramanian , Keyur Chudgar , Quan Nguyen , "Rafael J. Wysocki" , Len Brown , Rob Herring , Frank Rowand , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 12/12] net: phy: add default gpio assert/deassert delay Message-ID: <7fe2f75d-9f13-42dd-a807-02eddf2c2d56@lunn.ch> References: <20230405-net-next-topic-net-phy-reset-v1-0-7e5329f08002@pengutronix.de> <20230405-net-next-topic-net-phy-reset-v1-12-7e5329f08002@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230405-net-next-topic-net-phy-reset-v1-12-7e5329f08002@pengutronix.de> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 On Wed, Apr 05, 2023 at 11:27:03AM +0200, Marco Felsch wrote: > There are phy's not mention any assert/deassert delay within their > datasheets but the real world showed that this is not true. They need at > least a few us to be accessible and to readout the register values. So > add a sane default value of 1000us for both assert and deassert to fix > this in a global matter. > > Signed-off-by: Marco Felsch Reviewed-by: Andrew Lunn Andrew