From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43202EB64D7 for ; Fri, 30 Jun 2023 13:17:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232399AbjF3NQ5 (ORCPT ); Fri, 30 Jun 2023 09:16:57 -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: 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