Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22286450rwd; Fri, 30 Jun 2023 06:19:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5P0Aa0CqSYyoLjnsHIGYt+jPx1KuK53NNfZEI/slX7lH7nEqjT3inOb9jtb2yF3NKptGsL X-Received: by 2002:a05:6808:221a:b0:3a1:f239:524c with SMTP id bd26-20020a056808221a00b003a1f239524cmr3027771oib.46.1688131190745; Fri, 30 Jun 2023 06:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688131190; cv=none; d=google.com; s=arc-20160816; b=RscBIrzbKGl89iiDeZrDOPmwKnFXq5GllphdK7nI/Z+io+lzqOZMuC7faOYylRK2Sr gokKJLJ6MTXFghk2tQjnuA6MelcSDiqneYRPUjx4cYf+dPiWYHoLVrbE8hZB2fmBp2Dj /aFbg5w/wLsTjTO9bIlCb6aKv2rwb/gjHuByewLfbtwa63WFLC4Rj1oTFmnAnWEgnbsc NGnuolDlIzn9Raqccc/qIS3+atCUx87q8li9YPMlyeBH7LyodaSVhuUTT8QmBFG3771t qbYXPVwj9d93n10tNKUtuW4UnY670jRJsr4lKmlmuDT57hMW9ff42nCv+Pk6HmzXuJ0U L/Uw== 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=KWObxhlhiwyPBpeNhUx3gfwUnUTNDGSIphm93nsll0Q=; fh=ApUO0fuTJD3LdDtObuv5Veq1fnN6bOjCp7tNCU1Rfiw=; b=Pwl3K1Vcjs0CAtbr0Dlv0Sooltn5sD2MvDdRnp0vQcALJZ3d/poKB2kARW5bqqw7wg XHd6cKtJ/2A1TGl5MWWhcykLHzGvOX85u38pWQ49XG6+MrBbBzKIKI/B4IWfv2vWeFS5 BZjRyQibGwI3uDm2nCAV5Mdwj/r+SRKeffS1nz1iN0uUJjmWFmnaZxZTYdpkxyGLicmC GcSlrloACVxy3zdmfvke0ua1ds+xSb/jZ+hyKV8mbYQ0kpFvmlW43lwMH+UlZymVUGsm inz7ZKIbuqN9xvuOS3zcZPX0cDnm+9U1sK3q4IYxLWnw6jWnN/YFv7p7dIZtD2+7cCWs 6uiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="T5+/aB36"; 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 g2-20020a17090adb0200b002637eb7c214si1213505pjv.80.2023.06.30.06.19.35; Fri, 30 Jun 2023 06:19:50 -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="T5+/aB36"; 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 S232367AbjF3NQz (ORCPT + 99 others); Fri, 30 Jun 2023 09:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjF3NQw (ORCPT ); Fri, 30 Jun 2023 09:16:52 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11301997; Fri, 30 Jun 2023 06:16:50 -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=KWObxhlhiwyPBpeNhUx3gfwUnUTNDGSIphm93nsll0Q=; b=T5+/aB36Re7bQvZ7FQAYDVqW2M HvBEC5NOk2UtHC3zbdXmvKwFxDs10q7x3DwXqTF1OtgpthByDklBph7mdszJBsmDcJ7UNu2hbc/JU oQL1N24XMb+OxNeEigQBaZau9kK8JGdTFNiFyjAMCLVRMY7hJ89qmISO1ochdspPMbmM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qFDzA-000J2R-M1; Fri, 30 Jun 2023 15:16:28 +0200 Date: Fri, 30 Jun 2023 15:16:28 +0200 From: Andrew Lunn To: Jie Luo Cc: hkallweit1@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] net: phy: at803x: support qca8081 1G chip type Message-ID: References: <20230629034846.30600-1-quic_luoj@quicinc.com> <20230629034846.30600-2-quic_luoj@quicinc.com> <48e41540-6857-4f61-bcc5-4d0a6dbb9ec1@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,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 On Fri, Jun 30, 2023 at 02:39:06PM +0800, Jie Luo wrote: > > > On 6/29/2023 9:14 PM, Andrew Lunn wrote: > > On Thu, Jun 29, 2023 at 11:48:44AM +0800, Luo Jie wrote: > > > The qca8081 1G chip version does not support 2.5 capability, which > > > is distinguished from qca8081 2.5G chip according to the bit0 of > > > register mmd7.0x901d. > > > > > > The fast retrain and master slave seed configs are only needed when > > > the 2.5G capability is supported. > > > > Does genphy_c45_pma_read_abilities() work on these devices? > > > > Andrew > > Hi Andrew, > yes, genphy_c45_pma_read_abilities works on both normal qca8081 2.5G chip > and qca8081 1G version chip, even the PHY ID is same, the only difference > between qca8081 1G and 2.5G chip is the 2.5G capability removed on 1G > version chip. Great, then please use it to simply the driver. Andrew