Received: by 10.213.65.68 with SMTP id h4csp1507459imn; Mon, 19 Mar 2018 06:11:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELusae0lB4kbxrKpcNYpIg0FJ+GlAaczoalOXEEIWWQjRDLrZGJbh8TJmhdy8PhES8PP0wbD X-Received: by 2002:a17:902:b10c:: with SMTP id q12-v6mr12753063plr.197.1521465081489; Mon, 19 Mar 2018 06:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521465081; cv=none; d=google.com; s=arc-20160816; b=D1ktHARE3zys4rEe2l7KQiQJ9YOdQUbcPkzLSWpHstHI/4pVjqh7zGcojuolIWrOgh bMAYlkVU8IubiMozQ49yoZzpGphrY8IrDRF533SGJf3u3uTs8/RrkdN2ZHUM4mKuzCAw Vkmb0G9f8DTg+cqziB+j1o3oh0IZtBq1Whrjx9N8+gQHyljXDc4+CzZNzvbU+LpUML9/ EAzpYa+U4rMmvGv2WQCshGB10KdrXN406A0BRyzV+kC/ejWiFUy0N3u3Bq8mB+DKmI8U jZiSWAaByqXomW3Cjr0Vif7Or2wjBo/BRtKMJKmFgE9HdCeyG/aV7E2R9VVkM52YNR2d Tl2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=fzUMyL2OsZ5P4qqo0vbV9civ7wKgSLl+FeW7rrtfuhc=; b=s2g+G2A2HyW+2ZkbgsyNSlkLhKBCHEYTMdXpsOoySpdtgR0Hy4Ni8A8pLfJ+0W1Gvq XNQUKlLna/Mgaj8RJWG3pAHtOG/gOyeU5NiO8Mda9UR93xMgogKRFg3bKA/Sm7bRLy1R ANS0460QVmw5u32fE9uQFdy7JU8eEoIfS+J8FgNcjZsK3eBT2nLNWFiLD2rI2LHluGW6 hMPkElT2wt4Ekz57Gf3lXjeTWZebBABvl9wfNJCYprVzMzBFmtoHJq3PyBFo9lR4AHAm AVJfVoNs6D4U1RUTgbWij8Frp98G8dC2bj/WjLmKa83N3SZAR7jzPYGX8knWuSDnoAEM gAPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=PdNykSgf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y73-v6si4874464plh.393.2018.03.19.06.11.01; Mon, 19 Mar 2018 06:11:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=PdNykSgf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755544AbeCSNIc (ORCPT + 99 others); Mon, 19 Mar 2018 09:08:32 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:35269 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755433AbeCSNIa (ORCPT ); Mon, 19 Mar 2018 09:08:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=fzUMyL2OsZ5P4qqo0vbV9civ7wKgSLl+FeW7rrtfuhc=; b=PdNykSgf8o5UMN7fi15djkgEoS7DiitAOeG3p3AE8BfLRLP4AMYGWHBUSjmnPMHXhlTVEg73Sq8uNaveDpxhor5zO4GdvwnCm1zsN92rKmEGq2JG/KshkXLt1998GAi4bTgKBjn217oOlh/GSNy/9BguCUBj0xg9ccd9y1XHE5M=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1exuWV-0005sz-7Q; Mon, 19 Mar 2018 14:08:23 +0100 Date: Mon, 19 Mar 2018 14:08:23 +0100 From: Andrew Lunn To: Stefan Chulski Cc: Antoine Tenart , Russell King - ARM Linux , "davem@davemloft.net" , "kishon@ti.com" , "gregory.clement@bootlin.com" , "jason@lakedaemon.net" , "sebastian.hesselbarth@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "maxime.chevallier@bootlin.com" , "miquel.raynal@bootlin.com" , Nadav Haklai , Yan Markman , "mw@semihalf.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation Message-ID: <20180319130823.GA22306@lunn.ch> References: <20180316103351.16616-1-antoine.tenart@bootlin.com> <20180316103351.16616-3-antoine.tenart@bootlin.com> <20180316155307.GQ9418@n2100.armlinux.org.uk> <20180319085252.GF4519@kwain> <20180319111205.GB2743@n2100.armlinux.org.uk> <20180319125227.GI4519@kwain> <20180319125953.GD19795@lunn.ch> <54e290a192734831b5db22191f056a81@IL-EXCH01.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54e290a192734831b5db22191f056a81@IL-EXCH01.marvell.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > If they don't have PHYs, how are the connected to the outside world? > > > > Andrew > > By external SFP or direct attached cable. Maybe i'm missing something, but don't you just need to add an SFP device in the device tree. The SFP code and PHYLINK will work together, query what the SFP module is, use the GPIOs to determine link up/down and module present, and tell the MAC how to configure the MAC-SFP link? Andrew