Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8874973rwr; Thu, 11 May 2023 07:17:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4maFF6Ql+Lwa33ZXMeombhSM0rKOGpuGD3CgpOIrwH28bsf2hxwxRK6dD4hjSi0K9ycVES X-Received: by 2002:a05:6a20:7f8a:b0:f5:c6e5:e65 with SMTP id d10-20020a056a207f8a00b000f5c6e50e65mr28829412pzj.7.1683814628782; Thu, 11 May 2023 07:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683814628; cv=none; d=google.com; s=arc-20160816; b=uxDZ6wJhSvwOodNOHY/utPEsc4NhlDaqQGWjxvHOq+J/41X02/qkVqYh1KCcyGu7RS uwKN08ypRXOaAzXr2TpzLIuIRgYNU7YPInUbdm/pd+dc1sI3Mxr3wSHgwUQwrCUegdQU 5wWo3Gyu1mXR94YfUOw+qaIHTx5qOmp6FquZntOCGqrLe3kmIck1OpFdBoUTxxrFQnZz eeko9+b0BDcNIay8SHqU8g/4C6M9SlaGY7MuBi1/6WIVZTDcgP9KfbEYgHo5pEe1HkBv fK57/K6plu04NlKkDoZCfBb/JdMnBZx3b0wNLPbUQIC46jhENWeDc/Xk2qmrYKaiTWve zuAg== 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=eReVV4zkcQenT5W13hhsmnpesROOGAzKAt/4OFBBRSA=; b=URVHw6+lvHIA27aUfnId+qnfi975PLSe2UtFcQ6AzA0lgRF97y8Zh8hhRmZtzeFX2E iKJeLxoh8L8F+DW1aXzW4OKLMA+p1sB3dkD5ea8AZnuKnnXzasTq/oxYYrfogpDCcGbe V+pHzIf4DO30q88YcO14zrsBv5KpTv5aEv3GL68F0fBUCYhqvHpHkbasz+sZo4yK1n+H kIjdO/TayJYM65MxHB8eFgldxZxcsEdf7EaMkgujAZJSq90nk37e3F43zmQrC4BEAibC g3QEoiBI/v3qc4GJQvclPCXpRsNs0kXUUuw1HwvOS+tDj1VqF/qpKZ02UqeWSwqMk2cd SDww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=dOUCuEhU; 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 d129-20020a633687000000b00525030ba5acsi7152816pga.279.2023.05.11.07.16.57; Thu, 11 May 2023 07:17:08 -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=dOUCuEhU; 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 S238301AbjEKONm (ORCPT + 99 others); Thu, 11 May 2023 10:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238019AbjEKONf (ORCPT ); Thu, 11 May 2023 10:13:35 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41448E709; Thu, 11 May 2023 07:12:55 -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=eReVV4zkcQenT5W13hhsmnpesROOGAzKAt/4OFBBRSA=; b=dOUCuEhUgbbsVzbJ5DwIxsc2Qc kO1wwunsUEcHUYT1jbGJWCtYSAgA9LlAq9aCuGmamOdY7Rk1lbhB+Q2UHUNV4jcuCsejfF28y/80H yhMt+coog8e88RobT+FiM8F5dmBP9vV5A9Vlh1spcUGl4vpKCXaBVehZEhc/sSSgw2q0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1px71G-00CYxu-0s; Thu, 11 May 2023 16:11:46 +0200 Date: Thu, 11 May 2023 16:11:46 +0200 From: Andrew Lunn To: Harini Katakam Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, vladimir.oltean@nxp.com, wsa+renesas@sang-engineering.com, simon.horman@corigine.com, mkl@pengutronix.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, harinikatakamlinux@gmail.com, michal.simek@amd.com, radhey.shyam.pandey@amd.com Subject: Re: [PATCH net-next v3 3/3] phy: mscc: Add support for VSC8531_02 Message-ID: References: <20230511120808.28646-1-harini.katakam@amd.com> <20230511120808.28646-4-harini.katakam@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230511120808.28646-4-harini.katakam@amd.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 On Thu, May 11, 2023 at 05:38:08PM +0530, Harini Katakam wrote: > Add support for VSC8531_02 (Rev 2) device. Use exact PHY ID match. > > Signed-off-by: Harini Katakam > --- > v3 - Patch split > > drivers/net/phy/mscc/mscc.h | 1 + > drivers/net/phy/mscc/mscc_main.c | 26 ++++++++++++++++++++++++-- > 2 files changed, 25 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/phy/mscc/mscc.h b/drivers/net/phy/mscc/mscc.h > index ab6c0b7c2136..6a0521ff61d2 100644 > --- a/drivers/net/phy/mscc/mscc.h > +++ b/drivers/net/phy/mscc/mscc.h > @@ -281,6 +281,7 @@ enum rgmii_clock_delay { > #define PHY_ID_VSC8514 0x00070670 > #define PHY_ID_VSC8530 0x00070560 > #define PHY_ID_VSC8531 0x00070570 > +#define PHY_ID_VSC8531_02 0x00070572 Does PHY_ID_VSC8531_01 exist? The current code would support that, where as now i don't think any entry will match. Andrew