openwrt-pf/target/linux/realtek
Jonas Jelonek 184f70a44d
realtek: pse: add patch for sysfs detection control
Add a patch which modifies the Realtek PSE MCU driver backport to add a
sysfs control to control detection mode per port. Some older,
bad-designed devices aren't detected properly in standard mode on some
switches, though vendor firmware powers them properly. Testing shows
that enabling the detection of legacy PDs by allowing wider resistance,
more input capacitance and using a wider detection window, solves this
issue.

The legacy detection can be activated by writing 1 to
portN/detection_legacy in the device's sysfs, e.g.

  echo 1 > /sys/bus/i2c/devices/3-0020/port0/detection_legacy

This patch is kept downstream for now, upstreaming will be attempted
though it is likely that upstream prefers a generic pse-pd approach.

Link: https://github.com/openwrt/openwrt/pull/23222
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-14 23:45:29 +02:00
..
base-files Revert "realtek: add support for Ubiquiti UniFi USW Pro Max 24 PoE" 2026-07-09 10:47:21 +02:00
dts Revert "realtek: add support for Ubiquiti UniFi USW Pro Max 24 PoE" 2026-07-09 10:47:21 +02:00
files-6.18 kernel: replace strcpy/strcat with strscpy/strlcat 2026-07-09 09:31:24 +02:00
image Revert "realtek: add support for Ubiquiti UniFi USW Pro Max 24 PoE" 2026-07-09 10:47:21 +02:00
patches-6.18 realtek: pse: add patch for sysfs detection control 2026-07-14 23:45:29 +02:00
profiles
rtl838x realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
rtl839x realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
rtl930x realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
rtl930x_nand realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
rtl931x realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
rtl931x_nand realtek: add Realtek PSE MCU driver 2026-07-14 23:45:29 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00