diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2022-01-16 11:18:38 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:46 +0000 |
commit | 45053b507c66d93c6db70e25f867e19a3af9bad4 (patch) | |
tree | 0881c12757650b55bc5591ef6f362f2b8476e69b /target/linux/bcm63xx/dts/bcm6358-d-link-dsl-274xb-c2.dts | |
parent | f4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0 (diff) | |
download | upstream-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/bcm63xx/dts/bcm6358-d-link-dsl-274xb-c2.dts')
0 files changed, 0 insertions, 0 deletions