From patchwork Tue Sep 13 19:06:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 12975160 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40531ECAAD8 for ; Tue, 13 Sep 2022 19:06:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230079AbiIMTGO (ORCPT ); Tue, 13 Sep 2022 15:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbiIMTGM (ORCPT ); Tue, 13 Sep 2022 15:06:12 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8F6D86 for ; Tue, 13 Sep 2022 12:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YDbkfiPKw3JEcERiUZRgalRT32kffmYhTpeX0a5dkWY=; b=zs23xz7onnteoTWs8p7bEm55WV 4zlTtkmPRCAXWDezgT9vDXZ0C5OjnwrQEa2UpR8kBuy0C6+tMkYb8vARtpCl/Pn5TXR8ysBT/8dhs AYrMLU4c/zNpm+fScoEm4diX48JBG7l9R85LeBWLmrPF94e/M5gJw623XrzE3/VuEEQkmD4WZZRJk cb4TCS4tzUGhZRZpCyvA82AdMcFugs1Z4fgtCiQYnedpO0+wzJBvjdKErwiZWK05wbUYuPF4yOwuk upYOrAzg9LqPOBgQ2KGnlGqxidD8p8QdXimYTRtlbPHYDJMkV+VTiZZbgO4wkVUSGzpFBCdSNbz4F kNe+vmWg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34306) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oYBEV-0003QT-7s; Tue, 13 Sep 2022 20:06:07 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oYBEU-0000vE-5r; Tue, 13 Sep 2022 20:06:06 +0100 Date: Tue, 13 Sep 2022 20:06:06 +0100 From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Josef Schlehofer , netdev@vger.kernel.org, Paolo Abeni Subject: [PATCH net-next 0/5] sfp: add support for HALNy GPON module Message-ID: MIME-Version: 1.0 Content-Disposition: inline Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi, This series adds support for the HALNy GPON SFP module. In order to do this sensibly, we need a more flexible quirk system, since we need to change the behaviour of the SFP cage driver to ignore the LOS and TX_FAULT signals after module detection. Since we move the SFP quirks into the SFP cage driver, we can use it for the MA5671A and 3FE46541AA modules as well. drivers/net/phy/sfp-bus.c | 100 ++------------------------- drivers/net/phy/sfp.c | 173 ++++++++++++++++++++++++++++++++++++++++------ drivers/net/phy/sfp.h | 10 ++- 3 files changed, 163 insertions(+), 120 deletions(-)