openwrt/target/linux/generic
Jonas Jelonek 95532ba906 generic: backport gpio-line-mux driver
Backport the upstream 'gpio-line-mux' driver which allows to provide a
1-to-many mapping between one physical GPIO and multiple virtual GPIOs,
based on a multiplexer.

For this purpose, there's been a dedicated downstream driver
'gpio-cascade' which is mostly the same, but wasn't upstreamed in the
end. Independently developed, the 'gpio-line-mux' driver was upstreamed
to solve the exact same problem occuring on Realtek-based Zyxel XS1930
switches. Support for those is being worked on, but the hardware uses a
similar quirk for SFP signals. The signals 'RX_LOS', 'MOD_ABS' and
'TX_FAULT' do not have dedicated GPIOs each but all use a single GPIO
which is multiplexed. Depending on the multiplexer state the GPIO line is
connected to one of the signals.

Since the SFP driver needs single GPIOs for the single signals, this
adapter drivers fills the gap to make both work together.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22206
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-06 11:33:05 +01:00
..
backport-6.12 generic: backport gpio-line-mux driver 2026-03-06 11:33:05 +01:00
files kernel: mtdsplit: create executable prolog splitter 2026-02-03 13:33:12 +01:00
hack-6.12 Revert "kernel: revert ip6_tunnel use skb_vlan_inet_prepare() in __ip6_tnl_rcv()" 2026-02-15 13:21:44 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.12 kernel: net: fix deadlock caused by phy led trigger 2026-02-23 21:56:42 +01:00
config-6.12 generic: backport gpio-line-mux driver 2026-03-06 11:33:05 +01:00
config-filter generic: filter out more rust related symbols 2026-01-18 11:22:15 +01:00
kernel-6.12 kernel: bump 6.12 to 6.12.74 2026-02-27 18:17:49 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00