From patchwork Thu Oct 29 22:25:04 2020 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: 316017 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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=no 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 4A939C2D0A3 for ; Thu, 29 Oct 2020 22:25:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AEB8421548 for ; Thu, 29 Oct 2020 22:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604010315; bh=mP8snJsbMCkxKhRjkP0UCStPInHog+BRvsnowDDbj0s=; h=From:To:Cc:Subject:Date:List-ID:From; b=U75p3YfP2UbfQLIBvkL3A+w/pbZsat/2hQ04s04VdR/esAqNmkl6CWXVgxXnj3/RT XpHscJ9AuFm9e5lCCpBwFJeot0HEK4O1v41S/qBO55dIULn0w7mxC0YwkWzOigq1OM s8seFvphWgHRopDDHJ+1pAMaOcPvYh4rzB5o16E8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725931AbgJ2WZN (ORCPT ); Thu, 29 Oct 2020 18:25:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:43720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbgJ2WZN (ORCPT ); Thu, 29 Oct 2020 18:25:13 -0400 Received: from dellmb.labs.office.nic.cz (nat-1.nic.cz [217.31.205.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E1A5020FC3; Thu, 29 Oct 2020 22:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604010313; bh=mP8snJsbMCkxKhRjkP0UCStPInHog+BRvsnowDDbj0s=; h=From:To:Cc:Subject:Date:From; b=EhRq0sbpTfI/+9Lm8/xsc5iWgoPD34Isbx3POHRS1AuhRZbQNL8Xa4VAyuGLnzXb2 Say+WHUyOW7aS85K9JI9fWF3O85D0UD2PBVei5Rg+C3XeaXVv+uX6Frw4644xZc7mM WBpNklCznV767S5zbmGrUtAoZ8RAy+Yw34tlR8Wg= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: netdev@vger.kernel.org Cc: davem@davemloft.net, =?utf-8?q?Marek_Beh=C3=BAn?= , Andrew Lunn , Russell King Subject: [PATCH net-next v2 0/5] Support for RollBall 10G copper SFP modules Date: Thu, 29 Oct 2020 23:25:04 +0100 Message-Id: <20201029222509.27201-1-kabel@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello, this is v2 of series adding support for RollBall/Hilink SFP modules. Checked with: checkpatch.pl --max-line-length=80 Changes from v1: - wrapped to 80 columns as per Russell's request - initialization of RollBall MDIO I2C protocol moved from sfp.c to mdio-i2c.c as per Russell's request - second patch removes the 802.3z check also from phylink_sfp_config as suggested by Russell - creation/destruction of mdiobus for SFP now occurs before probing for PHY/after releasing PHY (as suggested by Russell) - the last patch became a little simpler after the above was done Cc: Andrew Lunn Cc: Russell King Marek BehĂșn (5): net: phy: mdio-i2c: support I2C MDIO protocol for RollBall SFP modules net: phylink: allow attaching phy for SFP modules on 802.3z mode net: sfp: create/destroy I2C mdiobus before PHY probe/after PHY release net: phy: marvell10g: change MACTYPE if underlying MAC does not support it net: sfp: add support for multigig RollBall transceivers drivers/net/mdio/mdio-i2c.c | 232 +++++++++++++++++++++++++++++++++- drivers/net/phy/marvell10g.c | 31 +++++ drivers/net/phy/phylink.c | 5 +- drivers/net/phy/sfp.c | 67 ++++++++-- include/linux/mdio/mdio-i2c.h | 8 +- 5 files changed, 322 insertions(+), 21 deletions(-) base-commit: cd29296fdfca919590e4004a7e4905544f4c4a32 Reviewed-by: Russell King