Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3397447iob; Sun, 1 May 2022 16:26:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7e6bAp2yjCxI1bjZM9DsX6YPywJgMej1YYRTUZU4pLb5UTY5Ogo9dhanmHausFjEeD05t X-Received: by 2002:a05:6512:39c1:b0:472:556e:b297 with SMTP id k1-20020a05651239c100b00472556eb297mr7360485lfu.564.1651447593311; Sun, 01 May 2022 16:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651447593; cv=none; d=google.com; s=arc-20160816; b=dwS1rxcSol6C3VrwvUD6ZLPpGHeJrxk07IHPAC2+ODfzQvlrrs81ChGYjaZRFxjmOh G48mWwtEmZOTe3Xl+ZL+ZPKee2Py65upkCK2pmKJxtR60yTu/qc8Rea9yEhVlfvuZwc0 XSqvD7VfR3jThZYjOzstGcNqw4ycpNfvAzsiBlZL6T2eIfJLB+3HthMzKYtHg8JsbRoj SqH7xYqWjy+6t3M+djJmdWFdwaA+yWkoCO3/5uaYO3Z3268kqZNJhexjgW6MFv20KdG4 P9zgXUrwEP1Yr43M5TNpHKzYmFK/yW3KT+Bk2s8YTtVu5VdNKP3u7seXTV9mY0hzpql5 QrvA== 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=am+pp1n2tR7U1f2aW4eLg9zcq/bG7wx/3AAqhSrs4UI=; b=hmVKIZ+kcFwELg2vT9sP7R3V4e7bC1n6O0ntRUKIqU17OiaZZ8pEShwrYjs6aubm/a QT7okOeH+RTcPiZogTy44YMrutdlwKLQQClRRm24b/mdGjh0NLWBnugN2ZIhepm3zcjp eWtMyhp6dZPPDC5GvZGaXWVo/9qxl/W79FtF3s7R3sq+66fvkqXUHSpTTIXpD2pDmijP op2m/jIXnP03SC4ynDNb8ZI7ntYNYeE0820ZlH38RDGA0HFaShr3SWbDktMsVJCixm+q zi/j3eG1VggkFwI9dAAaVXcZQ+hy8A4oh1ywpAVl1ACWX1ywMnyw1q0pLm0b2DIcLXLR Vnww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="U72M/kfh"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a19ca57000000b0047200614ba8si11633644lfj.347.2022.05.01.16.26.04; Sun, 01 May 2022 16:26:33 -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="U72M/kfh"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345922AbiD2BLd (ORCPT + 99 others); Thu, 28 Apr 2022 21:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343714AbiD2BLc (ORCPT ); Thu, 28 Apr 2022 21:11:32 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B44B4BBB0; Thu, 28 Apr 2022 18:08:16 -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=am+pp1n2tR7U1f2aW4eLg9zcq/bG7wx/3AAqhSrs4UI=; b=U72M/kfhKhhGo/IL+Y5OjkRKA1 wkapVPbgcTecThgS/KDDY9bB+KPbjP7BSn1GStt7xJ0K/BLVAcptFzXZtJkT33YyqWsR1/ACKZGA5 bwmfrPSa5yECjrgSYsjXjenJwDslEaWPapNUCgJGYPA02GGIKEVfOaEmgHPEBmigGvps=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nkF7C-000P1c-F2; Fri, 29 Apr 2022 03:08:10 +0200 Date: Fri, 29 Apr 2022 03:08:10 +0200 From: Andrew Lunn To: Radhey Shyam Pandey Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, michal.simek@xilinx.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, git@xilinx.com, Shravya Kumbham Subject: Re: [PATCH 1/2] net: emaclite: Don't advertise 1000BASE-T and do auto negotiation Message-ID: References: <1651163278-12701-1-git-send-email-radhey.shyam.pandey@xilinx.com> <1651163278-12701-2-git-send-email-radhey.shyam.pandey@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651163278-12701-2-git-send-email-radhey.shyam.pandey@xilinx.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 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 On Thu, Apr 28, 2022 at 09:57:57PM +0530, Radhey Shyam Pandey wrote: > From: Shravya Kumbham > > In xemaclite_open() function we are setting the max speed of > emaclite to 100Mb using phy_set_max_speed() function so, > there is no need to write the advertising registers to stop > giga-bit speed and the phy_start() function starts the > auto-negotiation so, there is no need to handle it separately > using advertising registers. Remove the phy_read and phy_write > of advertising registers in xemaclite_open() function. > > Signed-off-by: Shravya Kumbham > Signed-off-by: Radhey Shyam Pandey Reviewed-by: Andrew Lunn Andrew