Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1123339rdf; Sat, 4 Nov 2023 07:19:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHoMSNSXN2kAYPZJObnL1B9OnH23yEIiKpF4xjf6kw/6e04G8GHcrUwUjfFHPvHuNxEVUfD X-Received: by 2002:a17:902:f354:b0:1c5:efd1:82b6 with SMTP id q20-20020a170902f35400b001c5efd182b6mr16830711ple.30.1699107591365; Sat, 04 Nov 2023 07:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699107591; cv=none; d=google.com; s=arc-20160816; b=E0+HKrDcA8ptTF9ZS5L0rYIn+qBjEhAhl8cf/GYX54MQI6LlnNs+h15sccZwTvU8Fa f8wb+indf4AbPjL/HZyZm6aqH5m6bsdesW/YsEgOrKU50QAKyN5bS1KTNPm7CkTKd9Al ZIeVKFy0aNEsAuko3DBPQ2ZHHFqGqybn+rlQ/mIar5RNOi0O2cRSiRSQjvvfQhKP88Gh FvO15+P/kGgBaQdcVrFNGn8Yq0LU6HNwlcIoajJ79MQE3Skw6EaQ37VOxRwFImHcPV/0 J1E8UfUGru3h//ntBFXJVK3P5khEEZo/TEVvNv92duzbz0dPXyQJ1mGGgBTWoueiyfNV 82hA== 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=nlg27fGYyBiOtVzMcSyTbiS710cqDrlOY1cgrkFy2xE=; fh=QcFXoxGhLEqnZ7UwhUNZJGqojyCoZTdIIxb4zZRxDNI=; b=bPQRBjijoV9pDfqzcsrPE9kNPdnB/5OyorWZCJZPv0/N+/I0zMRv5qaT/vF++zLwVP JC6zTYnJyolqCjvyaMQDpXBUnu8ADLphzHimcbKfCQTvS7pTmvcMlwr9eghcPUIQOF9w AQ2vEN9bXgG+Fc+7coKCkRA+NaMd8aj4pZBjXDlvdqdrHTx7voJpCzdvvCM7Nq8F+8IF 5rX0H5tvnfa7+Apq7pyJSTxSWczrb8hhYqmOQNd4UV3RUZd9U1CfofzsaikNEqOYCTH6 yFVePLVGQ8EVc5q/m34Kf0Nqo6EiAbQ1RwlCLuU5WazSo9C310kN7m3MkEp76QPSggVY G4FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=niPX3JMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id li8-20020a170903294800b001ca89920d2fsi3788193plb.588.2023.11.04.07.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 07:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=niPX3JMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1C26080990C7; Sat, 4 Nov 2023 07:19:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbjKDOTd (ORCPT + 99 others); Sat, 4 Nov 2023 10:19:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjKDOTc (ORCPT ); Sat, 4 Nov 2023 10:19:32 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8614191; Sat, 4 Nov 2023 07:19:28 -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=nlg27fGYyBiOtVzMcSyTbiS710cqDrlOY1cgrkFy2xE=; b=niPX3JMy7btJ1/OZl0WZiZEkC5 S45Q1L0Oiky5732ZZHBv4F0Gn0HQWeK/HRVBkS5Xb3asTQKmrTNPnU3BLV/sWLPl6sIjArXkBq274 VVAvWm8IEevmRK3DZmXEnVHJImf60eIn79VuHf/yDVp/6uQcdJS7b6xWstxdcA93eKq8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qzHUV-000sHv-0V; Sat, 04 Nov 2023 15:19:11 +0100 Date: Sat, 4 Nov 2023 15:19:11 +0100 From: Andrew Lunn To: Jie Luo Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: phy: at803x: add QCA8084 ethernet phy support Message-ID: <1aaf7a4b-fc7e-4203-af71-740bc187d046@lunn.ch> References: <20231103123538.15735-1-quic_luoj@quicinc.com> <806fb6b6-d9b6-457b-b079-48f8b958cc5a@lunn.ch> <7f0df23b-f00e-fef8-fa03-314fcfe136eb@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f0df23b-f00e-fef8-fa03-314fcfe136eb@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 04 Nov 2023 07:19:49 -0700 (PDT) On Sat, Nov 04, 2023 at 02:25:25PM +0800, Jie Luo wrote: > > > On 11/3/2023 9:01 PM, Andrew Lunn wrote: > > > #define QCA8081_PHY_ID 0x004dd101 > > > +#define QCA8081_PHY_MASK 0xffffff00 > > > > That is an unusual mask. Please check it is correct. All you should > > need its PHY_ID_MATCH_EXACT, PHY_ID_MATCH_MODEL, PHY_ID_MATCH_VENDOR. > > Thanks Andrew for the review. > The PHY ID of qca8084 is correct, i will update to use PHY_ID_MATCH_EXACT in > the new added entry for qca8084. Note, i asked about the mask, not the ID. Is PHY_ID_MATCH_EXACT maybe too exact? Is there the option for different revisions of the PHY? Can one entry in the table be used for multiple revisions? Andrew --- pw-bot: cr