Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp325442lqt; Mon, 18 Mar 2024 08:52:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHKPA18nQqWXXQ8McC+EZKWE3xroJsI0A7O5pZ9LLKvhHpsEqGbuk4hRI253WqVW6SzZT/kHf2J4TF4MRqvZ+Be0IBYJTJeSorkIeaag== X-Google-Smtp-Source: AGHT+IGY+SeHcZOWfYyz8iW0wpK2YLna/K1faw3xpTK3/pmcv4+QiGMwQasnMwvJPmGUNIP6YMb/ X-Received: by 2002:a17:903:428f:b0:1e0:2b2a:fe40 with SMTP id ju15-20020a170903428f00b001e02b2afe40mr78840plb.40.1710777177059; Mon, 18 Mar 2024 08:52:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710777177; cv=pass; d=google.com; s=arc-20160816; b=IcK28EZrOzdSRcu45Q5C/+toFWHKU1DDOwF5hLpZMWAK+dyba7kpjA17mO02ZDe9a1 ZIhNgLB8LwyrKmdBxXf2wMl44JvL4fVXwJ9ix/05K+4QUpg0mSuTgECulOu4y/zCDFJT M/nfYx1W+rrJNDOpLd3Kuo86Y0W2hj8XPaJyi7/ypQwHCE/7P4+FxKRCbOEkM3QmMuDw rvio2JU6DpoP8mcrp76ig/TMlCEXvAXPG+XbL3JbWrA09lCP2k5sLSt+CG23Fu36FMtL rQ1TsL4HZwGa661L/tK6uK+Ay71eICtClSREklJ9o+FRl8DMDOWyIJjRe76PRMAZ8YuZ LZSA== ARC-Message-Signature: i=2; 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=A05q6KoR0JEWg+AapjwLG9ZBzCyQlsIDEalElRAtOMg=; fh=2qPrAZHxZLEqgXLzleT3YnDSJX1VvPN04wp9OiO6cgA=; b=XkTDK1qKeHrgQrqg0vrA1hzZITqT88Hi6az2oSi0iratP8Oskmf2TlyNi+yGyqY1De LoalR/vmEELLFu4CZ8qBg6nLaFou4qiqCfT5XGQlINmfVw8ecEYM5z+9SguCCNM0Vber p4BwfoD9Sc3+g2ygB/qE+7bWbmWmRY82pCDsDO6yYzBHKJ3lmyvKdQ/WX0QBL1S4XsKx 1iZHQA9J/ym8qEUTEZNsM0EAxSI0fCoITpYNR63dBacMlEF2fQbwDyytRp2EPsIHL/Bp jSWtMVFrV/Z0lr/P2vObBHfsCpzZWWSZOGa6vaMteZGTB3ROnEESrYU7xLDiGmK5WlwP uyPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=L5UflZSp; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-106337-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106337-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 u1-20020a170902e80100b001dd772f0246si4328949plg.169.2024.03.18.08.52.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:52:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106337-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=L5UflZSp; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-106337-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106337-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 DFE02281113 for ; Mon, 18 Mar 2024 15:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C989548EA; Mon, 18 Mar 2024 15:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="L5UflZSp" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 915A852F83; Mon, 18 Mar 2024 15:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710777085; cv=none; b=mv5TWpq9HCivIK5/lY/pxD9AP7LryLi6JnX5c9QpE/vNGK3+wZdRPyII6VcsqS9QIwNYpNloUeGcoH61iAeIzcz7ZgO6GgxDMvZjlaKSm/KRIq3UEyJPLixoTLu/vIoBD66IqDYMnK3MeTN5rLLyDtV0yBVpFxKnjZphqfDeDWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710777085; c=relaxed/simple; bh=1fZJZWNWJbLA2ckdpmhdzs+n3qrTr7rfpP5E/IhBtCo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mFuN5XZj1kXhaopYpKLq97Z1YQbjMyKeXjQDOFmyhLXwYnA+tZPmZLI+BoG/OHlTvxD99yK/adInq5o5ImHxbzY6dGrxeeBjpdRQ2jC0QbP6r2q1NTMF8uStxGFuFoNZrq4c72vkZAWP7a2m6eW2LK/EhDg8QDfS5+Zn7CBewbU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=L5UflZSp; arc=none smtp.client-ip=217.70.183.196 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 32915E0005; Mon, 18 Mar 2024 15:51:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1710777075; 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=A05q6KoR0JEWg+AapjwLG9ZBzCyQlsIDEalElRAtOMg=; b=L5UflZSpH2pvPOZJq67tgjFsh9FmimSSKG1CIj7BkPVn21owzSnc2FCv1Z8TXrEjr/COf8 0uJVcTuS33VzvGeLFN5Y/XcLYfniCTmzArj5bhddNit2+9A67ea1/6PUZkM2PjfNt4bSIp gGAvUAuJtQaviRuMz5g6AlLTzU7rKdCtuTIqQHiGWdfqU3cyGUe4YpgG7UhCFDNJXV3WWo mTc9Zt0BhBXUR0vUveKS1+oTBzjeRHXVKOtVu2r+2ZQ+BGfMtE7ldow4JAVLJdcje4hfbj ro9naMUU213HFXZdugz0B+Ej0dYWyoTFn04VRizljW+pYZWxFze224bvvcYUVQ== Message-ID: <4c1c4420-b539-4e29-972d-cb3838fff066@arinc9.com> Date: Mon, 18 Mar 2024 18:50:53 +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: [PATCH 1/2] arm64: dts: mediatek: mt7622: set PHY address of MT7531 switch to 0x1f Content-Language: en-US To: Florian Fainelli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: mithat.guner@xeront.com, erkin.bozoglu@xeront.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240314-for-mediatek-mt7531-phy-address-v1-0-52f58db01acd@arinc9.com> <20240314-for-mediatek-mt7531-phy-address-v1-1-52f58db01acd@arinc9.com> <94e3d09a-e6a4-4808-bc29-3f494b65e170@gmail.com> <62d128f1-11ac-4669-90ff-e9cdd0ec5bd9@arinc9.com> <71dd200a-0306-4baa-abab-6e6906aeef2a@gmail.com> <7d1ad037-d8ac-4b9a-b6d2-ab683e52a898@arinc9.com> <23f4c9b1-5c6b-4f3c-9290-41d195650368@gmail.com> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <23f4c9b1-5c6b-4f3c-9290-41d195650368@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: yes X-Spam-Level: ************************** X-GND-Spam-Score: 400 X-GND-Status: SPAM X-GND-Sasl: arinc.unal@arinc9.com On 18.03.2024 18:38, Florian Fainelli wrote: > On 3/18/24 08:26, Arınç ÜNAL wrote: >> On 18.03.2024 16:02, Florian Fainelli wrote: >>>>> Can we call it a pseudo PHY to use a similar terminology as what is done through drivers/net/dsa/{bcm_sf2,b53}*? >>>>> >>>>> This is not a real PHY as in it has no actual transceiver/digital signal processing logic, this is a piece of logic that snoops for MDIO transactions at that specific address and lets you access the switch's internal register as if it was a MDIO device. >>>> >>>> I can get behind calling the switch a psuedo-PHY in the context of MDIO. >>>> However, as described on "22.2.4.5.5 PHYAD (PHY Address)" of "22.2.4.5 >>>> Management frame structure" of the active standard IEEE Std 802.3™‐2022, >>>> the field is called "PHY Address". The patch log doesn't give an identifier >>>> as to what a switch is in the context of MDIO. Only that it listens on a >>>> certain PHY address which the term complies with IEEE Std 802.3™‐2022. >>>> >>>> So I don't see an improvement to be made on the patch log. Feel free to >>>> elaborate further. >>> >>> I would just s/PHY/MDIO bus address/ since that is simply more generic, but if it is not written as-is in the spec, then I won't fight it much more than I already did. >> >> I'm not sure what you're referring to by spec. Are you asking how specific >> the name of the PHYAD field is described on the standard? > > Spec = IEEE Std 802.3-2022 standard, aka the document you are quoting. Ok. The field is referred to as "PHY Address" (capital A) in a sentence on the standard. I interpret that as it defines the term to mention the field in a sentence which is why I'd like to stick to it on my patch log. Arınç