Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp115072rdb; Mon, 15 Jan 2024 14:25:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmUVGjiZEPZNlArzyLxmibPqWaJjwPxn3Tx9T+UedUdqFsLEDTjxIswtRwGP1EluByBvGi X-Received: by 2002:a05:6830:1e19:b0:6dd:e0d5:80f6 with SMTP id s25-20020a0568301e1900b006dde0d580f6mr6813173otr.12.1705357539381; Mon, 15 Jan 2024 14:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705357539; cv=none; d=google.com; s=arc-20160816; b=m/Y8GxMy15Xk6GQ1eGNr10bdt1BxpiFaWrViZv1Gbrox8dFrRwdjSEEAe+hESev4dX BC2ApIPnddBAGPvgzj0B6NcofAhU8gPEwABvM8PtuZQm9hysJeAro1EvzO6fTzr6jVCp SmCuGIYqq+AH2QDB50H7F9W1VluoBWTeDutx4Ynz9X8x3yeq+ZjjhsDGaafAvosAdXrb nZ0pXRrkq2+D65HocWO9WacgHvdVpfTxY56mH1WYASw8tZv0Ml2kcJm3bkmNie6R+AJ1 5GwndiebAVXdG8mjCb7bnAUMIZTZLwMiFNsgttZpLcFqk/mmewJgovTtpaZ+ZUSpQw8U hTVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=bYsqXLIJBdBHokEmUabMB2nxu52sqIxhbhgu7UC/2n0=; fh=vGRZB880DWb3A+aNQbDTV6Kr4jDdS3CJu9EW8fWHmTQ=; b=ZM5kESAHJPh//G9B/2XLgmIH6scwy/UC8DSWkTHF9XUeVAy5bmv3HIxkIrv72FvnpA Hs0agNTmVXqNYNqWlie0buA9Korw8X0DygnkhlZd/L0rqMdtjyZBa1wl6Y4BCzqljLHK TSVjiljCUkwQsnMzVx73rsWDL0RR164t9K+VdeHwp09+Dh/TCOBT8o0GgXKXQ8tZAsw8 emAuDwh1UBoDiPcRqEv5cwQ6+13V2Z6yvLMiF++A1e6mRcv68tgIN1yClmr6nRHXh4yU /1xMuqG+KB68cYWxN3GV33u3vum+NphxabneqIkGEZ7jC9Wq50Rz8UX8Vrug9RdpTSHy rBMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26517-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ch10-20020a056a00288a00b006d9ac879d9csi2437596pfb.171.2024.01.15.14.25.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 14:25:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26517-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 668DEB221A0 for ; Mon, 15 Jan 2024 22:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C30F1B5BE; Mon, 15 Jan 2024 22:25:24 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (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 42D4B1B594; Mon, 15 Jan 2024 22:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rPV9M-0001ug-11; Mon, 15 Jan 2024 22:09:45 +0000 Date: Mon, 15 Jan 2024 22:09:36 +0000 From: Daniel Golle To: Vladimir Oltean Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , 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 Subject: Re: [RFC PATCH net-next 7/8] net: dsa: mt7530: correct port capabilities of MT7988 Message-ID: References: <20240113102529.80371-1-arinc.unal@arinc9.com> <20240113102529.80371-8-arinc.unal@arinc9.com> <20240115214238.bnlvomatududng6l@skbuf> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240115214238.bnlvomatududng6l@skbuf> 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