Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4321413imj; Tue, 12 Feb 2019 13:48:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IaXMyyqBiv259I8f6OjsMIM8Oa7KZR1lD99xHZTWvWH2lR4HkaHj0r99sZe+C60M29AVtvY X-Received: by 2002:a63:9348:: with SMTP id w8mr5609038pgm.198.1550008139133; Tue, 12 Feb 2019 13:48:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550008139; cv=none; d=google.com; s=arc-20160816; b=e+6USh+poOb/ewci1W0C27gJwx4PnlpUnXYDFhpJgFoXyoXElmFpMGe1ozg9ZcCZPN ZLd8Op6HBmQBNcx8EJFKug+PIjg0oIyckT+hZQTaJoNz8Q6MMf/filUtMaXWl77iU6fc wYyrE+kvPIdD+bt1V8766ZZadUNknciQzGBK7/QWoeGdqLA9QM8CLWPty1lYNeIa2dLq P4HmBsskpmkg9W7KlRgjy/xUhPkwPGtvu9RAcV1NqGSMgp99TuvVCyOO1IjyOwlZyUHa zQzNqgKmao1Jj5jD6nKbEwRN4sBD41sbwEHqQZRdbahf8DPhe1yWMUYgUjnwUPH6L5U4 sjwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P6bPAQSDN9aNwTg20je9DY8n6icorEV+5+8z6SGXS+Y=; b=eg+tLu5r/Eu7B6vACOQ2Vp0G7SsTUQQ2YMuYy9hiq/DHYLLIrT3H1jdDL3g1pkF9FL ArtTwmRxRqhn96LQUIzXtSXgNzDEl6GLDpSB+AinYvsTOjryAifWW2nQkogcrajd6CPq GB1bRL6ri+UbiZPQMfFehebktRGheSk5A2xhetpCAZCK9o4t4eOSCeKQSrl32ooPqHrn EMCc2J7AEKyLKqTViy239zkPABehHxDOvgqqTh+teIQSCtJRnjRtTD3REscQTOigmuWp gNlcSMUvQdJKFjFcJqDk4FCkPnpmO0OZpMJBWBvcnQtXNt6z6t0pSkrB2OsnjgSYmnNi +Ncg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=M6Oyvino; 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 v22si12974559plo.129.2019.02.12.13.48.43; Tue, 12 Feb 2019 13:48:59 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=M6Oyvino; 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 S1732363AbfBLVNZ (ORCPT + 99 others); Tue, 12 Feb 2019 16:13:25 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:49032 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727932AbfBLVNY (ORCPT ); Tue, 12 Feb 2019 16:13:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=P6bPAQSDN9aNwTg20je9DY8n6icorEV+5+8z6SGXS+Y=; b=M6OyvinoenjyMKrQ+2Svs3i8hr q9QwX8xL1rECYfF7hI4FoM8qg4o5ZzvzbVa5RnI25TXL80Oj9OIFFn6GLIKc8rHRPoARyfnDNLpCF nQfk82hABwZJ6YRRRutlmd8BnLuyGaR8bUqLB8HEk0M1TnPLFVAvxmpDbh3cNEPmDVWU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gtfMn-0007kp-Tz; Tue, 12 Feb 2019 22:13:21 +0100 Date: Tue, 12 Feb 2019 22:13:21 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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: Re: [PATCH net-next 4/4] net: phy: Add generic support for 2.5GBaseT and 5GBaseT Message-ID: <20190212211321.GC27170@lunn.ch> References: <20190211142529.22885-1-maxime.chevallier@bootlin.com> <20190211142529.22885-5-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190211142529.22885-5-maxime.chevallier@bootlin.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 03:25:29PM +0100, Maxime Chevallier wrote: > The 802.3bz specification, based on previous by the NBASET alliance, > defines the 2.5GBaseT and 5GBaseT link modes for ethernet traffic on > cat5e, cat6 and cat7 cables. > > These mode integrate with the already defined C45 MDIO PMA/PMD registers > set that added 10G support, by defining some previously reserved bits, > and adding a new register (2.5G/5G Extended abilities). > > This commit adds the required definitions in include/uapi/linux/mdio.h > to support these modes, and detect when a link-partner advertises them. > > It also adds support for these mode in the generic C45 PHY > infrastructure. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew