Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5900529rdb; Thu, 14 Dec 2023 03:01:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiMNGyQ2LGvOeA+BG0aB5KEvlx/mc+BZEBD+uIXqiXDxLHwjoXzLP2mJRtBpcUlBSu054L X-Received: by 2002:a17:902:654d:b0:1d3:73a1:edfa with SMTP id d13-20020a170902654d00b001d373a1edfamr221686pln.18.1702551718143; Thu, 14 Dec 2023 03:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702551718; cv=none; d=google.com; s=arc-20160816; b=YpnVwzhdETLCowvxnWH4ekEHeZ3P0hIFmKL+CXqYQyhy6EWThEEc7eoCrZYIXGa5Gk KqIfk65lFO/5sYjhjMv0ESAxL13DHuWHwn8S5iDyLU71us+/n8T2TIhj/xbvVK8ffj/Z EeVgCnI0RxuyJRGwl1ZOrz1pMeSggb/ZTkZ5heKIj+X/9bVsUnISX1o0KJ4CN0a5QY5K gI2FwLA7JjC2vktvXaFTG23Xiu1DceDicL9weFy8kUGHVaszfS/eXiYSywH905De1NlQ xhsCITmGfz2EaQ9rqe1cXtv7FGTnQkyLgonxCFW2UoFmipBu1fle+vapS6yimna6vRGD DZUA== 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=Popi+890fZ1lHbXbLEHSlXolpjJo3sDNBxoaukvvxzM=; fh=9IhJJw2uV4YINhaKIfylxjgNZDzumKurW8S/jHmrGR8=; b=J7KXLAgwduplOcb/DYvurl3HQeCFA8BcH896t8WFy9UAxvwy2aR/sExDDCMz0BX+oz 4vOfAigUK7Ug9LDYOEc69cY6wQtWu7PsA9Ir3oXb+ZDSnzk39pLRX6xCNH1VYvi8RWSf U9E/K3+3c8oj8Sh/TQymTe3/94aaFPlE/WoCt7mMKYO2jiyaYCFYiZmcefIHx0VEJ62a PCgFDENJkynCgtPeNL6pPAzB3TLQHiExf3E6FwIZUqZB/UYz5ppjisp5HrgvmB+PF2oJ rfMQvbNPzZfO7OP/ieCZFeeCv4OTmjB5Q/Xvef3QbwqT00qEDUfnjfSAzLip2e02SzBQ or+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=sgeHfjBH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ix11-20020a170902f80b00b001bdcd2e1706si11170926plb.196.2023.12.14.03.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 03:01:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=sgeHfjBH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 1991A81FEC71; Thu, 14 Dec 2023 03:01:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443882AbjLNLBj (ORCPT + 99 others); Thu, 14 Dec 2023 06:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443897AbjLNLBe (ORCPT ); Thu, 14 Dec 2023 06:01:34 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396971A3; Thu, 14 Dec 2023 03:01:40 -0800 (PST) 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=Popi+890fZ1lHbXbLEHSlXolpjJo3sDNBxoaukvvxzM=; b=sgeHfjBHWSa4Ai8ohwsLkr9bLX exGWirdgfG0oHmhTbF3/gok3kfORbPiMrVHzOqnkjt7M4Ix3XQTMImnSyqz4idtzHLbs+Ydb+yLyd Y4ECRzgfFoX7137PTSav157ABqjC3u3JaqNHd3GCIaPUaRN/LOYEOujiIYlpnUJlve4c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rDjT4-002ul8-GY; Thu, 14 Dec 2023 12:01:26 +0100 Date: Thu, 14 Dec 2023 12:01:26 +0100 From: Andrew Lunn To: Luo Jie Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, corbet@lwn.net, p.zabel@pengutronix.de, f.fainelli@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v7 03/14] net: phy: at803x: add QCA8084 ethernet phy support Message-ID: References: <20231214094813.24690-1-quic_luoj@quicinc.com> <20231214094813.24690-4-quic_luoj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231214094813.24690-4-quic_luoj@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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 14 Dec 2023 03:01:55 -0800 (PST) On Thu, Dec 14, 2023 at 05:48:02PM +0800, Luo Jie wrote: > Add qca8084 PHY support, which is four-port PHY with maximum > link capability 2.5G, the features of each port is almost same > as QCA8081 and slave seed config is not needed. > > Three kind of interface modes supported by qca8084. > PHY_INTERFACE_MODE_10G_QXGMII, PHY_INTERFACE_MODE_2500BASEX and > PHY_INTERFACE_MODE_SGMII. > > The PCS(serdes) and clock are also needed to be configured to > bringup qca8084 PHY, which will be added in the pcs driver. > > The additional CDT configurations used for qca8084. > > Signed-off-by: Luo Jie > --- > drivers/net/phy/at803x.c | 49 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c > index 37fb033e1c29..8dfdf2ff56a5 100644 > --- a/drivers/net/phy/at803x.c > +++ b/drivers/net/phy/at803x.c > @@ -176,6 +176,7 @@ > #define AT8030_PHY_ID_MASK 0xffffffef > > #define QCA8081_PHY_ID 0x004dd101 > +#define QCA8084_PHY_ID 0x004dd180 > > #define QCA8327_A_PHY_ID 0x004dd033 > #define QCA8327_B_PHY_ID 0x004dd034 > @@ -1760,6 +1761,9 @@ static bool qca808x_is_prefer_master(struct phy_device *phydev) > > static bool qca808x_has_fast_retrain_or_slave_seed(struct phy_device *phydev) > { > + if (phydev_id_compare(phydev, QCA8084_PHY_ID)) > + return false; > + > return linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->supported); > } It looks like these patches need rebasing on net-next/main. It appears you are missing Christians patches. Andrew --- pw-bot: cr