Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4802699rdb; Tue, 12 Dec 2023 09:39:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkp/+GecY9gNDVmsGFH/KL4UvI2DQoId2d6S3HVluqwXarGhQVs0DC5DNrOVUjxJPukctr X-Received: by 2002:a17:902:efcc:b0:1d1:cdb2:a940 with SMTP id ja12-20020a170902efcc00b001d1cdb2a940mr2650059plb.136.1702402780152; Tue, 12 Dec 2023 09:39:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702402780; cv=none; d=google.com; s=arc-20160816; b=WQnB162nT97CmW7W+rPIrjwM//QYZgVOarITlWMuPqvp+AcLPSYI4NmvJSc87WjE5w Y2AjXEZpcDSQIOyYdVHWH3u6PDvF93OzUot+0h+IerqTRz+vSL3An8b4zi8Nbzgov8CF 37fdaHY/UXSz4OsMiKB8E7ZuSNOk+2xE+/xlwxLDFWHZDCbVUESy8c0EJYBhwMxDAx1Y kAfiRVoL6oXtfnTGP5IFHrRrcBVgredvl1T5JKymz8OUvVion1DHYJi0YILzH8onG6za 6vTRznhWls9aZ/8mWZxB9SZABXAkxzLR44/sF8YLb8DxELnSOdzWGssNNDBWNSk349BE SbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lUNcmTOafhUTvYQgQCAZ2J3XidKSJdEQq/nWiWeUEgE=; fh=QICi3PUsUvp/TeGw/ID+5IaSI+tJlcRn+J2Bzqw7Bzo=; b=nthc1jHRlTeoCnVwFKiKCBU5CbkJhtSjR4zUUAgRBhA3E/deLr/uy3qbAIgi+vDSKw tjHoa5wXb9TEadj+4nFpzf+QRHxiSyKVIFp3lK7OlrAAb+/54CC/BnBcTt29uBn23KR1 92Lxzlmw4CsTtILdNx1wOQe7n1OslnlC5TkdKwmuttGEReWsMbt1gpeCCPDyo5qe8IxG yE52NxK+dfUChx1C0bKSD86oWdb5KOtaw+CKvv5Rt7nDfhj6TxpptIytnB3NyGpnN+O7 83SiCyaFmp8vZf+sFhLxTbDGA/ZuQ94YSz4ENq1b4oqfytBq2H1eNIK6eKcu23vMW5II eCMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=Uahcjca7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=semihalf.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id l21-20020a170902d35500b001d09b00de2asi5952212plk.587.2023.12.12.09.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:39:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=Uahcjca7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=semihalf.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id ED59680AD132; Tue, 12 Dec 2023 09:39:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235029AbjLLRjY (ORCPT + 99 others); Tue, 12 Dec 2023 12:39:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232546AbjLLRjW (ORCPT ); Tue, 12 Dec 2023 12:39:22 -0500 Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 125469F for ; Tue, 12 Dec 2023 09:39:28 -0800 (PST) Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-20316647099so84181fac.2 for ; Tue, 12 Dec 2023 09:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; t=1702402767; x=1703007567; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lUNcmTOafhUTvYQgQCAZ2J3XidKSJdEQq/nWiWeUEgE=; b=Uahcjca7Pm5sO1adSdHjqXTnJtThnJjHeBLrMAimlYmIVG+2c27XbPPYX5mKWdj7cR G8+CliuYp+mTllA7GyLcztbWkHeufOcDajzRhMGxc/M2AyrGeIcs1NOHzUPjdygumhPM R2u9e82H4++WVPFS9rxxg5D9b8+7ocMoORY1UI0Bf17X8EChcUiBfjnQ2b2CLcrBdk2G BMCkjU5l1LEFKDmjlk3JC9IZu+T+JicfqJkv5DKdvIuUcipqV9UNYblCfeDkZc0zjWlC E1kKDeylDS8YfBNaK+W6S6ByxuMg7wJlJ5S0y96Ryfk+xkJ+6hxE9HvbThLnkZluZ8G7 h85g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702402767; x=1703007567; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lUNcmTOafhUTvYQgQCAZ2J3XidKSJdEQq/nWiWeUEgE=; b=fGVhNE0IDRXY/uL8T/v8cUwn5lhPgbJaC85A1Uh/FH7abcHB2+93hE58/znfL/qfcG uBqUdSPU1rM67nfe2Jpoa4aQ+Z1Er8fBI9RHRy++fnGZ6vV4CcLPPe9ZamFzEaiWpz55 lAoKiXsH8mMMif9WXn/Cl4cv+eaI8HWrKLhw8Yf2sM2oPpoyt/Eaa+n9Q7XZ9DqoElkr SsMCxohSV2KyGFEEZoa+/kw3VA+kUVr+kp067v4kr0mYJ1mhCYTr6ZXpxV0OASeA0STI LoxHyaqQpsA9nuI8y4HgMlVVZhx0EI2s0hxAzAnnaaHw6/AcEN6n0F3v0rKlAR//bXjK j9YA== X-Gm-Message-State: AOJu0Yxd5CU/h7hZJj6PREJT5bf1v/j1mBP2/IA4gXiFrzVs6iRB4HfS UiwmkvlaTR35Jdp1Ryw+p/lM47m4G27TL5t3MC/F7J7W0DQEopWh X-Received: by 2002:a05:6870:659e:b0:1fb:3741:4dc5 with SMTP id fp30-20020a056870659e00b001fb37414dc5mr8515512oab.34.1702402766687; Tue, 12 Dec 2023 09:39:26 -0800 (PST) MIME-Version: 1.0 References: <20231212141200.62579-1-eichest@gmail.com> <20231212170704.74565969@device.home> In-Reply-To: <20231212170704.74565969@device.home> From: Marcin Wojtas Date: Tue, 12 Dec 2023 18:39:14 +0100 Message-ID: Subject: Re: [PATCH net-next v2] net: mvpp2: add support for mii To: Maxime Chevallier Cc: Stefan Eichenberger , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:39:38 -0800 (PST) Hi, wt., 12 gru 2023 o 17:07 Maxime Chevallier napisa=C5=82(a): > > Hi Stefan, > > On Tue, 12 Dec 2023 15:12:00 +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 RGMI= I > > we need to clear it. This is also how U-Boot handles it. > > > > Signed-off-by: Stefan Eichenberger > > Reviewed-by: Maxime Chevallier LGTM, as well. Reviewed-by: Marcin Wojtas Best regards, Marcin