Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp141083imj; Thu, 7 Feb 2019 01:51:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IaptURictppdd5XBFi3ogwyBdRilrQatde+aC6/TpLU/GvWXpV6DXlMaOTkNMKlCHwxQ4On X-Received: by 2002:a62:62c5:: with SMTP id w188mr15408823pfb.160.1549533065851; Thu, 07 Feb 2019 01:51:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549533065; cv=none; d=google.com; s=arc-20160816; b=ub96Ib6XPYhW3YPC/3GXZ1ehfp3U/+4dNhHIt5g83bRI5OUlrtw9EIavk9HZqv+kf+ vrATYDf3tU/J5KQwjAJexYu9zdws6tnOJk1jOST10RL2yVORNP/O3Z/LiNIHi9E5kd1D eBTonWtFjQHxzxp84JWbA1dA4jELliYgKJbSfHWNF6DXked0AQe1te34G11D/b0DmjDh +ZRnECkutxHItej+PaoXqs2MBa9tS8TL18Pq1un6Hb5gSB9Kf1oTCibyXyB1Sq8m9YmT /jLcS9u+smLN8MHZbxK+fbexje1rC2gSiRV7MOhmYPOWBcto5ECaJcpDal8jjTU4B0lR 6Jsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=U6h66BXpWg6XxsdomRRfFlE/f9SA9zqHvRth8ihZ2ZI=; b=bA88+hDS8QtGVgSV25xCjB5ayons71958Ln3y1YKIQSf3aNfKUG+PYEYFtCufDkPqj PyqT/VqOJ2qutMcJriU3JGEdW3Otj3HJX/tWdjWjsJn8zzwhQq+gsaZly0DJvcZmjP7F kxu4EOiM0BMN9YzKYI3z1h7/rUS6Lhx2hU2Qc5yk9HYIO9Q9vJR8MWkFwmL4fYw33HiX sZO2gtrMCVZWEtIeIhesnAwWoIhv65MBtufPM8OaeuOW3ZpNQ1DCbkItUukakn8QWp5p 23W0iHljXauw/hWhy5e8apjKCrwFPRIDJFwnBXC46LFj6PKAFTnwceV6jblcuCpIqTyA w7tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si9103657pla.80.2019.02.07.01.50.50; Thu, 07 Feb 2019 01:51:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbfBGJu0 (ORCPT + 99 others); Thu, 7 Feb 2019 04:50:26 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:39697 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726901AbfBGJuY (ORCPT ); Thu, 7 Feb 2019 04:50:24 -0500 Received: from mc-bl-xps13.lan (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 80356100003; Thu, 7 Feb 2019 09:50:20 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com Subject: [PATCH net-next v2 09/10] net: mvpp2: Add 2.5GBaseT support Date: Thu, 7 Feb 2019 10:49:38 +0100 Message-Id: <20190207094939.27369-10-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190207094939.27369-1-maxime.chevallier@bootlin.com> References: <20190207094939.27369-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PPv2 controller is able to support 2.5G speeds, allowing to use 2.5GBASET in conjunction with PHYs that use 2500BASEX as their MII interface when using this mode. Signed-off-by: Maxime Chevallier --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index 5c0c26fd8363..6f36aed5bd0a 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -4410,6 +4410,7 @@ static void mvpp2_phylink_validate(struct net_device *dev, case PHY_INTERFACE_MODE_2500BASEX: phylink_set(mask, 1000baseT_Full); phylink_set(mask, 1000baseX_Full); + phylink_set(mask, 2500baseT_Full); phylink_set(mask, 2500baseX_Full); break; default: -- 2.19.2