Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp341384lqp; Tue, 11 Jun 2024 06:21:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXefoH6VF4v4gEP6kNmkrHL1dRm4PNFPCF73JEiBOvTQBKQO+H2pY7PZ8mvsrMRUuQeAEU8A5HCxesBmVhk6fA8alGNO0sNcS/yT1yDEA== X-Google-Smtp-Source: AGHT+IEieIJrIJZSzItPJdXYxf9F6r3jYugx4Td+mYoYqJhSF1sSdk5073EIOEwLgbjyvi8RZS12 X-Received: by 2002:a05:620a:2481:b0:795:cce7:9a46 with SMTP id af79cd13be357-797c26d3b29mr514399685a.0.1718112095623; Tue, 11 Jun 2024 06:21:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718112095; cv=pass; d=google.com; s=arc-20160816; b=MdsEzqVuGLryKT6Zcm86foPflWHB+mZtPm8Zimp00uvdPNyJAo2Gd360/L1y/HXrjh gsPdMFNaTIomm2GgN5bKgP4WksI7Y0UB8kn0op67nTdJ3T5qdVfkK47fYChomf20gd31 /Bu4Hdo7XQXfzUDj+gnK+C2bVq4KTy+5jWoBu2oIHGR2Sku6mT7at/7wmXHwLLDWoBQd 9jzNBItSQpJyaKmz+z+40jsyw/M3DwqaUmIB84THBU8gmeMAHqgVBotfox3nhJjBPq4c 5XW+EGMhBCCOpkJzCVgt9onNxBnO2gXwapLE7Vb/rgczJYEPGZ5RojQTaP9pK9hLXT+v gNzw== ARC-Message-Signature: i=2; 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=+V9OrxfREx1kEorG7byrGojydV3IAsYO8seACV3xijQ=; fh=SutXm6zL6044T5dbfqWKKCGdSEpCkktNFvvNtNadQDo=; b=ty6JscypY4zJxyt6oqdZ++Pr8PlQetUWAnbShbmOZ0kU4I/c96iHfNS37X+EPWa786 MA2ncHr5Q+LM8O9ZZCkiRwu4WZx40SQXA8TNEucJbIRPpjLUDLhxkjDHrlYKQwcf51QL XpK8ut2ICvMm+F8k+AW9CLgQ3XCMDMStHT5LSLyeXY1On0+lZ4mB0jHmqgt5UxLh1sjg 1rI3p5xrNaZqZvwNcxse3x8prZ5B9BT2KF4sV6hZa/xVqMFuw8gbHgECAO+oJYHSEw9W 7eo5Ggn1Q/DKFp9kKoLsqgn9oLVUjkN2Z2Scxn22Q4GH/MCOkyNjwIemtrj6dHPHc3U2 xQgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hX++gOoL; 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-209926-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209926-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b086bf5a0esi31906486d6.303.2024.06.11.06.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 06:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209926-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hX++gOoL; 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-209926-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209926-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 5B1EC1C23A4A for ; Tue, 11 Jun 2024 13:21:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8FAB17CA12; Tue, 11 Jun 2024 13:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="hX++gOoL" 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 5D55417C7D7; Tue, 11 Jun 2024 13:21:21 +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=1718112083; cv=none; b=jWTGmawK4pfzR+DdT9l/o9kvyJUgpY8SN9sc1BJ7Vdd8hDuxUHXtaXXR4UZJukHWQyOrknuWGvmG8x6wwMYXyAucF7yduid1IR/5E06d191D5/99ECm4gIhnbQTBAY9CzA5OdiB2cfN88ZbFrTsUoYroKdN+JQPVNbwBvEHS46M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718112083; c=relaxed/simple; bh=yBk1izK7yPb+2BLQn/5bpktLFQpC0tjKDfxcjcrOTNk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ughbzw0zUjtimTbGN6wbWwoeshgNk11vcEyGQVTqNuyXRBNvXgykzNGaF+3ytzDAp2iCJ5JoalT1vJlfoe0lqF/q43gmYrGGKJP0lTig11jXnL5OkfMTCbSnxmxfIhEdC1Smmk0zaqiz/yVjbgiMwSQ6f8ZyBETEVNF9DTlYMlM= 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=hX++gOoL; 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-Transfer-Encoding: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=+V9OrxfREx1kEorG7byrGojydV3IAsYO8seACV3xijQ=; b=hX ++gOoLYyBwkJbyP4qyqh6HbF3FaCGVTobhWZB2jsGS5h8TeWiDY4fZI8C8jDMdYmgyDSj8UtlIwPN GPf9JZ+5CY1GbvzRw1MPj9sTYPsgAu2UHLidh79Q8enULgT44fs1Emr0coU6HRJzypmnVNNKYJEk+ IBETdPzE+xCgvvI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sH1Qv-00HODM-Gr; Tue, 11 Jun 2024 15:21:05 +0200 Date: Tue, 11 Jun 2024 15:21:05 +0200 From: Andrew Lunn To: Chris Packham Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH next-next] net: phy: realtek: add support for rtl8224 2.5Gbps PHY Message-ID: <243d5e27-522d-408d-a551-d11073cf330b@lunn.ch> References: <20240611053415.2111723-1-chris.packham@alliedtelesis.co.nz> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240611053415.2111723-1-chris.packham@alliedtelesis.co.nz> On Tue, Jun 11, 2024 at 05:34:14PM +1200, Chris Packham wrote: > The Realtek RTL8224 PHY is a 2.5Gbps capable PHY. It only uses the > clause 45 MDIO interface and can leverage the support that has already > been added for the other 822x PHYs. > > Signed-off-by: Chris Packham You probably should Cc: Eric Woudstra and Marek Beh?n who have both worked on 2.5G variants of this PHY. > Notes: > I'm currently testing this on an older kernel because the board I'm > using has a SOC/DSA switch that has a driver in openwrt for Linux 5.15. > I have tried to selectively back port the bits I need from the other > rtl822x work so this should be all that is required for the rtl8224. > > There's quite a lot that would need forward porting get a working system > against a current kernel so hopefully this is small enough that it can > land while I'm trying to figure out how to untangle all the other bits. I don't see this as being a problem. It should not be possible to cause regressions by adding a new device like this. If it turns out to be broken, you can fix it up later. Andrew