Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7777148rdb; Thu, 4 Jan 2024 07:25:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9BeCV7XbhRt2505BpPSzyDP8+pZfhUrkyW0Ad6NUeEu4yRTbc0u3efSuZXDuYS9XDTGcE X-Received: by 2002:a05:6a21:6d98:b0:194:f0c5:bbbd with SMTP id wl24-20020a056a216d9800b00194f0c5bbbdmr608993pzb.42.1704381926015; Thu, 04 Jan 2024 07:25:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704381926; cv=none; d=google.com; s=arc-20160816; b=oDVC8CH8mAp++UEzgn6vrz4sh7FhRfyaNDeJmOFUOmMGJ4EG81IA1N8AF4d8h8z/Bi OjAZqTOB1TEw8hIR3orlfJuXxIqUz8l5K8KzWEnFDsfHB2252uXQYIByYmztf0tDmH1N pmAswoQnQ7CjjN/vIctZdZ0S/iUkdTmb38gcn7eQoC2RoRnpK0K3HJnup4UoR57KMzDB MnFXb+Iowbjjz0dMho1shklowjb+4qiaEnq6yFFiAte9HXIw7I3FO1zjDkr6Go6v6GiE uFAL0VtHyEdZjOlDZBFt50yolQPupGXwsgQlwQIkNDVDp4/NHX5hYCzFPGH0IEn4DL+Y M9iQ== 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:dkim-signature; bh=1NX3sCNOh0ED9p71133Qk1RKXP6AygCB/B6GJLxt724=; fh=CL6UmORurVqH3LlL7D3M6HWWFdECRQMZgUtapJVrQKk=; b=q0gHpw4hCDzZFY2DMboK9tJ7Dc+ZQCH8cG8DTnuuz/9wlxZUDyPsTRWRcUOkXd1UyI PFMAH1C1YfCOw1vHhhe4GsX5HVLKy3ybOazo1YkwvYk+L72BrhrPXRJG+FQUFR5tzH9A AmqrgrsN1xaUoFwWbEXioJjXJxxzV3AdHC/UMG1niyXUlWRsTrPNSdBEw/sLOrITLzw9 vis8xEMo2aL9UJaWcOx8cFGGIeq8gy6rk/nKWnoBvMXdULkrLbtcW1bSAwzDCS8busBY ZyHlVfcZLUonZa2/578zT2dpyPlNlcS/K00e8euFB2slxqV4dai8LZsApcmmTlyppE7n MBjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=G0KGMjql; spf=pass (google.com: domain of linux-kernel+bounces-16850-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z62-20020a636541000000b005a1d88169casi23155530pgb.189.2024.01.04.07.25.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:25:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16850-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=G0KGMjql; spf=pass (google.com: domain of linux-kernel+bounces-16850-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 AAAE4286E39 for ; Thu, 4 Jan 2024 15:25:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C795B24201; Thu, 4 Jan 2024 15:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="G0KGMjql" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 907D7241E6; Thu, 4 Jan 2024 15:25:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-555aa7fd668so777268a12.0; Thu, 04 Jan 2024 07:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704381912; x=1704986712; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1NX3sCNOh0ED9p71133Qk1RKXP6AygCB/B6GJLxt724=; b=G0KGMjqlDdRlvv9FLW70mj4aTTF1HgarpXvvrtDRBVOEygzUX4U0GirVgWN2qlR5dr hReqLa2MlX+IhWI2x7p5oOJa+1JA0ktlGsO/fjmkidViHPO31o/A/QwblKgGGWDghW3A oOmk9Vmnpdlqq9GAeFIENac3Pa6f36KW7jVLgX5voGIQpug/ljHLiWb4AUCM9tgOaus5 8rhvhC6rKaxmsAMtv0xAOUuqhXgewibTRF1Yxzc78qvGfdcfjF991wKkB9tTnfvTr63a /HtlKQx/5jLO4I7Dlhm52PjfZXgwInxsNVr5+yAYdRt2jIJaAXEeWg+utPVX1OIr09u0 Ncpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704381912; x=1704986712; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1NX3sCNOh0ED9p71133Qk1RKXP6AygCB/B6GJLxt724=; b=lH8Mx9LprMd3mLM3aULCGEKF22dx7BbDDSTpryNc+6L7yexETq+XYs7RhHf+tdngYu 7G2PgWiqTY7mfFKQvU5ZV1z4TTtJuG4GUcd1SLlQ5QdvY+Rm4PLshaNE8ByKtpKRBCPT 7vXa+UcF7xhEKNjhHw07kYJBmn1X83jqJ5Tbv9XnSYjBJMfTXdD7zbGJYAtB+FYJ0mkG ey9yqR4bDT21Y34JxKxTFoIE2RdttO0zfkjwtVQwSDNtz6TgTtuKgeRYd9CPlgMebdkG 8VWSQZE5mrV0bIGtqgypS3Af/JFhy0nRsXa6XyzxYjkdXH49XH9dgkavTQ0/J+j+HONZ LfcQ== X-Gm-Message-State: AOJu0YyXtDyEV+En8Ypc7chqWjAAaezQiuJpoYcj8LadMVcUYgZm/zAe Up/Ma1q6oDgiv01HRA0Ef58= X-Received: by 2002:a17:906:4882:b0:a26:b88c:42c2 with SMTP id v2-20020a170906488200b00a26b88c42c2mr370974ejq.93.1704381911381; Thu, 04 Jan 2024 07:25:11 -0800 (PST) Received: from skbuf ([188.25.255.36]) by smtp.gmail.com with ESMTPSA id zh14-20020a170906880e00b00a28e5c875f8sm587686ejb.219.2024.01.04.07.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:25:10 -0800 (PST) Date: Thu, 4 Jan 2024 17:25:08 +0200 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Frank Wunderlich , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2 4/7] net: dsa: mt7530: improve comments regarding port 5 and 6 Message-ID: <20240104152508.nde2nzw4pvcjlov7@skbuf> References: <20231227044347.107291-1-arinc.unal@arinc9.com> <20231227044347.107291-1-arinc.unal@arinc9.com> <20231227044347.107291-5-arinc.unal@arinc9.com> <20231227044347.107291-5-arinc.unal@arinc9.com> 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: <20231227044347.107291-5-arinc.unal@arinc9.com> <20231227044347.107291-5-arinc.unal@arinc9.com> On Wed, Dec 27, 2023 at 07:43:44AM +0300, Arınç ÜNAL wrote: > There's no logic to numerically order the CPU ports. State the port number > and its capability of being used as a CPU port instead. > > Remove the irrelevant PHY muxing information from > mt7530_mac_port_get_caps(). Explain the supported MII modes instead. > > Remove the out of place PHY muxing information from > mt753x_phylink_mac_config(). The function is for MT7530, MT7531, and the > switch on the MT7988 SoC but there's no PHY muxing on MT7531 or the switch > on the MT7988 SoC. > > These comments were gradually introduced with the commits below. > ca366d6c889b ("net: dsa: mt7530: Convert to PHYLINK API") > 38f790a80560 ("net: dsa: mt7530: Add support for port 5") > 88bdef8be9f6 ("net: dsa: mt7530: Extend device data ready for adding a new > hardware") > c288575f7810 ("net: dsa: mt7530: Add the support of MT7531 switch") > > Signed-off-by: Arınç ÜNAL > Acked-by: Daniel Golle > Reviewed-by: Andrew Lunn > --- Reviewed-by: Vladimir Oltean