Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8872578rwr; Thu, 11 May 2023 07:15:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gTj+2HfYY5crAwljaBV7NwoZF3v4TbS2mtY8D1rYsI6xYqta28ZvmCPQ9dF8y3WPDUvXV X-Received: by 2002:a05:6a20:3d06:b0:100:900f:74a5 with SMTP id y6-20020a056a203d0600b00100900f74a5mr17174889pzi.56.1683814542078; Thu, 11 May 2023 07:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683814542; cv=none; d=google.com; s=arc-20160816; b=EAKdINVHavbFy1yF/i/1kH/TAWmRywkLgEVuTGzm2R+LEoYjhIgimPw9z1QbcGfc5M irMrIBLalNV4BK/+ZydfQGBDv31zmuwy/MDRZkGQQCZ6SU0dxsvTwb7mgjx6gy3U0VTo n0vnO10Gps0ziu6ZyBhk7zW6zy2g0WUDe9J6u7tI6xY8oouNnkIUsYUpQ3HAJQcR9nSz frHig+mL2p6Ww2/Y7URiHgU1VoAAo+OrF0NdC1nlLpzV0SgWPEBdDXRLKUCiNqvpWhok 8pnwZr0EXcYBQ4Ss2Hi6k9lSsFeDQ1zKVqWd6Ge8P/j0ETPYsFJBm1Zpj4n5OxTAXB4C lQlQ== 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=MtnwjUGQMTg1yfTTLU9Z+2ghB5SIPLEsC/rY/cUh02I=; b=wtr9ZspJTyuPc4Ed8G4ivGD10Gy0eorJyTxTTkCYtavZ4Kiwo0kaRHWNl7l5c9OwGu Kf2dUP+rjHfKOhDo5+JfIh1aZ27/hgT3lS9Cpntk9Y6A0ljaPS4pyUl/bHV8XdQR5YOY 2WyjDGsi2l3XI3Cub+UamnZmfU2wOvqY7wbfDJp2+qhwRdvukraC76Eri3fS18LlX64i TevjMkm1Gu+140PVRWwOEQ7++rf1L4PLtSm9+rdvACxldmbXu2FikLNmU0PrzRe9TvBl gEBBp6n0ukv2OApVDbb3DdEXoJxe+vHF15J1437g26+TrqSTcq1TkLfxAlGWxNexlhKl ulzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hly3rb5w; 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 k63-20020a638442000000b00530823be048si889653pgd.720.2023.05.11.07.15.26; Thu, 11 May 2023 07:15:42 -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=hly3rb5w; 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 S237771AbjEKOGG (ORCPT + 99 others); Thu, 11 May 2023 10:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237480AbjEKOGE (ORCPT ); Thu, 11 May 2023 10:06:04 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082E010FF; Thu, 11 May 2023 07:05:59 -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=MtnwjUGQMTg1yfTTLU9Z+2ghB5SIPLEsC/rY/cUh02I=; b=hly3rb5w639+90+1SucuCz1Ifm 3WCHiSXMIRtwdCiXL5a5D0qYmHL5SsocwYX5WuffMZ0XFnbpLrH4IMYW+iVaZ21wW+UjgX2aebOax 9YXZSz4Und/V0E+W8F80Y396RNt0EGZ0K27Caxf3HHdohA+CZWPru/AWHQzJxDFb0VzY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1px6vN-00CYvh-P7; Thu, 11 May 2023 16:05:41 +0200 Date: Thu, 11 May 2023 16:05:41 +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 1/3] phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table Message-ID: <428db3e5-fb22-45a3-8d75-85cfbf67fe56@lunn.ch> References: <20230511120808.28646-1-harini.katakam@amd.com> <20230511120808.28646-2-harini.katakam@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230511120808.28646-2-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:06PM +0530, Harini Katakam wrote: > All the PHY devices variants specified have the same mask and > hence can be simplified to one vendor look up for 0x00070400. > Any individual config can be identified by PHY_ID_MATCH_EXACT > in the respective structure. > > Signed-off-by: Harini Katakam Reviewed-by: Andrew Lunn Andrew