mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 19:39:48 +01:00
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> |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||