From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59D5AC433E1 for ; Tue, 28 Jul 2020 18:41:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 42EF920786 for ; Tue, 28 Jul 2020 18:41:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732410AbgG1Slp (ORCPT ); Tue, 28 Jul 2020 14:41:45 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:60420 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729448AbgG1Slp (ORCPT ); Tue, 28 Jul 2020 14:41:45 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1k0UXm-007K23-Mq; Tue, 28 Jul 2020 20:41:42 +0200 Date: Tue, 28 Jul 2020 20:41:42 +0200 From: Andrew Lunn To: Bruno Thomsen Cc: netdev , Fabio Estevam , Florian Fainelli , Russell King - ARM Linux , Heiner Kallweit , Lars Alex Pedersen , Bruno Thomsen Subject: Re: [PATCH 1/2] net: mdiobus: reset deassert delay Message-ID: <20200728184142.GA1745134@lunn.ch> References: <20200728090203.17313-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200728090203.17313-1-bruno.thomsen@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Jul 28, 2020 at 11:02:02AM +0200, Bruno Thomsen wrote: > The current reset logic only has a delay during assert. > This reuses the delay value as deassert delay to ensure > PHYs are ready for commands. Delays are typically needed > when external hardware slows down reset release with a > RC network. This solution does not need any new device > tree bindings. > It also improves handling of long delays (>20ms) by using > the generic fsleep() for selecting appropriate delay > function. > > Signed-off-by: Bruno Thomsen Hi Bruno In netdev, it is normal to include a [patch 0/2] for a patchset which explains the big picture. Also, please use [patch net-next ..] to indicate this is for the net-next tree. If you think these are fixes for stable, please base them on net, and use [patch net ..], and include Fixes: tags. Andrew