[lkml]   [2018]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr
On Mon, Aug 27, 2018 at 01:03:42PM -0700, Florian Fainelli wrote:
> Enable the SFP connected to port 5 of the switch and wire up all GPIOs
> to the SFP cage. Because of a hardware limitation of the i2c controller
> on the iProc SoCs which prevents large i2c (> 256 bytes) transactions to
> work, we use the i2c-gpio interface instead, which does not have that
> limitation. This allows us to read the SFP module EEPROM, which would
> not be possible otherwise since it exceeds that size during a single
> read transfer.

We shouldn't exceed 256 bytes, since 256 bytes is the "page" size
of the EEPROM. The most that we read in one block is either
ETH_MODULE_SFF_8079_LEN), both of which result in no more than 256
byte reads.

RMK's Patch system:
FTTC broadband for 0.8mile line in suburbia: sync at 13.8Mbps down 630kbps up
According to 13Mbps down 490kbps up

 \ /
  Last update: 2018-08-28 00:27    [W:0.062 / U:7.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site