Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8094707rwr; Wed, 10 May 2023 18:03:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4wjVXwK1vvtqlijBK5L6MScE37Rb/l6tGCdx1Efmz8XrWtvQKh+JAYuOehaIX1rfELhcT6 X-Received: by 2002:a05:6a20:12c2:b0:103:883b:10c1 with SMTP id v2-20020a056a2012c200b00103883b10c1mr3477190pzg.41.1683766996938; Wed, 10 May 2023 18:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683766996; cv=none; d=google.com; s=arc-20160816; b=jHfq68kuaBJs7qF6ec7nHcoMesRNsW4cZH6nV2YDRZCENJrSXeIF56U8OM/ex3N2wC lqbh1FEUGNoavDlIvNwPYlITPCWF7zXIBThwwSfwD1F2BeSaINipNTLTdv/oQr8XWZw5 7y+V3TVmW2e0Fqk849SvjuXLq1k5dNmduOqI7mKQXAJyZR8invtgTN+TyWA3JHqAAdT2 bgnsr+yf4xmpvH7VctDFSQlIbjmHIRHPnJ7CY1uHyS/+0BKgzsfB4CpwjHlnFECFKl94 SNlLNPzSq/yp3vU2q1Om41GLycD/zfTb//+56QzU/5A683aeUZ9IvWDMPkpanNrx0knZ 2oxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tcLipFI9l2dcvpk4UR/OvX7URY66r8z0RDWBBZZI3BE=; b=apqz4+CZ7xcUzpz9NEx4yKtcgVVXmjMrP+J0Brtb0f9YCF7KNhSLl2ROt/aFnyY32c unPZ+3vylbDl3qbb9wakBpdlmNckdhhdGMsCTgbqZrljl1yBbw5aR80H+sGXK9eZMRSi dskYgIu1CYlVUik602FY9totsQTGm2Hed/QsttCyKxNqYcy0deZhZt6yB8WA9JpdK+L6 zjckK/usMu/0PvvZjzxAms6Ua/kO5bFxjL0MbvuxcivW0IB9CoGpsX7/PyO7GURbgct/ AYHlqx8GRMARc+7wgjaz774O2JgRRet5axYk8uEy8eKwCQqcDHvzaSjLCYQJsTgAF+Xq AC2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=0N0j6XxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c70-20020a633549000000b005139d2b9306si5140529pga.514.2023.05.10.18.03.03; Wed, 10 May 2023 18:03:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=0N0j6XxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236101AbjEKA2b (ORCPT + 99 others); Wed, 10 May 2023 20:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjEKA23 (ORCPT ); Wed, 10 May 2023 20:28:29 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 279151B1; Wed, 10 May 2023 17:28:25 -0700 (PDT) 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=tcLipFI9l2dcvpk4UR/OvX7URY66r8z0RDWBBZZI3BE=; b=0N0j6XxO3sdBOByU603/1de0hj /3hAgqsZZ3F3RPMO2svK5cPiOmcQq6mrUZFp5d+0oCVrYwV4e67vqCE1jGYcreFAwDDXxQzjpUdt5 OMv0rgJ8WMDZLY335P/kWuyBEKmtL9xTba9nuR4dP4wYYgp2DQiqXxi8VQbXS/cw8vvk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pwuAJ-00CUqP-8i; Thu, 11 May 2023 02:28:15 +0200 Date: Thu, 11 May 2023 02:28:15 +0200 From: Andrew Lunn To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , AngeloGioacchino Del Regno Subject: Re: [PATCH net-next 0/8] Improvements for RealTek 2.5G Ethernet PHYs Message-ID: <55c11fd9-54cf-4460-a10c-52ff62b46a4c@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 11, 2023 at 12:53:22AM +0200, Daniel Golle wrote: > Improve support for RealTek 2.5G Ethernet PHYs (RTL822x series). > The PHYs can operate with Clause-22 and Clause-45 MDIO. > > When using Clause-45 it is desireable to avoid rate-adapter mode and > rather have the MAC interface mode follow the PHY speed. The PHYs > support 2500Base-X for 2500M, and Cisco SGMII for 1000M/100M/10M. I don't see what clause-45 has to do with this. The driver knows that both C22 and C45 addresses spaces exists in the hardware. It can do reads/writes on both. If the bus master does not support C45, C45 over C22 will be performed by the core. Andrew