Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp361391rdb; Sat, 16 Dec 2023 11:08:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQEW/oaVhbXsgP5+XQZ+8hADZAjQztJhVAXMORlBbUKmQa5vUlJnBPT5KF3GTXOo2XhLVK X-Received: by 2002:a0c:fe91:0:b0:67e:f0b1:4d7c with SMTP id d17-20020a0cfe91000000b0067ef0b14d7cmr7818902qvs.96.1702753737033; Sat, 16 Dec 2023 11:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702753737; cv=none; d=google.com; s=arc-20160816; b=ZQi7hMsMHjpHzDFj1e1klyaER6wEeLWYXaqttp0txI+SwEeuWG7T4zYg35kJo+aSM+ I2ctAcOYSgQA8aJad2OaqJ9ksvS7hZT1BMRI2QOjumKyl+M5s2W3MYKO7qGLe3QgGd2h uiWder3ihpuWhvGPHtl/9y2/9rPd/e3NtM0e9sS8XFnuI8PQsCHUGoazCJmNAy9PGV2U k646q9U+EJPbz990+CNK2RegkdXtkSYklUy8YpqIyfzvUlmgozIVoybdiTRjYqQwOfAw wJg3sUQbpiQf2Fty9oegA5WM1OIZ/E9B84XX5U2dMdscYYps8Z42Hdkvl8o2FW0reODa Xtkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=OkwSnz/x+hw4c0xXlPnigUYNs6Tn7wFQ/QxZa13dJc8=; fh=2tNjZZCeUg9hDSp/S3H6BaUZxhqktcO2zsiLy4oprjM=; b=aa74RHEQD6qEuyCTmf7MZLYgFVzxIOg+Yf4QHoq35XWRaRTZj6HU7aSzTTijtTXoYQ TZZbTm4pC/egzf21xdsmW0D0tvJIBlcClElPRzzjz++AQ4czYXz0kFc4NlgRSwbU8zfi TdjUSNYnnXhct1fEeEXnPoWUDnapL/SjbC9PzHyOk63OeHFfCznLiAebLCTSWqgJwrpn ejuGcb1m/Y1lxQMD7WlWvfKXMDgz33TAWmMoQin6nH8b4em5GFeQEUhfVwglkMYxj7Rx BjG8QFVkHhYiwL2FInHRaLcwKBIsSw8SpXBNHkmIWWOJRNtRO3lOLc/YVSaQUE7lIQhB n0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=t5qEeIlc; spf=pass (google.com: domain of linux-kernel+bounces-2335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id do2-20020a056214096200b0067ee77c87aasi11100499qvb.570.2023.12.16.11.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 11:08:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=t5qEeIlc; spf=pass (google.com: domain of linux-kernel+bounces-2335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C4D521C21A72 for ; Sat, 16 Dec 2023 19:08:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C662431A76; Sat, 16 Dec 2023 19:08:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="t5qEeIlc" X-Original-To: linux-kernel@vger.kernel.org Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 599111E485; Sat, 16 Dec 2023 19:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk 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=OkwSnz/x+hw4c0xXlPnigUYNs6Tn7wFQ/QxZa13dJc8=; b=t5qEeIlc3121z+dSVt4ZCU/PYa Qv/ZbQtLsVP+9NLHkgFXoa9zPwcH8pqycW42DmsjSo5T6LWzQOXBiAh/lACvS1YoAG+IeJ1ixQ10h J8WIYZx5VLPsBXtDExi2XUMs2vk7iNqYL3W3336V1Gor4u4ZakdbwkUIl38IPUA0wagTBD/KUDdVb /IIjz+1bDnr61I6QYO7W/NldqalNLQkBQh8fraM392ixYkPDN9i7WS6PK6SbHB/gGZnA7Dr+Ptb2c tYojilSRddiwys+a6Wpae2W7TAtkmLuA4wzYwH4lBlXzK3iyGgPQEUxBM4ihHo+usVUTGRMEpK/fs Ky5YIWOg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:39248) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rEa1O-0003xs-2R; Sat, 16 Dec 2023 19:08:22 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rEa1O-0004tz-Lr; Sat, 16 Dec 2023 19:08:22 +0000 Date: Sat, 16 Dec 2023 19:08:22 +0000 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Jie Luo , 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, 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 v8 14/14] dt-bindings: net: ar803x: add qca8084 PHY properties Message-ID: References: <20231215074005.26976-1-quic_luoj@quicinc.com> <20231215074005.26976-15-quic_luoj@quicinc.com> <60b9081c-76fa-4122-b7ae-5c3dcf7229f9@lunn.ch> <15d95222-35dd-4ea1-a1a3-3ad9e4ef0349@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15d95222-35dd-4ea1-a1a3-3ad9e4ef0349@lunn.ch> Sender: Russell King (Oracle) On Sat, Dec 16, 2023 at 06:30:00PM +0100, Andrew Lunn wrote: > > The following is the chip package, the chip can work on the switch mode > > like the existed upstream code qca8k, where PHY1-PHY4 is connected with > > MAC1-MAC4 directly; The chip can also work on the PHY mode, where PHY1- > > PHY4 is connected with PCS1 by 10g-qxgmii; Either switch mode or PHY mode, > > the PHY4 is optionally connected with PCS0 by SGMII, PCS0 and PCS1 > > are connected with the SoC(IPQ platform) PCSes. > > I don't really understand. Are you saying the hardware is actually : > > > +----------------------------------------------+ > | PCS1 PCS0 | > | | > | MAC0 MAC5 | > | | | | > | +-----+--------------+-------------+ | > | | | | > | | Switch | | > | | | | > | +-+---------+---------+---------+--+ | > | | | | | | > | MAC1 MAC2 MAC3 MAC4 | > | | > | PHY1 PHY2 PHY3 PHY4 | > +----------------------------------------------+ > > When in PHY mode, the switch is hard coded to map the 4 PCS1 channels > straight to MAC1-MAC4 and all switch functionality is disabled. But > then in switch mode, the switch can be controlled as a DSA switch? The > 10G PCS1 is then a single 10G port, not 4x 2.5G? > > Is there a product brief for this PHY? That might help us understand > this hardware? Not even digikey give any clues what "QCA8084" is - they list it as "unclassified" and give no documentation and no photo. Basically it seems to be a super secret device. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!