Hello all! This patch set is closely related to another thread at [4], which I abandoned against better judgement and created this one. Here I am sending revised versions of the patches. It builds on v2 and adopts managed device resources as suggested by Andy on the thread mentioned above [5]. I have tested the functionality on a NXP 74HC153 dual 4-way muxer. Drew, did you find the time to have a go with this [6] and if so, did it work as expected? Thanks, Mauri [4] https://www.spinics.net/lists/linux-gpio/msg58573.html [5] https://www.spinics.net/lists/linux-gpio/msg60160.html [6] https://www.spinics.net/lists/linux-gpio/msg60159.html Mauri Sandberg (2): dt-bindings: gpio-mux-input: add documentation gpio: gpio-mux-input: add generic gpio input multiplexer .../bindings/gpio/gpio-mux-input.yaml | 75 +++++++++++ drivers/gpio/Kconfig | 16 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-mux-input.c | 124 ++++++++++++++++++ 4 files changed, 216 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-mux-input.yaml create mode 100644 drivers/gpio/gpio-mux-input.c base-commit: 6453b9532b5f77d19837b159c4d074f0af9f141b -- 2.25.1