Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp914762pxu; Wed, 6 Jan 2021 07:41:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwE+ymyF5vvkwesGtwF78O3FV+kH6MuBujnqEsmYdZHeaFeTJZHIrsjb9I6XXGQGx30UONY X-Received: by 2002:a05:6402:31b5:: with SMTP id dj21mr4538637edb.90.1609947671423; Wed, 06 Jan 2021 07:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609947671; cv=none; d=google.com; s=arc-20160816; b=0WG7yzhJKWlDm/UOiT25jD+3ztGkLuMvR4WLQ+BdHGHrY2RC7OM7tRIng9Ad9bYF3B UmG/TOMpb4gRd+RtQTJfmczPc8ZSJJM+e232hhF01dRxXCfdrBZayoIh49VF9MYrAt2a LuknjOdwph9oSlr0q3LcolWI+TCSt9V4WZfIaoORsrG+bJm3+QsKAwMXN9+YfFhY9D0c VKDm96CJp/DV44le7j+35x3slwkaulYLHlalL5As78grWhm/dHHEIiFyYJwGHlX4D+3M D7q1ZxcyE4yaK620IFNyXQoXRMjc+uiOtnccUa2EDhLMHctZvQDK/gg4iHe0L0Jwv9sb VAFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Jf2WvM41+iMYELF5I4rDYuhEi30Xg0OyZEOyBHq+9yA=; b=vnKPLKsVgHmKPhLVbsT4EV2lUz3FRE7dX0axgrDUf6WQWFZO6nkEYHII/eNTYQf6mb b0IAoCWP+q6nOf7c66dNe8O8TLlXkV2KRw2suBQwD/GyfVAnDEGQJVUrlABFvaC+NMIX nTOxBG1qOrDWpHfAdrolB0lBmDKWx8MCOFjNUUacxg7QsG23oNXhVWUwcsf/cen752JG jBwOFx+dyxpaMOXatketGqmsojxtz9HbA9E9/veU+dBQB9BQUoi7Kmg8+MHV7t1zvQWI RN7Ylh/4JwIY+wAhyRnRbePEvxUJuHOBCvTMCH29Sdf/rLYwmU9LCjK9KOkaEdwtI7SP QnRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TuHHBxS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si1062805edq.466.2021.01.06.07.40.47; Wed, 06 Jan 2021 07:41:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TuHHBxS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726915AbhAFPi5 (ORCPT + 99 others); Wed, 6 Jan 2021 10:38:57 -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=20Roh=C3=A1r?= To: Russell King - ARM Linux admin , Andrew Lunn , "David S. Miller" , Jakub Kicinski Cc: Thomas Schreiber , Heiner Kallweit , =?UTF-8?q?Marek=20Beh=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.20.1