]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pending upstream rtl9300 i2c speed patch 22209/head
authorJan Kantert <jan-openwrt@kantert.net>
Sat, 28 Feb 2026 23:14:10 +0000 (00:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Mar 2026 19:51:08 +0000 (20:51 +0100)
commit557b092273e7ecb4f59305e2be63789522182145
tree569baf188d0590e840592a57e6a370ab90913236
parent89322b4d69a75ccf1758794b0bce7af375ce1ca1
realtek: pending upstream rtl9300 i2c speed patch

Some 10G optics showed random "module transmit fault indicated" due to I2C
read errors on ONTi ONT-S508CL-8S/XikeStor SKS8300-8X switches. The same
modules work with the original firmware and on other Linux based devices.

There seems to be some differences in how we talk to those modules using
I2C in OpenWRT. To fix this this patch adds support for 50kHz I2C speed on
SFPs and enables that for XikeStor/Onti devices. Since SFPs only transmit
very few bytes this should not have any real downsides.

This patch adds support in the i2c driver for 50kHz and 2.5MHz. In a
second PR I will configure 50kHz in the DTS for the affected devices.

Signed-off-by: Jan Kantert <jan-openwrt@kantert.net>
Link: https://github.com/openwrt/openwrt/pull/22209
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/patches-6.12/100-rtl9300-i2c-add-more-speeds.patch [new file with mode: 0644]