Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp378957rdh; Thu, 23 Nov 2023 06:28:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEX1MuAE+JERMk46MRGdbTvnl9cXmymx7qAx80Ccp2+PEAcpc/cQL852tI8Qp8ySaqEl0kw X-Received: by 2002:a05:6a20:9797:b0:18b:3158:4231 with SMTP id hx23-20020a056a20979700b0018b31584231mr4504318pzc.16.1700749718598; Thu, 23 Nov 2023 06:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749718; cv=none; d=google.com; s=arc-20160816; b=SK/vgLHNq9b5YnfAusDtl+9EawelkVSKhdA1cLYB1buVW/WEx2xG/93YUIewwkfzzX /+S0L1wt1/mr8YBsPEKnwLABGP+1QUUCmXndOa6DLX/7zwozeVaxDL3fG7pU5uIIX1ZE 0QVj6otafeLO9GDOFWkPN1F7Tl+8l/2nnW3aeeI+JDoEUEC1P1Z98gQpqSTVoNfB6wcj bgVb8vtWUwwWk7k9e/iCBOo8EbcJL8o3IhRAkVXnDu63XsgzJh1JKWfsBzD1yU71Ntqv tJRvlF/IHLYiM3RZmdSijj1nnfFQ+BOajCX5VnvBff0nUA8NN3VukWQtUnDF+8pgUtS6 LP5w== 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=M6ECVnm5lgJVKodC0naisWfJUSuAnOVd88vm1FjK2XM=; fh=jQsRwSEfalKVlxJsekS3G2ztHC1RYHs6Nqut7teRHS0=; b=NFbj+MyCj4aKfUuIroppFC1d3U7tBufA0cjA1BqHFiYI1KQ3CiIByPiFYcyxSgpSBi b7to4T/+oRyQurHJJmuiPsh7XAGhy3sUxN6oJItZ7qYJdGO3qeMP8sSP2cJibNhseBls 6MwsTaMj5AG/WOaAEEW2+bNTWMVjCV1H3o2rzveVWXw/tlbGHM03yulk0cUNI8onLk5j btlNIbDOlUSxs6pjuCzB2sTuiOwnqJ08B31/45zLxUtN70XfVibPUnB5ttuqgl7Lcjn7 C5xPyVkfeHZtHdpjuC5heAD55OxnbXLJ8ctL1FLP+jEj61vbOpiSvMnQUM5nMIOEuv5Z 8tKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=I0uTW84K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j191-20020a6380c8000000b0057d7cff25b8si1336647pgd.198.2023.11.23.06.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:28:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=I0uTW84K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 2892E8135644; Thu, 23 Nov 2023 06:27:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345804AbjKWO1Y (ORCPT + 99 others); Thu, 23 Nov 2023 09:27:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345825AbjKWO1U (ORCPT ); Thu, 23 Nov 2023 09:27:20 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B024D6E; Thu, 23 Nov 2023 06:27:26 -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=M6ECVnm5lgJVKodC0naisWfJUSuAnOVd88vm1FjK2XM=; b=I0uTW84KZwen/D/8drpmgWT+jO tsfe8n/9Ooc8sjh12y9g0EpHz4/sDdjvPgmjtt7tAS87ULOgEuYGAv/TOIiweJxQgfq1spPWwD5QW pcKsN9q2rzfa+vW9hMxtj0lM+4vE9SkZ8lnRpdlrQ1Mcno/YIaCvBNIzPeqOjLv1BSBE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r6AfZ-00105f-3x; Thu, 23 Nov 2023 15:27:05 +0100 Date: Thu, 23 Nov 2023 15:27:05 +0100 From: Andrew Lunn To: Christian Marangi Cc: Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiner Kallweit , Russell King , Florian Fainelli , Broadcom internal kernel review list , Daniel Golle , Qingfang Deng , SkyLake Huang , Matthias Brugger , AngeloGioacchino Del Regno , David Epping , Vladimir Oltean , "Russell King (Oracle)" , Harini Katakam , Simon Horman , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [net-next RFC PATCH 03/14] dt-bindings: net: document ethernet PHY package nodes Message-ID: References: <20231120135041.15259-1-ansuelsmth@gmail.com> <20231120135041.15259-4-ansuelsmth@gmail.com> <20231121144244.GA1682395-robh@kernel.org> <655e4939.5d0a0220.d9a9e.0491@mx.google.com> <6a030399-b8ed-4e2c-899f-d82eb437aafa@lunn.ch> <655f2ba9.5d0a0220.294f3.38d8@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <655f2ba9.5d0a0220.294f3.38d8@mx.google.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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:27:43 -0800 (PST) > Just to be more precise qca807x can operate in 3 different mode: > (this is controlled by the MODE_CFG bits) > - QSGMII: 5 copper port 4 slots over QSGMII, plus the second SERDES is connected to the MAC using SGMII/1000BaseX? > - PSGMII: 5 copper port 5 slots over QSGMII, the second SERDES is idle? > - PSGMII: 4 copper port + 1 combo (that can be both fiber or copper) 5 slots over QSGMII, with the second SERDES connected to an SFP cage. Are ports 1-4 always connected to the P/Q SGMII. Its only port 5 which can use the second SERDES? Does changing between QSGMII and PSGMII really change the protocol run over the multiplex link? The clock rate is slower, there are only 4 multiplexed slots vs five? Or does it keep using PSGMII and leaves one slot I can see how it is messy to validate, if you only have phy-mode. So maybe MODE_CFG is a package property. You then can validate the phy-mode against MODE_CFG. Andrew