From patchwork Wed Jan 6 15:37:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12001915 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=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 0DB39C433E0 for ; Wed, 6 Jan 2021 15:39:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BDB272310D for ; Wed, 6 Jan 2021 15:39:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727078AbhAFPi6 (ORCPT ); Wed, 6 Jan 2021 10:38:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:41820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbhAFPi5 (ORCPT ); Wed, 6 Jan 2021 10:38:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EB7F12310D; Wed, 6 Jan 2021 15:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609947497; bh=TGNr7gH+AaWbcdsJKDVyoI/B5RwNkVFXV8lRxX0ZLpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TuHHBxS+NGu1TQes6Gt8O6+BCxub/TS9QrvqLkLPXpoh0VY+k2CWOMHLbRYIdoupe p6cDTs29o1bxf10n1uOBoVz1rMO6RitTZY8uT24TRORbgaKfj8afZiwEBgFUzCh+TV IJsgmTu6uH4POKNnFN94qhkDgqEosNgeaWP9jjhALcNz6/DEeTFUVZe1Lq4s+Q64QK 8vjpkX5+HEzK3EYHAv2QpS8p3r54h40TQfVB6uWXGbL0QtjFAFuGiHl2G/CrPD8X3c ZOMKfSMnfnRq0Rg4/6PV+cNuoYHdEj+LvzSMxffhnaARhkLbI2mKBtzFGrg+wXD9pQ iMeYUjBCi8pmQ== Received: by pali.im (Postfix) id D0ED544E; Wed, 6 Jan 2021 16:38:14 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Russell King - ARM Linux admin , Andrew Lunn , "David S. Miller" , Jakub Kicinski Cc: Thomas Schreiber , Heiner Kallweit , =?utf-8?q?Marek_Beh=C3=BAn?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber Date: Wed, 6 Jan 2021 16:37:46 +0100 Message-Id: <20210106153749.6748-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201230154755.14746-1-pali@kernel.org> References: <20201230154755.14746-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This is second patch series which adds workaround for broken GPON SFP modules based on Realtek RTL8672/RTL9601C chips with broken EEPROM emulator. PATCH 2/4 was dropped and replaced by specific UBNT quirk in modified PATCH v2 3/3. hwmon interface was for these SFP modules completely disabled as EEPROM is totally broken and does not support reading 16bit values automically. Pali Rohár (2): net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant Russell King (1): net: sfp: assume that LOS is not implemented if both LOS normal and inverted is set drivers/net/phy/sfp-bus.c | 15 ++++ drivers/net/phy/sfp.c | 145 +++++++++++++++++++++++++------------- 2 files changed, 110 insertions(+), 50 deletions(-)