Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1860186pxb; Wed, 9 Feb 2022 06:08:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZhm7pk/b2+gWe3YabPRR/CJVodII/rcwxImw81BWeEzp/0rSswszg2S0h8K1b9nYIRoAx X-Received: by 2002:a05:6a00:1693:: with SMTP id k19mr2540474pfc.71.1644415706257; Wed, 09 Feb 2022 06:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644415706; cv=none; d=google.com; s=arc-20160816; b=PKuaRP/N/kH3qk2NFQo/vGHKq8QQnxtDL6jbzmyLSspQf8Q2jhylH6g/EbyOb2p6SX XpC/drTVC3pl9SEIk7CvhwI616oQ5fWFWQgTVh4xeAyL9W8sjAVH7/UbP02+0bdgs4vO yqzHvWcA52MPjts5jt9NMj5Kwssntxz2jXSTertGHuKXEun5qeRTaCZ7QpK2pKSoh943 C2wCZ5FmJm1R47Cd5AZFWo+nfrmvAvX+kftgh+2qkTx+Ha4XYM9c+OtBMZxKiNuat4D5 fKlW4IIFJkSmFP2Rk3LSsSwISh19q2c39j/T/7j0PFNyVs+uk6z2jXMiWlXflv2Vx3tJ iw3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+/JyyE+URKj87BO7QT8MnRUrWcrYgGPbIYYPz/QVNhY=; b=zXX/U5GSg+2dz5USbO7EiSj9m+howOQZlc5j3myq08faAfr9Z+rxiH61i1oJO8nHp5 2d/39v7xTzOTMFesw97FavfVdJZbf5HBsfu1PB2J0XTliFOEB/ip1kYx3cD96f/ClkQC UmmnwHVY7iqn0Ku38igifzmwBqDowjvM30G1SJrOSQi227j+P9LoYWIWYW5MbSFb0d/4 fUtc/3IEOO1qvo4lOPDu6w5gPIc2iNioq68CLVTMY1Vth4TsFaL36mfyaCQPTq51b8Oc q8HA0vxkotakWTU0UXjgiKOvGTy9M+kLlTT5DlbXg2CzfbuSac6QLwb1K3/0jrm7FW9u f6mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=N4nxQL4k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l5si18858927plh.261.2022.02.09.06.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 06:08:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=N4nxQL4k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 90EAAE0576F0; Wed, 9 Feb 2022 02:44:25 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352015AbiBHP6A (ORCPT + 99 others); Tue, 8 Feb 2022 10:58:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232350AbiBHP57 (ORCPT ); Tue, 8 Feb 2022 10:57:59 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F2BCC061578; Tue, 8 Feb 2022 07:57:59 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id k17so14221320plk.0; Tue, 08 Feb 2022 07:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+/JyyE+URKj87BO7QT8MnRUrWcrYgGPbIYYPz/QVNhY=; b=N4nxQL4kLDKcA34UlvpL/6UjYKpg3lUPka1TZ+URuphai7tRxpXxJHmboJhzQS5Z2U OyHRdBdHWRSvLkKIxDS88p5VRjGX1ptwPN2YO897RK+jnj1YzdoQZxHE2gm8I3q2lC+a 4fgaogNHIynEJ9zZk2N5IF4bA1WbZfaCderIMZN4QpWmmYwT8Ds249312Mz47ovII+p9 yd0UXpMD7Uf3gwcbiyU82JNQTegW/vw3DvNasO4x9OvqarF0zfvWCp5AoUpfhQCojhww uQif3zXay9ca27TjK+cN69mfcgt0RZpbyAkaEqLkMXXjca9FJJJ1NTubsA2yc04r9WIw CVQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+/JyyE+URKj87BO7QT8MnRUrWcrYgGPbIYYPz/QVNhY=; b=qx83yGREVb7Jh2tzCLUvDDWup6KPBYHpfAsqIhPHHp+D5hiCKT+DgAeQgNheNTaYXj 3aB/+UBUXymJQsZKyeupqzML8vIk4JfkkqIc1Xqv7WTOjCdD8vDdlQgNc0bAv2Y+Q6KV D6xxtsjMdQoRVMfDyYmbdi1lv0HPP9Vejuh+8YkYfD80+Kf/2b7ptRkOAygYkNz9i6Bg TpFBy7zVGxjADzeOXY6zs5IBMXwSSeVOYK2uD53qtGt2d71y+90jolnt5+7tRNFqHxrA TY2CAO6YxFWOHFX/dlDLizpm/2Pwk/6AYZ5us4VUXPnqcLtiRY+EJWdsi4QVi7lIzFMw CF+w== X-Gm-Message-State: AOAM531ZnYUFZG6PYDR2mqYPEYFPiAHLCekYbduf6B502hMFxyPgd6xA 68iLhOyfmlQFH0YyjDL2f4o= X-Received: by 2002:a17:902:dac8:: with SMTP id q8mr5025423plx.164.1644335878641; Tue, 08 Feb 2022 07:57:58 -0800 (PST) Received: from localhost ([2405:201:2003:b021:6001:8ce1:3e29:705e]) by smtp.gmail.com with ESMTPSA id s4sm11481437pgg.80.2022.02.08.07.57.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Feb 2022 07:57:58 -0800 (PST) Date: Tue, 8 Feb 2022 21:27:52 +0530 From: Raag Jadav To: Andrew Lunn Cc: Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Steen Hegelund , Bjarni Jonasson , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: phy: mscc: enable MAC SerDes autonegotiation Message-ID: <20220208155752.GB3003@localhost> References: <1644043492-31307-1-git-send-email-raagjadav@gmail.com> <20220206171234.GA5778@localhost> <20220207174948.GA5183@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Feb 08, 2022 at 03:09:48AM +0100, Andrew Lunn wrote: > > MAC implementation[1] in a lot of NXP SoCs comes with in-band aneg enabled > > by default, and it does expect Clause 37 auto-negotiation to complete > > between MAC and PHY before the actual data transfer happens. > > > > [1] https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/t-series/3241/1/AN3869(1).pdf > > > > I faced such issue while integrating VSC85xx PHY > > with one of the recent NXP SoC having similar MAC implementation. > > Not sure if this is a problem on MAC side or PHY side, > > But having Clause 37 support should help in most cases I believe. > > So please use this information in the commit message. > > The only danger with this change is, is the PHY O.K with auto-neg > turned on, with a MAC which does not actually perform auto-neg? It > could be we have boards which work now because PHY autoneg is turned > off. > Introducing an optional device tree property could be of any help? > Andrew