Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1624444rdg; Sat, 12 Aug 2023 08:57:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu0Bdw2NY1f7d/d/DO3vHMCsaqGsBc5XKdrZKshdxVScbaN6mMQLYzNBa6CDl3rYdi95EU X-Received: by 2002:a17:902:700c:b0:1bc:9820:1169 with SMTP id y12-20020a170902700c00b001bc98201169mr3388711plk.62.1691855848194; Sat, 12 Aug 2023 08:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691855848; cv=none; d=google.com; s=arc-20160816; b=mX8VBiwJLuucbb7BSxFeJOjrc8BesVONXUNDtXHh19Pmk/uiKj648b5A3RcbAguivR e8LY6YGyggl/jCclk7EsGHZhs/xvENUGZOMWpYTLZ9ID9YrakIBV1RRZZeE8xNEyvKac 0iKt5XTGqJWtolekO3485MQZ+XWZ4sZWileliXDPFahmTPjUzhR10SQ12f/Gv+ishIIt wK1AMgNZD8giDGzf6yJ6+4btJPYslCNbw2mU5ZVcL8YBS+6Rg0Szp++s5qM2dgCBrFPQ 5GY3PCEJpRteM5BJYW9lUJwNbO6cAVMH/BFqyqQPqT16nEE/EnP0r2tJZZzkfUnrYFwT s68Q== 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=IP9B9RcAGhD7kYJQbkxUcYc7o+AERXkJxjqGRCoR6ME=; fh=oHudCJECoYngG3dDdjNWB5Gf2ZIT9/fNRBvqLgzGY5Y=; b=PdqohIH3cI/rql0inPiQIakh73Rxk93S81f6kCKzlHwo4bAKQpfLBblVn1H2lKrsed SUHsVw57+sM8E+R8h0lZjLFEf/3dO+JIy6silgrThOgZtB9FzhBnKx8Xmz3MomJLmIyG +vlBMjvvSIOT5IL1YCuJ6AIvu5aGvOX1wXyhvLcOmRi8dVeSuyJrVVZOhv2tEQMbQBYc cFtXDraYwRqjoU7VklJgzl1dmILp8fySh1ASkW0nedr6/y4YMJ8ClTH2r07+JuIlsd+d QtldQVHdx3UvZIkXNcsaM8S2XdMSdEQjVC0iZPLZaK7z3Hu/nyLGvbVA+Q8FHDDf+zKT TsMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=aukyRRfb; 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 w13-20020a170902e88d00b001b9c3498510si5117915plg.469.2023.08.12.08.57.15; Sat, 12 Aug 2023 08:57:28 -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=aukyRRfb; 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 S234156AbjHLOUC (ORCPT + 99 others); Sat, 12 Aug 2023 10:20:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234551AbjHLOUB (ORCPT ); Sat, 12 Aug 2023 10:20:01 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 124BBBA; Sat, 12 Aug 2023 07:20:00 -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=IP9B9RcAGhD7kYJQbkxUcYc7o+AERXkJxjqGRCoR6ME=; b=aukyRRfbCtEqsPFvyqesLZDxj6 rQr/DOumuVNLN8sEal0sB7aF+FYAfoxZt+E3M1hqnL17f0y7OuhZHmkbB4voKjvjYe/Eyj3qMCQAR VKCf/qtPteK6hZcqd9iOpmRctGKSUAueU6TyisJB2qU6EIdOFvKD3g6U9rwdztE47a4I=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qUpSy-003uhy-E2; Sat, 12 Aug 2023 16:19:44 +0200 Date: Sat, 12 Aug 2023 16:19:44 +0200 From: Andrew Lunn To: Florian Fainelli Cc: Giulio Benetti , Broadcom internal kernel review list , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jim Reinhart , James Autry , Matthew Maron Subject: Re: [PATCH] net: phy: broadcom: add support for BCM5221 phy Message-ID: <187506b6-f6a1-4e50-b287-f01984c1e334@lunn.ch> References: <20230811215322.8679-1-giulio.benetti@benettiengineering.com> <0188dd19-7fcb-4bfe-945d-6cb5b57ae80a@lunn.ch> <6f7fd397-2b63-be20-fa9c-c26298226088@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f7fd397-2b63-be20-fa9c-c26298226088@broadcom.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 > > This table has some sort of sorting. I would put this new entry before > > PHY_ID_BCM5241. > > > > > #define PHY_ID_BCM50610 0x0143bd60 > > > #define PHY_ID_BCM50610M 0x0143bd70 > > > #define PHY_ID_BCM5241 0x0143bc30 > > > +#define PHY_ID_BCM5221 0x004061e0 > > > > The value looks odd. Is the OUI correct? Is that a broadcom OUI? > > Yes it is correct and yes it is assigned to Broadcom. I found a datasheet for this PHY and it does list this OUI. I just noticed it is the only device supported by this driver which uses this OUI, so i just wanted to check. Andrew