Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4863707rdb; Tue, 12 Dec 2023 11:19:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6gGLNwP3Iu62ZBhaU0BkrmDlyw5wrIeZaaI3u4zxBxJZMs1Vs37iTcBIOulCAmocqU5u+ X-Received: by 2002:a05:6a20:9711:b0:18f:97c:825b with SMTP id hr17-20020a056a20971100b0018f097c825bmr3625152pzc.101.1702408766765; Tue, 12 Dec 2023 11:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702408766; cv=none; d=google.com; s=arc-20160816; b=NeL7G+VoP3pQ5MBx4ydqhN+40JOWIAdPk4nUhj7d4fpSIc7sITfPKJmo/2esWylC3S 7v82tFh/FVCqSbdJSA62VFmgTEBjXuPUkif6vvibjJcVuUAHP/4FCmX/6i9DYG86IBFE RMkO8FYX8VafcP4AAJO7Zw+C5B4qvHqwjCcNvXohpFINnD6hCfMvAWOfqdQYdifFoTq4 HInR0VvllVtXr3jiOcdGRQGnek5jPmbU1zGsIKwpMsYRJBX77jRUwW42BG/gIwgdwTmR hbVO1/tzZkVd0BGseRmYE3ssgZeaO0P9kPyMC42E0xVPCbyfkVp6JIz9XQQTQDypLAaP VcWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=IjbNLBnXJMkEPuo14QetPgRXWjPIn+/9Sx2GduCHfXA=; fh=OHjSGcvQnnY1Op5tBxrlTs6kAMV95uJqHBMoSGdooAw=; b=qRTdTDP4txzBeoAOMawQxBMbpHnq++TW1NX8heT1OSkfARbJcBHtwrllMjMZ7/NvFN 5Cn1KLexvTCJul20GbC1mYNHYXwby6hfqDsMCikGh4ULUobwVm2Vh1clWs4YuUM9WnnO SeFDTmXvPi+MY4xyp9kZ8xgh0QhA76a3QAxaeI41DDtI7/PB1eocOrPkNL5xMZsjsqMK cNd84PEYUjCRWKIYQ+FN9OeBu0OjDxn9C17s00CgokgaueRSynLzSxoVtQXNGzpqVfNC VIaP3/o9g2bfvt9pXZvIV1L8iOtLYMPwktJ1d2TMEA55AJ3mYxPvGaMNTENSnAIO3leY ojAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="BT6S/XMZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fm4-20020a056a002f8400b006ce79a76cb0si8020108pfb.137.2023.12.12.11.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 11:19:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="BT6S/XMZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id ED1F580E70AE; Tue, 12 Dec 2023 11:19:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377136AbjLLTTG (ORCPT + 99 others); Tue, 12 Dec 2023 14:19:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235120AbjLLTTD (ORCPT ); Tue, 12 Dec 2023 14:19:03 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3E16CE; Tue, 12 Dec 2023 11:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IjbNLBnXJMkEPuo14QetPgRXWjPIn+/9Sx2GduCHfXA=; b=BT6S/XMZL/rzU9HjAnFEu7NGGR upEveRnxQ+NPn39oOLaeAuRuDC03OcuH9sGUuCIInrTiiMfZyptebSEHaOlCb+d3e1ltrga1Uu7fn vpZYcKUgJHlIuJFptgzg+Iwm51DET8VPWvjf+mk9KfOtqLZoAvTOYinmyXYnIWx+lfQheXc9lYM2i fx5tD2aAZ9C5C459TvYc5CYrrASTXZeTN7uJ7aKSCUeWKwMSn4IjEVoT/oxIN8RPqoZs+sXVTUaEg rJCkeJ1P/Yf0aj18LnYqWK5teotB7rfvz/8Yq5deB1+erDYaendz6E2Y4S/ltezUTgJcwj2wRVHFS Yj1wiGvw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:49216) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rD8HV-0007JO-2r; Tue, 12 Dec 2023 19:19:01 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rD8HX-0000hW-T4; Tue, 12 Dec 2023 19:19:03 +0000 Date: Tue, 12 Dec 2023 19:19:03 +0000 From: "Russell King (Oracle)" To: Stefan Eichenberger Cc: maxime.chevallier@bootlin.com, mw@semihalf.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] net: mvpp2: add support for mii Message-ID: References: <20231212141200.62579-1-eichest@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212141200.62579-1-eichest@gmail.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 11:19:24 -0800 (PST) On Tue, Dec 12, 2023 at 03:12:00PM +0100, Stefan Eichenberger wrote: > Currently, mvpp2 only supports RGMII. This commit adds support for MII. > The description in Marvell's functional specification seems to be wrong. > To enable MII, we need to set GENCONF_CTRL0_PORT3_RGMII, while for RGMII > we need to clear it. This is also how U-Boot handles it. > > Signed-off-by: Stefan Eichenberger LGTM. Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!