aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/base-files
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2022-01-16 11:18:38 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-17 15:21:46 +0000
commit45053b507c66d93c6db70e25f867e19a3af9bad4 (patch)
tree0881c12757650b55bc5591ef6f362f2b8476e69b /target/linux/realtek/base-files
parentf4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0 (diff)
downloadupstream-45053b507c66d93c6db70e25f867e19a3af9bad4.tar.gz
upstream-45053b507c66d93c6db70e25f867e19a3af9bad4.tar.bz2
upstream-45053b507c66d93c6db70e25f867e19a3af9bad4.zip
realtek: Add support for SFP EEPROM-access over SMBus
The EEPROMs on SFP modules are compatible both to I2C as well as SMBus. However, the kernel so far only supports I2C access. We add SMBus access routines, because the I2C driver for the RTL9300 HW only supports that protocol. At the same time we disable I2C access to PHYs on SFP modules as otherwise detection of any SFP module would fail. This is not in any way problematic at this point in time since the RTL93XX platform so far does not support PHYs on SFP modules. The patches are copied and rebased version of: https://bootlin.com/blog/sfp-modules-on-a-board-running-linux/ Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/base-files')
0 files changed, 0 insertions, 0 deletions