From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72925C433F5 for ; Tue, 4 Jan 2022 19:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N39bR/cUU2YZTg91v6DzHjZHqBnaNN6IN1Ld5WZlQc4=; b=BAIQU0GfMxabR/ 2Tpp/f4XsJNnkiUIXiP9tIHha+ONOb9Psv+4pYgGpDaUPZacvs6my+t+KdXmK+VwEA9vFAZppdlq0 9wd3rLIlX+0vLfdyJFbPiGnMcYIqhOeDtiuZ2qYQ3nFJY2geGP4VouAoij3I0/4+F+DjXcnl3tlhm 6273qAdEietJ5BMmKXRHyVo2yzIDDckF4+zKZevU/V5ZoLvdMRYVd4YyWY45qLZsIPqprmKcycAXM Rz7VCwyYUflmhq3NTcay7FjcoPwcaBW5h7/WqAkCTdVm6Y3phvX6Lo4mCZLtkAPS9uanwTdBouPM8 vwXfAIvvTRsmsbMVZxAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4pth-00ChrW-PE; Tue, 04 Jan 2022 19:55:07 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4psP-00ChGi-JX for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 19:53:47 +0000 Received: by mail-wr1-x42f.google.com with SMTP id v6so16619195wra.8 for ; Tue, 04 Jan 2022 11:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Z0Uhcf3wpqU1I6Qm7gNJzDOXeWTEJXqtF5s9xsAUgjc=; b=Y/m5KJymBfJQQ3eyL6PVm+OQrAvNgwHjp2roFMkU9SMK96iNLyOPUDwBQBQj5zMrrB DliZoHoBqaq/RyYEohvd1GI6iVT1MYC8rKE4CGa4qI1IkDvNkaaYOh4GGgsPZz6QiNDm UitpVT/wdX6LtZ0qR2nO7Vx/g1niSyrnK5wKHgJpwSJyZmw0mKn9gCmPn5ape0u1F+zX XW4AW8ASTSR8ucZz+TDw4b8JI1JiJ1rwySAlJidkGmcbRw/4U3peCyBLk3kP3SoLUd8z kjQNBCvmBUJ2GzsvArw1fCoXVLI72TxwzkoIPoilGH+0nGukku1Gc5j4EQWdUZuos7ja gSKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Z0Uhcf3wpqU1I6Qm7gNJzDOXeWTEJXqtF5s9xsAUgjc=; b=z3hu6kHtnakJZ+G/MzEaLksTpCeoNq+meU1U444owA7KNRifPZYpVcUk5DGgNbob4F x0FF9ZOsPlFwsaYIoERa6ishTFHoVKJ72utREVw/yJ3LnMW42zQc5kTKc7jOq1mj3SQt 87t9g5wy1LOxm2kQxjhi9aHaSypjY2CVjQ2CvwrWIHN5L1UetTimg8fiBaxIGrR/F0u4 SReEWZ/8wUSOQ2oilMIr/7rtT4hit3luSQdvrp4y1LjY1Rz2ctrlB7tzvDd6AGubx21h BXSrjxYagBU0co8+x98ArkmdKE7M0hqUkRfLEWjL6ee3YX363q5VP2coGFcWXQxK4k6q EiNA== X-Gm-Message-State: AOAM5339uBp4/+9Ixc5nxr41e0H95sMOGu4BIC/yFlL2CQp5gySMfqdt 1a6v9hziKoi3A7Gsv5/IaOI= X-Google-Smtp-Source: ABdhPJzKEXTpmxJSSBs2+KMamNZt+HG/tCwtDbymAYHiYbx1bNO42rs11RU77/zKXDJmYEkEKGixJQ== X-Received: by 2002:a05:6000:118a:: with SMTP id g10mr42184820wrx.533.1641326023125; Tue, 04 Jan 2022 11:53:43 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id c11sm422360wmq.48.2022.01.04.11.53.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 11:53:42 -0800 (PST) Date: Tue, 4 Jan 2022 20:53:41 +0100 From: Corentin Labbe To: "Russell King (Oracle)" Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , netdev@vger.kernel.org, Hans Ulli Kroll , Linus Walleij , Jakub Kicinski , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next] net: gemini: allow any RGMII interface mode Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_115345_683163_D0089A6A X-CRM114-Status: GOOD ( 16.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le Tue, Jan 04, 2022 at 04:38:31PM +0000, Russell King (Oracle) a =E9crit : > The four RGMII interface modes take care of the required RGMII delay > configuration at the PHY and should not be limited by the network MAC > driver. Sadly, gemini was only permitting RGMII mode with no delays, > which would require the required delay to be inserted via PCB tracking > or by the MAC. > = > However, there are designs that require the PHY to add the delay, which > is impossible without Gemini permitting the other three PHY interface > modes. Fix the driver to allow these. > = > Signed-off-by: Russell King (Oracle) > --- > drivers/net/ethernet/cortina/gemini.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Tested-by: Corentin Labbe Thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel