Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5665044rwd; Wed, 24 May 2023 05:18:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kXjsYd38UKJbJPSECVVBhkiePQPgEg3dtCNTDSiufyNsnztXUdBHcNmJ/iq2rmgjcS0Dh X-Received: by 2002:a17:90b:4d91:b0:255:7d50:c1aa with SMTP id oj17-20020a17090b4d9100b002557d50c1aamr8555464pjb.44.1684930680663; Wed, 24 May 2023 05:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684930680; cv=none; d=google.com; s=arc-20160816; b=if4vbM7vv5tdZazIWEQna1ollVIppZPo99IsM+P1fIBOd8UJPbVrIyqZaWHYVY7AKj WFsb+XBC1efXtx5EYMcYs29d+N6s7uNL2Q5hUjRLrBhgm7hqHJH1Kd/TseavdEee3LPC xqeHQVMePqTdCvgkzafYXNarIOD6E2toSKy6kxYxovP3oNWm+3s3a+K0d7HX2x1oVJqT JFEG5EjC7DWidt2J+abT/i01an19qpYBKTZlX5yOjbI+wxKuHLYqjpXAsBaeIrPgoe8K i/h9/TGP56nKB36COU6425RIaJszU57xSc3DoKIVLGnAqBAnxjtJDo5T9LdZRscbXpne sI4w== 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=QS4dRc2ejXzZCq6ibsWwYoY8UB/tpnmN3LUTUIuEaZY=; b=m0lBG4MBjjRNTjMl8EFbN/teqlm/N23ga4xpS7VPgeuDVrj2pGPAx893xd5A7pf4Za B9dR+MX7vuopWQh9jijy499KyyrOR9U89GL/IpLIwSncwpKaVTXmWVfEH6m95g4jGilS Cm1ErDHhPTJdg8p2KWztMCg/9heLZHtGns+DdzY+Amp4IDpOR05pKGZ9AymrBNuYQmQP 2qeVHJlPiqn5uHg5U6GBL8TdIhz5OBl/wGC80+LXtcz0TWmrKi4U42Wm8J2w5ME+j+YN XxS09MjMN1NnzOcvWkw+piCvcYl6pY1sZJrZlF+UVOtjLfWjPDq5S/lYsnl0Z/4hepHM ZYbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=YUehNb+C; 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 p8-20020a17090a284800b0025343d81e98si1189999pjf.177.2023.05.24.05.17.45; Wed, 24 May 2023 05:18:00 -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=YUehNb+C; 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 S232745AbjEXMEB (ORCPT + 99 others); Wed, 24 May 2023 08:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbjEXMD7 (ORCPT ); Wed, 24 May 2023 08:03:59 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B54189D; Wed, 24 May 2023 05:03:53 -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=QS4dRc2ejXzZCq6ibsWwYoY8UB/tpnmN3LUTUIuEaZY=; b=YUehNb+CS4U7sUnaAmcB1oF8j5 HqVRuD3aD1Tb2L/c8bXndKfhqmMvU6lhn0FzTpyB0nXZ+UnwSmKBt6n8ly2/giEMiVglIA6khaZyz 8ewSw8jR+cCaiSz1bQTElF4IrfDUF1IueAvfrlYK2M+fFzvddKuUC3wWfSLDtbEb85FA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q1nDS-00Dme2-Qf; Wed, 24 May 2023 14:03:42 +0200 Date: Wed, 24 May 2023 14:03:42 +0200 From: Andrew Lunn To: Parthiban.Veerasooran@microchip.com Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ramon.nordin.rodriguez@ferroamp.se, Horatiu.Vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [PATCH net-next v2 4/6] net: phy: microchip_t1s: fix reset complete status handling Message-ID: References: <20230522113331.36872-1-Parthiban.Veerasooran@microchip.com> <20230522113331.36872-5-Parthiban.Veerasooran@microchip.com> <2523bd58-2b2c-723f-6261-aa44ca92e00a@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2523bd58-2b2c-723f-6261-aa44ca92e00a@microchip.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 > As per the datasheet DS-LAN8670-1-2-60001573C.pdf, during the Power ON > Reset(POR)/Hard Reset/Soft Reset, the Reset Complete status bit in the > STS2 register to be checked before proceeding for the initial register _has_ to be checked before proceeding _to_ the initial > configuration. Reading STS2 register will also clear the Reset Complete > interrupt which is non-maskable. Otherwise, this is O.K. Andrew