Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp147074rdb; Wed, 14 Feb 2024 16:08:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVzUh4OSJxabb/KYdhrL2yxVKaSPQqoQO39HL649KMh8mdzqQrw4/68K0NcINYYR/qCQIEKwebm7K2rHEqaYBrRgbiAAnCaP30gliBa4A== X-Google-Smtp-Source: AGHT+IF73e3pPXzCYTlL4pUmnpTfbxmnzEuMOgdugFo/ofDO1sBrFdprxF3RQGiIFK1F6TKW5Q7Z X-Received: by 2002:a05:6512:2208:b0:511:674d:88c5 with SMTP id h8-20020a056512220800b00511674d88c5mr281219lfu.13.1707955714030; Wed, 14 Feb 2024 16:08:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707955714; cv=pass; d=google.com; s=arc-20160816; b=TOCKXUT3/2w6xTPRyv7Z74LdABH5XWfBe/s5vIC5YVuj6gX21620Fe5DnJO/0iLDM8 yNqvPRV0UChbRB+i996dwwhMOM4ZCwVmkbjlm7RV/SAjs0BLPday8OtUye4Vcowfulbc RfJDPC1zxfv7iAsixQV9lFjidRq+rtzvA0X4qs/yasS7okcPR3UbiLQ/uo3IPWwz+S8y 87g+mC7miNMYNG7KpphT3Hwr19XBzfvTBFMtmXWYorP+wEw4UZGuVZznADS6Xt5fK/pz bOHQpB1a+r4ivXvNLQjI/aMLRGwuu0ssMgxSlOeLoXQb8Dh2WWquA+G7B9J+z0R5AcF/ cCjg== 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=jmuuAVLyIEYFzeQGBmFR6Px/vcsaoxt5kPfoddRrxKM=; fh=EPcEwAX+8Gi2GJ0+23X1V7hhoe1aT6a7bfzIrRmeYrM=; b=KZlfQwkkv55z/hjf3DrvV1MFyF44dgGtFiWYh3lWKoPPc0NGWE9yCqI7zmnFbGUN4o u3V5cpytu2BYcg8DEBFe4dN1sRHIxWdCqOwYp5EySeNlEBDjsEVEVh1K/Q26qH+MbKx9 lgkknerosSXXs0/3/dJWaxxXc+dTVmdacHoIG/S49Y7pjPMHTyz+/t/o2pxZc5nreohp Mr7Cb6ClJd942yxXoRrvkh0VZHLmYZ9nCKNjpgYnum/oNrUbx8h3wqQLb9KMdrpze/x4 V+pQXC05lJtrxpsLa67y1kp6Pjuhbw4jPrG9wFKzctjnQEuQnC4+LgSv6pDTmh4Z2Vks 50Sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jyEUpOmw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66176-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f8-20020a05640214c800b005605c7b1e98si52655edx.151.2024.02.14.16.08.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 16:08:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jyEUpOmw; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66176-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B5C411F23205 for ; Thu, 15 Feb 2024 00:08:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA79CECE; Thu, 15 Feb 2024 00:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jyEUpOmw" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 5E654817; Thu, 15 Feb 2024 00:08:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955705; cv=none; b=N3silsNS/RxasE56dEcaDBvSZvXnp49FWtDPEhwCk2yVhg9s8WqqUCiw2tZ999/hFXB0syadp3wsFmnMRLJ/glAmQEaebtaR/8sHTtwsVl4fZMkA/NH7GBDKantyxu7hPnVXqnQa0wBFhY+HWJcSP+gcu7vlsB2ryZDYiMnCP38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955705; c=relaxed/simple; bh=3skvXUzX45ZQt0Qt04jZ9w4wi2O+ZfeRwqQ5jndZYRI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lDX3YwYuSMFexvl8GeyivjkI4bVjkJXjHkayEuFL6fphBA45MGwmuXwhFrGNcriTBRo6uRLRPCmiC198Vnv2xvuFrzEfUHeka792TaGjdbuV1Xmsmf2txaBkP/wK7LcifycF0hZzDtQd7VUADlFiLtJzNTK2fyi+i3lTTogU4lQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jyEUpOmw; arc=none smtp.client-ip=209.85.218.48 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-ej1-f48.google.com with SMTP id a640c23a62f3a-a3832ef7726so33671666b.0; Wed, 14 Feb 2024 16:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707955701; x=1708560501; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jmuuAVLyIEYFzeQGBmFR6Px/vcsaoxt5kPfoddRrxKM=; b=jyEUpOmwaYqH7I1csH81pu9H+MrGA8jt8TCqmRGrxwCf6DuZ8nhBTq7OKdpwnj3G38 24krjLl651UXTrwDvovwGwgGvwKfhwhJXmr5kolVM0Pm9iMfobx0X5jEXzA3MjIxDVWX +/x3IKcMgPdSDYYlgUxffgJtBy6bl5Mfs0bRYmMNz7zeuVeIO45sxN3ZGO5JiVYgehkH FUTl+DS3Y/UZdlRClefFGAZtG4cuTuYcjA6ZXMeG1IwPY15Tvu7RDtXgfbsCjDe0Gh7x WaiQ3BhYrILgk2YLHB4/RKhXHLFkxjnBNQoPYfxkU0A3NPOzafHYA9grh10Kyq1pqKxY nw7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707955701; x=1708560501; h=in-reply-to: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=jmuuAVLyIEYFzeQGBmFR6Px/vcsaoxt5kPfoddRrxKM=; b=kE2Ju9980G7RfjS//TlXDVSboQsByucUY+8XXv2PV2mOswc2XDQZoD9eQtASefXwmt qBOUymMUlPQ4Yv5fw8ri5XyIQ1QtLK+N9nvaGgAeJkaMlHbM0jwWUmbOD3JTJit1mnwf UI4mqnW6fOt/i2IRGuvaA4OPGeykGn6lNVb4t9kfA9IEcpneS3251YFsJnAOX5vOXVyd FCJPdlq/f2L0RiXvhl0rGggi1VuQEfH7MUvS7J3wohSaH/5OXGzk7CqqSNWeS4SJe7Yp uS574R7j+l2lT48NkAxlRiGaTlr52TRvzDPCHXZWx6j2QaKmIX3r0ZETr4O8x3WKGJHO B+ag== X-Forwarded-Encrypted: i=1; AJvYcCV5VbkuBwwibjFqmz7o6z5HzJMrL8P/P96Y4WrU4EsNtxvWur6f27Afif5H7MkSfWy1H9doJFANEjIWRjFbEeEzDI6D5z+X4ppv3mLf X-Gm-Message-State: AOJu0Yx8Y1AtyA5SreeRC9E6AP+dz0VRxD/60mPBWnUeTGz9J1HQjsZk K8vN3vsEbAYg+4mpuOkjI/Q4LzmmuRCIrB9VMVaqzlske/KZI3jO X-Received: by 2002:a17:906:6808:b0:a3c:fad1:e61f with SMTP id k8-20020a170906680800b00a3cfad1e61fmr67909ejr.37.1707955701560; Wed, 14 Feb 2024 16:08:21 -0800 (PST) Received: from skbuf ([188.25.173.195]) by smtp.gmail.com with ESMTPSA id fj15-20020a1709069c8f00b00a3d26805852sm20756ejc.17.2024.02.14.16.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 16:08:21 -0800 (PST) Date: Thu, 15 Feb 2024 02:08:18 +0200 From: Vladimir Oltean To: Pawel Dembicki Cc: netdev@vger.kernel.org, linus.walleij@linaro.org, Russell King , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v4 03/15] net: dsa: vsc73xx: use macros for rgmii recognition Message-ID: <20240215000818.p2x3pkmeqf5dzcj7@skbuf> References: <20240213220331.239031-1-paweldembicki@gmail.com> <20240213220331.239031-4-paweldembicki@gmail.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: <20240213220331.239031-4-paweldembicki@gmail.com> On Tue, Feb 13, 2024 at 11:03:16PM +0100, Pawel Dembicki wrote: > It's preparation for future use. At this moment, the RGMII port is used > only for a connection to the MAC interface, but in the future, someone > could connect a PHY to it. Using the "phy_interface_mode_is_rgmii" macro > allows for the proper recognition of all RGMII modes. > > Suggested-by: Russell King > Signed-off-by: Pawel Dembicki > --- Reviewed-by: Vladimir Oltean