From mboxrd@z Thu Jan 1 00:00:00 1970 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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 C4F34C00454 for ; Wed, 11 Dec 2019 20:46:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1AC122B48 for ; Wed, 11 Dec 2019 20:46:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727085AbfLKUqd (ORCPT ); Wed, 11 Dec 2019 15:46:33 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:60258 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbfLKUqc (ORCPT ); Wed, 11 Dec 2019 15:46:32 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1c3::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5BC8414BBED8C; Wed, 11 Dec 2019 12:46:31 -0800 (PST) Date: Wed, 11 Dec 2019 12:46:28 -0800 (PST) Message-Id: <20191211.124628.2279173467555176301.davem@davemloft.net> To: linux@armlinux.org.uk Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, netdev@vger.kernel.org Subject: Re: [PATCH net-next 0/4] Add support for slow-to-probe-PHY copper SFP modules From: David Miller In-Reply-To: <20191209141525.GK25745@shell.armlinux.org.uk> References: <20191209141525.GK25745@shell.armlinux.org.uk> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Dec 2019 12:46:31 -0800 (PST) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Russell King - ARM Linux admin Date: Mon, 9 Dec 2019 14:15:25 +0000 > This series, following on from the previous adding SFP+ copper support, > adds support for a range of Copper SFP modules, made by a variety of > companies, all of which have a Marvell 88E1111 PHY on them, but take > far longer than the Marvell spec'd 15ms to start communicating on the > I2C bus. > > Researching the Champion One 1000SFPT module reveals that TX_DISABLE is > routed through a MAX1971 switching regulator and reset IC which adds a > 175ms delay to releasing the 88E1111 reset. > > It is not known whether other modules use a similar setup, but there > are a range of modules that are slow for the Marvell PHY to appear. > > This patch series adds support for these modules by repeatedly trying > to probe the PHY for up to 600ms. Series applied.