From: Andrew Lunn <andrew@lunn.ch>
To: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>,
Rob Herring <robh+dt@kernel.org>,
Gregory Clement <gregory.clement@free-electrons.com>,
linux-arm-kernel@lists.infradead.org,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 2/2] ARM: dts: armada388-clearfog: add SFP module support
Date: Fri, 2 Mar 2018 23:04:45 +0100 [thread overview]
Message-ID: <20180302220445.GF25189@lunn.ch> (raw)
In-Reply-To: <20180302220215.GC9418@n2100.armlinux.org.uk>
On Fri, Mar 02, 2018 at 10:02:15PM +0000, Russell King - ARM Linux wrote:
> On Fri, Mar 02, 2018 at 10:56:14PM +0100, Andrew Lunn wrote:
> > On Tue, Feb 27, 2018 at 04:02:02PM +0000, Russell King wrote:
> > > Add SFP module support for Clearfog using the SFP phylink support.
> > >
> > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> >
> > Tested-by: Andrew Lunn <andrew@lunn.ch>
> >
> > Using a RoboFiber SFP module, connected to a media converter. Link
> > up/down detected.
>
> ethtool -m should also work.
Yes, it does. Sorry, should of said that.
root@clearfog:~# ethtool -m eth1
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x07 (LC)
Transceiver codes : 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00
Transceiver type : Ethernet: 1000BASE-SX
Encoding : 0x01 (8B/10B)
BR, Nominal : 1300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 550m
Length (62.5um) : 270m
Length (Copper) : 0m
Length (OM3) : 0m
Laser wavelength : 850nm
Vendor name : OEM
Vendor OUI : 20:20:20
Vendor PN : SFP-7000-85
Vendor rev : 11.0
Optical diagnostics support : Yes
Laser bias current : 45.512 mA
Laser output power : 0.2861 mW / -5.43 dBm
Receiver signal average optical power : 0.2749 mW / -5.61 dBm
Module temperature : 25.72 degrees C / 78.29 degrees F
Module voltage : 3.2856 V
...
Andrew
next prev parent reply other threads:[~2018-03-02 22:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-27 16:01 [PATCH 0/2] SolidRun Clearfog SFP support Russell King - ARM Linux
2018-02-27 16:01 ` [PATCH 1/2] ARM: dts: armada388-clearfog: increase speed of i2c0 to 400kHz Russell King
2018-03-05 15:48 ` Gregory CLEMENT
2018-03-05 16:09 ` Russell King - ARM Linux
2018-03-05 16:22 ` Gregory CLEMENT
2018-02-27 16:02 ` [PATCH 2/2] ARM: dts: armada388-clearfog: add SFP module support Russell King
2018-03-02 21:56 ` Andrew Lunn
2018-03-02 22:02 ` Russell King - ARM Linux
2018-03-02 22:04 ` Andrew Lunn [this message]
2018-03-04 12:13 ` Baruch Siach
2018-03-04 12:49 ` Russell King - ARM Linux
2018-03-04 13:19 ` Baruch Siach
2018-03-19 21:41 ` Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180302220445.GF25189@lunn.ch \
--to=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).