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=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 8B2BCC43331 for ; Sun, 10 Nov 2019 17:08:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 312B72080F for ; Sun, 10 Nov 2019 17:08:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="1jp+fogx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbfKJRIs (ORCPT ); Sun, 10 Nov 2019 12:08:48 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:47828 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726651AbfKJRIs (ORCPT ); Sun, 10 Nov 2019 12:08:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References: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:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n+ZC/FefGs48WjMXZB/zcx8onOOcLoMjezmONRP8pRQ=; b=1jp+fogxmxXxIDLh4E5Hu6Cy2 3HH1P3zlxmWHX3IwxPnMw3iH9c1I3n8lCmGitPpr5VjuUz40UGG2nEIojxgnJAYSu1ZaGFemB+C42 loe5kxNE9nbM48VKkwxSLaxvGDnb6hmnGKKDSxfmavxjPzoIm3YieqXZ2mG0954g7oUUqtj8EViie cjc2UdkLFoV8Q2tbnp4Z2pWez78ZVYvQg+DeFDP1djmPk3lJjim0LFpX5wlWLOq5ras1E7K7mZsdx TMV9ZvIIAkpN0WI2zlB3YDIjYB/Iv3+oAL4aNvBmEp4Ep6ru5oksw2y1LVTseGGpQPo+ccRMIvkvA J550CdbVQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37838) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iTqhb-00007r-89; Sun, 10 Nov 2019 17:08:39 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1iTqhW-000863-Ob; Sun, 10 Nov 2019 17:08:34 +0000 Date: Sun, 10 Nov 2019 17:08:34 +0000 From: Russell King - ARM Linux admin To: Andrew Lunn Cc: Florian Fainelli , Heiner Kallweit , "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH net-next 1/2] net: phy: add core phylib sfp support Message-ID: <20191110170834.GD25745@shell.armlinux.org.uk> References: <20191110142226.GB25745@shell.armlinux.org.uk> <20191110161307.GC25889@lunn.ch> <20191110164007.GC25745@shell.armlinux.org.uk> <20191110170040.GG25889@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191110170040.GG25889@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Nov 10, 2019 at 06:00:40PM +0100, Andrew Lunn wrote: > On Sun, Nov 10, 2019 at 04:40:07PM +0000, Russell King - ARM Linux admin wrote: > > On Sun, Nov 10, 2019 at 05:13:07PM +0100, Andrew Lunn wrote: > > > On Sun, Nov 10, 2019 at 02:23:05PM +0000, Russell King wrote: > > > > Add core phylib help for supporting SFP sockets on PHYs. This provides > > > > a mechanism to inform the SFP layer about PHY up/down events, and also > > > > unregister the SFP bus when the PHY is going away. > > > > > > Hi Russell > > > > > > What does the device tree binding look like? I think you have SFP > > > proprieties in the PHYs node? > > > > Correct, just the same as network devices. Hmm, however, neither are > > documented... oh dear, it looks like I need to figure out how this > > yaml stuff works. :( > > Yes, that would be good. I also assume you have at least one DT patch > for one of the Marvell boards? Seeing that would also help. There's no need, it was already added by bootlin back in May 2018. arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up