Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1936409rwb; Fri, 19 Aug 2022 12:01:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR68h5242PQiWfZ/RxnIPRgSfigZyIOO0CwtKNdGLpJ2ud4mw4HdQoOzW+mz3gm38UtHYrsd X-Received: by 2002:a17:902:d502:b0:171:47c7:a62b with SMTP id b2-20020a170902d50200b0017147c7a62bmr8673373plg.117.1660935717620; Fri, 19 Aug 2022 12:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660935717; cv=none; d=google.com; s=arc-20160816; b=egb7j/u38ESjNUL6SUVkzeu8bKFyyJ+4VCOJlgWC8Hgl2NnUckgKa43+T3MtXBQMrE 4vvpV/XidFEHhdWzRbijVmpYIzJlpuEbyo1g+PkBh62h3EaqSVInGLK6tTbXyHH4+XpH oxlIn5PWCW8KlLe4pq45KxeEY1g1yX96RBTpldZdesOC6PIPeR9QvH0tVLMwzElk0e/T JY0Nfytlrs699kt5cLEJv1yRCD3AzuLZTV4EfcKZNmE/GBQaomIR0KG4EBMFshrTB+mM Ov+esiRUtJmKnvdA/Mm3TEhq5+cPZJwtnraMc94BbhBpKUy/0JzvBLv95FoQGhPHjKCH L8+g== 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=Np1ibAFNVnfFgg0QIFE24X+BInAHnXNFqAN1Bvj0a9E=; b=NpBPX7oDWytMpK02mXgaTz4CnM6EwF0ued9f/9g+ju2sy9jwi/GIv9QP6xOSihxquG PQGn0tNIR3HhOIbtQs17G2OPVYszXrdS0cX1/ko5AMXDftHXu3kA/XPCvfCXVOSYKLkp op1lx/Qxy7yqMlTqr3QzTDn6Q5obMONj0yH08fxK/og5HN1lmaLaMThSvHHEvTr72mdZ v1VgXKMsb3hTMIG7hiY6aesLX88beiuYxneX25Hgb7850bPO4xMMfC4wSGiZjoBLrdci p1L9wM/HTpQ35e1/98a0SO1HhxnzQ8KBlnxq1pVW/LOkjo6YqeZujc4uygl7SAoAth7r AB+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=U2083fO9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170902ea0400b00171554b0e73si4979532plg.361.2022.08.19.12.01.43; Fri, 19 Aug 2022 12:01:57 -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=U2083fO9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350926AbiHSR5Q (ORCPT + 99 others); Fri, 19 Aug 2022 13:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350635AbiHSR4s (ORCPT ); Fri, 19 Aug 2022 13:56:48 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D664F220C3; Fri, 19 Aug 2022 10:39:23 -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=Np1ibAFNVnfFgg0QIFE24X+BInAHnXNFqAN1Bvj0a9E=; b=U2083fO9ZNK/aBkQR0OkRDk/CH G2fmVJE+JuoZnt3CkavmBH9hR+4HGl8o6KO+H6aAGlwS2SfY5H6d1mL5wqvUqv+lXcHpWaKU1H74+ ZXDojIUpeFnZh4aY1sQeFg+5ftuV39ggf6KataTvlcxGF33dgx6VglYXSpKjt6hlYjOQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oP5xg-00DwBs-9v; Fri, 19 Aug 2022 19:39:12 +0200 Date: Fri, 19 Aug 2022 19:39:12 +0200 From: Andrew Lunn To: Marcus Carlberg Cc: Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , kernel@axis.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: dsa: mv88e6xxx: support RGMII cmode Message-ID: References: <20220819135629.32590-1-marcus.carlberg@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819135629.32590-1-marcus.carlberg@axis.com> 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 Fri, Aug 19, 2022 at 03:56:29PM +0200, Marcus Carlberg wrote: > Since the probe defaults all interfaces to the highest speed possible > (10GBASE-X in mv88e6393x) before the phy mode configuration from the > devicetree is considered it is currently impossible to use port 0 in > RGMII mode. > > This change will allow RGMII modes to be configurable for port 0 > enabling port 0 to be configured as RGMII as well as serial depending > on configuration. > > Signed-off-by: Marcus Carlberg Reviewed-by: Andrew Lunn Andrew