Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp24877lqc; Thu, 29 Feb 2024 09:18:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/XfWLdPAbbPWAZuSRHq6enO9ETwcA1lakDf84gFEQCiDUjb0VkpKiNYJIhY+kye2EW4CJ1nRR4OfoKHAS30JdCTDSpcK1niXOO1C8hQ== X-Google-Smtp-Source: AGHT+IGkfrJxI1bkYK5REg5SPJbZaTICzTuKXjQX/+xLTQThPjvjU5GWUsFSRsMeE0iOFHLL+tjW X-Received: by 2002:a05:620a:3712:b0:787:c771:ec69 with SMTP id de18-20020a05620a371200b00787c771ec69mr3530410qkb.46.1709227126911; Thu, 29 Feb 2024 09:18:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709227126; cv=pass; d=google.com; s=arc-20160816; b=V0HWdOsPRZJa6m1tGaD2taNQwWXstNdYk0wAq76UUYfEghPJ5mQHTEDAl9sKOSePPS mjpMevtTK361ku3lHwYK+4Ui9k3seMBrsE8fhHVKo47R6DZOLsgPBaHHoNaRHbZ2Eqk3 hOVL7I4kh0RJbNuf37SEwarV7F1eTofJdmzEPUcZQjE0JOEr7b8s7tXr1UhWM9uJ4bSz B3dJkyEqINDLaMPPDZaxPlLDEUzoVko/rrgVL+m4uHUIQINlU+6I78/dpSMWpYH/ghuV VVzFnZqNdImsQaNzLxJWIN+CrvqKPeJeqBOtv1Go7M2qK0/twslIifB75XQh74kA7C0r /Rng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=nDTd85D0N7TgWSzEKq+BxgNnlzgmZW1OM2gxs9VR3ZY=; fh=/Tse5rMkhTX42E+zT3Z/1W4eQNM2jyp7slRsUQYxz6o=; b=lHdtd16y1DewdhF0ZANLWclwsbwVxGwWSLv6vaN3GdN+SpsRujnv8M5Z2byDE9Z9k8 /VVcmzP5gPDFfkRyFS3KMsBXsppoVnsScVKV8KWPD1lGy1w0pYBiF6I7m4x7lPFVqwAz 6l0Iaqyji4SJPAUeG4bIpgl39oehdDc3AaB/zcO5oWpYjHXTGYUx7NYTepgay/qx0XHl IYpNMSNg4N1WuJ+mQTMMyk/BZB9NQkEf8JZsYCSy1rTrey00vjUNPlOihStJv4jNGH2E 153Vt2yKnQX/cvTBQBBndGzrCkav8BslRFPLXQMgmW28/X+MmJskGHI9bNovM/UODGv2 P0Ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VBYTBo5T; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-87155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w24-20020ae9e518000000b00787b0fe26cbsi1012680qkf.479.2024.02.29.09.18.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 09:18:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87155-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=pass header.i=@lunn.ch header.s=20171124 header.b=VBYTBo5T; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-87155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 A1DF01C21AC8 for ; Thu, 29 Feb 2024 17:18:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FCE870AC7; Thu, 29 Feb 2024 17:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="VBYTBo5T" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 41EDC5E082; Thu, 29 Feb 2024 17:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709227108; cv=none; b=RKLgK5tRDyHnMYrUOb1tR53u9H/K6YXWviFFg+3Q5QHx5XI7EYe80Y8mz3jkLZMtGfJHbMOCqUcWg7kxW0IzPqiEpfNNCD0Vi4LKvT2G/UC+K49NJWeT8nNeg+Fu/L504IL/coEiYOnukRqnFyh+yzXqkfAN07NYKGG88gIr3sA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709227108; c=relaxed/simple; bh=wLFkbz3gkSljFGtwkfV2wWbaprCVgevB+4kcM+B8hRM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FTLuM7qtkjK7QKrO6t9FFWYiNlp9kzyRpixL4wGzKWlDr7sCbyk4vgdfqKBCkmRvemZb90mdWK5UliFVZH6ur1HhLHK2GJA+pL+7E7HZ1fFvi9BECtRb+6y3aJsN6KH37R3GuizjAOiHFlHCkHyFDXrhBRbA6Ovsz6Br0OrhIss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=VBYTBo5T; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nDTd85D0N7TgWSzEKq+BxgNnlzgmZW1OM2gxs9VR3ZY=; b=VBYTBo5TjEwXvKL7n0GEU/Bl4R qlsi7iODH1JwrBMD+xa9T0IEeF+ITk8FVf1E3AWKHXTguVNnaB0m7XV/71KwVaCTFpvn5whbFRyi2 EoHvxhoXmXLjV3vOjie/Uc5vH6rfpUgFw0FAOIjvKHPCX6idla2gYa/5a9CyD46UOrt4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rfk34-0093vZ-5V; Thu, 29 Feb 2024 18:18:22 +0100 Date: Thu, 29 Feb 2024 18:18:22 +0100 From: Andrew Lunn To: forbidden405@outlook.com Cc: Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next v6 07/11] dt-bindings: net: hisi-femac: replace deprecated phy-mode with recommended phy-connection-type Message-ID: <1cba5245-08c7-43b0-8ae3-11db52e036aa@lunn.ch> References: <20240228-net-v6-0-6d78d3d598c1@outlook.com> <20240228-net-v6-7-6d78d3d598c1@outlook.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=us-ascii Content-Disposition: inline In-Reply-To: <20240228-net-v6-7-6d78d3d598c1@outlook.com> On Wed, Feb 28, 2024 at 05:02:31PM +0800, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > The old property "phy-mode" should be replaced with the latest > "phy-connection-type". In practice, phy-mode is typically used, and phy-connection-type is not used much. All new user tend to be phy-mode. ~/linux$ grep -r phy-mode arch/* | wc 1561 6258 113122 ~/linux$ grep -r phy-connection-type arch/* | wc 372 1489 28981 Most of the phy-connection-type appear in PowerPC. ~/linux$ grep -r phy-connection-type arch/powerpc/* | wc 247 990 18335 It was the early adopter of DT, long before ARM. The DT standard of the time, which PowerPC followed, said to use phy-connection-type. When ARM started using DT, it did not follow the standard too well, and phy-mode got used a lot. Officially, phy-mode is deprecated because it is not part of the standard. But practice does not always follow the standard. So both are O.K, all the generic code accepts both, and there is no real reason to change. Andrew