From patchwork Tue Feb 16 19:20:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12090559 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45194C433E9 for ; Tue, 16 Feb 2021 19:22:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13B8964E7C for ; Tue, 16 Feb 2021 19:22:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbhBPTWR (ORCPT ); Tue, 16 Feb 2021 14:22:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:52030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbhBPTWG (ORCPT ); Tue, 16 Feb 2021 14:22:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E5B3364EAD; Tue, 16 Feb 2021 19:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613503286; bh=FwzLSkHq/fQKXd7PxmVrEybGxcvHyVQtbZPZ5PEVB+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jZ9ON9D/0sLfuFKWG96uxwE5QdjVp0qc4LgYXDs4QnStVvJOPDP3VCdnuPHCYfVN/ VSkwChYmN0ZXq7bQWOA9N69zLwij+PuP/WxzZuGjFtAbeql327SgtlEnT/LsBRkt8V EAYtyUWupRo3OzwgUXtT/yaVN6KaTnwxRHcMMccg4duC1wuCCg4Qp0oSiULAjAJxQ8 T5BinTSHdJg/SPqTbgIpHos0wsxT9JWOhY/nHdtRcwdnonnKT7L2Ul/bWW8RHMr8Qr PvshmEtvwTsQheF0UqBiHTdpwHT5agHD2RwAtLZsNXBoZ0ebsvH8+nsfqtN6KErZ4F 3Rmn4ED03TC3w== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: netdev@vger.kernel.org, Russell King - ARM Linux admin , davem@davemloft.net, kuba@kernel.org Cc: pavana.sharma@digi.com, vivien.didelot@gmail.com, f.fainelli@gmail.com, lkp@intel.com, ashkan.boldaji@digi.com, andrew@lunn.ch, Chris Packham , olteanv@gmail.com, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH net-next 3/4] net: phylink: Add 5gbase-r support Date: Tue, 16 Feb 2021 20:20:54 +0100 Message-Id: <20210216192055.7078-4-kabel@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210216192055.7078-1-kabel@kernel.org> References: <20210216192055.7078-1-kabel@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add 5GBASER interface type and speed to phylink. Signed-off-by: Marek BehĂșn --- drivers/net/phy/phylink.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 84f6e197f965..053c92e02cd8 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -306,6 +306,10 @@ static int phylink_parse_mode(struct phylink *pl, struct fwnode_handle *fwnode) phylink_set(pl->supported, 2500baseX_Full); break; + case PHY_INTERFACE_MODE_5GBASER: + phylink_set(pl->supported, 5000baseT_Full); + break; + case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_10GKR: case PHY_INTERFACE_MODE_10GBASER: