Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3699458rdh; Tue, 28 Nov 2023 01:03:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHn3zz5+s4wxJHrENEcY9VDjFOhwjY1k/hPGARKkSqDWd+ldFj15TJPgJKQdb6TIZ+aVw1z X-Received: by 2002:a05:6a20:da8a:b0:18a:d77b:488 with SMTP id iy10-20020a056a20da8a00b0018ad77b0488mr23959156pzb.14.1701162193141; Tue, 28 Nov 2023 01:03:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701162193; cv=none; d=google.com; s=arc-20160816; b=AkIx44SfHpbFY3FlzKCilJpHpjur2XcgVc3BSJR4qZhC1TUT4sramsvDpTgkOA4Uvi ZiXGAfBQHCBlY3WjcclxDMQE247wreji+e0GjsVIm4nDaUOfL7TCHBh1ppcaqL+WnnKZ vo92UuAKCtb+YCdlf3bSnMCoyNWzg2Ub8bWmuDKoIsxt47LF00VpVtyVWkSqLsSD6TQs dmDsaRErTYB4RCshdiKWx9pbKkq230OZ8BpBXdOlOSm5517/fmDMvvPc78B72Xfc16pD S1ZHWVEv9KUHkC9KitHLWJLVImPaSujjjUFWS2Ltyy+OjuPsC1kfjfr3mOGHlM1MWq4o QGpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+Kqd0ZZyXT9nJQi9dwXBehSCo6NOmmyqnNaiHd+uCVU=; fh=coM8qcc5wCr1uf+FRqkVnGQZpUE3Udm78hv3ZS8K6Nw=; b=Ae8oR4a1J2tv10T6gzBikQgAb6B5dhNvG9F7r6AVV3a3iJTnS97pakwv2IfoSHm7ZN bq6RRqJ2PmCTxvd9qobiiV/CPk/rMK6BsMlCFBEciKVBp9/mBz2VF8GqgXjrrwthLuyx nrXfDxLNmG/AoxS4vbuM+ohLWjdQYvvmQ6VAcv+DQbQYQRbKG8nVs+qoA2Qnk1BWT1Vf 7aPNc24YK4I8IkDorUdF0hB1xWHREK6Ow2l16i5aPuFWbvUkXO7lrxSh6pT+DPq64mUX 4fXn2vn4+brRa31aIoPZd6OV0vCIb5zJ5P530MSb9cCb/xGGBRB7pkviAdvQkbqrsdAN bBBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=whC9yfCx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id z20-20020a63d014000000b005b3b86ab19csi11830929pgf.107.2023.11.28.01.03.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:03:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=whC9yfCx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AFE148082050; Tue, 28 Nov 2023 01:01:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbjK1JAr (ORCPT + 99 others); Tue, 28 Nov 2023 04:00:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234694AbjK1JAq (ORCPT ); Tue, 28 Nov 2023 04:00:46 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66ED2138; Tue, 28 Nov 2023 01:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+Kqd0ZZyXT9nJQi9dwXBehSCo6NOmmyqnNaiHd+uCVU=; b=whC9yfCx0Udo9iFHwXHWMOFPVR V5pix6ulLuyYpHr+vYNyG5y5shQMv5R56u/HNcczCtE12sF417Sh5VoAau4XYBvP0ucOKbg+cBHGY skbfXPYP+CDqWw3kHXC7uK/b+gcwsV7YjmeGv/th7SdJnMW7aSQAf3+0fU+5hcindJuh+Ogh4WWVa XEgCpz3IU8sANK+HWysINamznqtYNEEsT9zCxnc0ypRQ+aqWtVHMza67VPg2b25bHLPQA4u6WbNh6 c1LaLqoqViolzvrgpCaTyQHSYKtevKB6iSLJEgcHZ56MoXMq5OsbFxJZdzLD3Qs7kLTrFenybszgR ngb0hEJg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:39606) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r7txG-0006zt-20; Tue, 28 Nov 2023 09:00:30 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r7txF-0002oc-FO; Tue, 28 Nov 2023 09:00:29 +0000 Date: Tue, 28 Nov 2023 09:00:29 +0000 From: "Russell King (Oracle)" To: Jie Luo Cc: Andrew Lunn , 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, corbet@lwn.net, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v6 3/6] net: phy: at803x: add QCA8084 ethernet phy support Message-ID: References: <20231126060732.31764-1-quic_luoj@quicinc.com> <20231126060732.31764-4-quic_luoj@quicinc.com> <0b22dd51-417c-436d-87ce-7ebc41185860@lunn.ch> <8e4046dd-813c-4766-83fb-c54a700caf31@lunn.ch> <9c4c1fe7-5d71-4bb2-8b92-f4e9a136e93d@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c4c1fe7-5d71-4bb2-8b92-f4e9a136e93d@quicinc.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 01:01:10 -0800 (PST) On Tue, Nov 28, 2023 at 03:16:45PM +0800, Jie Luo wrote: > > > The interface mode is passed in the .config_init, which is configured > > > by the PCS driver, the hardware register is located in the PCS, this > > > driver will be pushed later. > > > > Is this the same as how the syqca807x works? Can the PCS driver be > > shared by these two drivers? > > I am not sure syqca807x, would you point me the code path of this driver? > > > > > What i don't like at the moment is that we have two driver > > developments going on at once for hardware which seems very similar, > > but no apparent cooperation? > > > > Andrew > > The PCS of qca8084 is the PHY PCS, which should be new PCS driver, > in the previous chips, we don't have this kind of PHY PCS. No. PCS drivers are for MAC-side PCS drivers, not PHY-side PCS drivers. +------------- | PHY MAC---PCS --- link --- PCS --- ... ^ | ^ | +--|---------- For this PCS | Not for this PCS -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!