Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp998538ybb; Thu, 28 Mar 2019 17:05:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqztOccubmD0XAPfqUyyTnwI65vL4yEW1U4XjMFVPNdtGTKQz7SZObtWIftyvYlAg4rr0BfC X-Received: by 2002:a63:3dc8:: with SMTP id k191mr26017397pga.286.1553817916804; Thu, 28 Mar 2019 17:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553817916; cv=none; d=google.com; s=arc-20160816; b=qrxi8cvdA2iZn4sdAjZGyeuJ/vTewq3RYXrlssydtfXowO+sDiYWvLZpA2k0lBriiH weV1WUnOBDOLuwKZap83LHQQIN4RGAxcFsihPHay+NYNizVQ4DpCc4il+yRQRbglEiax 9c/w0pmRKk3dF+Vnm0szy+NrrbZOfS/e85rKyqiOtw+rJn3WqPwERwS93qOtqcUWVdG6 SWFlf9GpvXVgwJmyZrJbW+EKzzD+ZB6JKthum45YVKy5WdgGCIvPW2qF63s2cc6prCHg RV7BGtb7CoIzB0XYTqhskW12Tww6NzQfPCWvFNDGX3hHKLH81sPCXbIVcuiw3UjUTfKw nYFg== 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:from:subject:cc:to:message-id:date; bh=+0aI8hxTwEnM0hIwxsr9SF0eRqVZcJE9NFIs8KjAHeU=; b=uB2M5jkQ69Cn41GvBjW6Lyk0Ty1JBPfoez9xHbdqoBS0JzmJwZokF9ZBgcq03UvLHp ehAHvtwM63vj2nELYKt5nrjEBzHHj2MaHQDI/DNcjS59D3mHUzhX9LaWSbK7mal+JhqT j8JQf+V2npHEhZ5T38lwsiw3drmFDDwQdW0QDXVYHdoBXY+cq/52bNHiTCnpFBpBtyfA ea8q26JpN2TKGvT7Ew700r3XFBpGjfVnbn7q3PFuPD/I+POl5Sx3IwLjKmLS3x43ukr1 u7oLsk4m34rPOqSRMQrRNTdjNOlZfImy+uqFP+kzXc5KflkLgn6B8xZ0672DOgP6NmMC JOBQ== 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 5si481312pls.293.2019.03.28.17.05.00; Thu, 28 Mar 2019 17:05:16 -0700 (PDT) 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 S1728651AbfC2AC7 (ORCPT + 99 others); Thu, 28 Mar 2019 20:02:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:59010 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727658AbfC2AC7 (ORCPT ); Thu, 28 Mar 2019 20:02:59 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 052BD14D6763C; Thu, 28 Mar 2019 17:02:57 -0700 (PDT) Date: Thu, 28 Mar 2019 17:02:57 -0700 (PDT) Message-Id: <20190328.170257.1630360267676400395.davem@davemloft.net> To: maxime.chevallier@bootlin.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, antoine.tenart@bootlin.com, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, andrew@lunn.ch Subject: Re: [PATCH net-next] net: mvneta: Add 2500BaseT support From: David Miller In-Reply-To: <20190327163107.11642-1-maxime.chevallier@bootlin.com> References: <20190327163107.11642-1-maxime.chevallier@bootlin.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 28 Mar 2019 17:02:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Chevallier Date: Wed, 27 Mar 2019 17:31:06 +0100 > Some PHYs will use the 2500BaseX PHY_INTERFACE_MODE when being linked > with a partner using 2.5GBaseT. > > Since we can't autonegotiate this speed between the MAC and the PHY, we > need to have the proper comphy support enabled, to make sure we can > safely advertise 2.5G and 1G in BaseT and be able to switch between both > corresponding PHY interface modes. This is now possible since comphy > support was added to this driver. > > This commit adds the 2500BaseT mode to the list of supported modes when > using 2500BaseX, and was tested on a setup with an Armada385 and a > 88E2010 PHY, both with and without the comphy node in the DT. > > Signed-off-by: Maxime Chevallier Applied.