Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp446334rdb; Tue, 16 Jan 2024 05:31:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5KTYFn89WQ7l2i1Vhgm9udmVMP6Y9ubVgni55ET7aj9SNH8Fc93XiDH9EHtqOVieedd9x X-Received: by 2002:a17:902:da84:b0:1d4:2b9a:9708 with SMTP id j4-20020a170902da8400b001d42b9a9708mr9741407plx.112.1705411917600; Tue, 16 Jan 2024 05:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705411917; cv=none; d=google.com; s=arc-20160816; b=ehAecqyuxTHXfREGnM9rkLgQG2UrykF6YIkve0ci3XmoTKZPdiMFZsfeAXqGYDL3ls KrsW3gz23cJuOTnDWrrSHLBjfUiV5/iWzJZ2a6UZfOMnUJQpAdxSYDdpsHxz8XiJtmUh NNkFOf113OgBiQLDW8Sn6zFf65+UVihvBpdRaivhmsxxhHYTPXKk+AXpWtom2oidBMu6 2d5BTYDdkCIlVJOJl0VAOY9UhCWB7Tz0E69mgK+DwbIsfycv/aHGqCJTBk0i30Dv4TZ9 uD2dKCwYYsQ6+m2vKn6x3HXyWnI3k1x/CbrICVcoSd2yJqznzW5G8qSqr9E7d6k/pi2j /iwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+GGfIWOZzoS5FI6VacxBhh6eflIWOIAfi24KVKKdHfY=; fh=m9H9HXPgaf3JD9qG5wxWnxLp5yp+edVAxVdsxNBp4Hc=; b=l3E1nyhqx1YhrDJDCQvMY/k39AxLjcpQhSLPAznym/LP/XYsP9t0NY4sCrIFWpqqSN 79GboFO0I4Ak95tT6d+9+Gt6kdQVUUmL5t7yg1BDam9JBOkIzeMASBz0Z5el73bK1Yl5 PrA498SArFvQusnRFGbov8cuEssfmuQnf8HUL2tOHhY4UBQcPMLv5bo+Gg03adqFSXsk 9Fb8YcdD4AyRZfPZ1iDJsgOxUdNFFD4Vs1FaSB3vmMBb3B7fPc2VPX56kXkPGGoOO8w2 ZCbdc0tkrPSYmrI0oPlpy/kSzi2p7+xBe+FP97QGyB4IC06DoOz7W/ofIleZFKJYqAe9 Xh5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=D1yNi7bo; spf=pass (google.com: domain of linux-kernel+bounces-27421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id kn5-20020a170903078500b001cf8e9e8813si10725767plb.315.2024.01.16.05.31.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 05:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=D1yNi7bo; spf=pass (google.com: domain of linux-kernel+bounces-27421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 48349284125 for ; Tue, 16 Jan 2024 13:31:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DCA31BDC6; Tue, 16 Jan 2024 13:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="D1yNi7bo" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 0CB351BC47; Tue, 16 Jan 2024 13:31:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id F1C9760007; Tue, 16 Jan 2024 13:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1705411903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+GGfIWOZzoS5FI6VacxBhh6eflIWOIAfi24KVKKdHfY=; b=D1yNi7boiHKa08RmzfZ6e2rsRmm1OFbabWijcNnT6H2ifQWwEn128b8yg4R7A8gA5WJpjE DH8SgTCStZCT55yl2OIvuYFAzknW1ULVe2+Q91EpFHI8HUhx+ixb+2W/AuY+fI+sdTlSdS WU4MWcG//90J9h9sA6a+x6qTkDuByO2rldOp7ilHMedD6Wo+EiWg5QczidTE3SeXJmwOFv sEyJX6s8hd5sv+sOnng9NNXHn/5mJ5pU+f9P2O0N+SY9Vq0JDHkc+fFy/ehzs9B4Y/Ji5J +6hM5dD0FmABHXb/voX6CWeOTK8kTgnIc4INpgmiNnaPKpO1sIVUD7yyfsbsUw== Message-ID: <656cf9e2-2ab9-48ea-9eea-7599f14f3a41@arinc9.com> Date: Tue, 16 Jan 2024 16:31:34 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH net-next 7/8] net: dsa: mt7530: correct port capabilities of MT7988 Content-Language: en-US To: Daniel Golle , Vladimir Oltean Cc: Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, Luiz Angelo Daros de Luca , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240113102529.80371-1-arinc.unal@arinc9.com> <20240113102529.80371-8-arinc.unal@arinc9.com> <20240115214238.bnlvomatududng6l@skbuf> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 16.01.2024 01:09, Daniel Golle wrote: > On Mon, Jan 15, 2024 at 11:42:38PM +0200, Vladimir Oltean wrote: >> On Sat, Jan 13, 2024 at 01:25:28PM +0300, Arınç ÜNAL wrote: >>> On the switch on the MT7988 SoC, there are only 4 PHYs. That's port 0 to 3. >>> Set the internal phy cases to '0 ... 3'. >>> >>> Signed-off-by: Arınç ÜNAL >>> Acked-by: Daniel Golle >>> --- >> >> For this patch to be obviously correct, please make a statement in the >> commit message about port 4. It doesn't exist at all? > > Correct. As shown in Block Diagram 8.1.1.3 on page 125 of > MT7988A Wi-Fi 7 Generation Router Platform: Datasheet (Open Version) > Version: 0.1 > Release Date: 2023-10-18 > which is available publicly on BananaPi's Wiki[1]. > > Port 0~3 are TP user ports, Port 6 is internally linked to XGMII of MAC 0. > Port 4 and 5 are not used at all in this design. > > [1]: https://wiki.banana-pi.org/Banana_Pi_BPI-R4#Documents Thanks for chiming in Daniel, I will include this on the patch log. Arınç