Skip to content

gpio: add generic gpio input multiplexer

Mauri Sandberg linux-devicetree linux-gpio lkml oe-kbuild-all 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v2 RFC2 patches 0 repliesSuperseded
  3. v1 RFC2 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: gpio-mux-input: add documentationDocumentation/devicetree/bindings/gpio/gpio-mux-input.yaml+75 -00 replies
1/2dt-bindings: gpio-mux-input: add documentationDocumentation/devicetree/bindings/gpio/gpio-mux-input.yaml+75 -00 replies
2/2gpio: gpio-mux-input: add generic gpio input multiplexerdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-mux-input.c+141 -00 replies
2/2gpio: gpio-mux-input: add generic gpio input multiplexerdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-mux-input.c+141 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDrew Fustini
SeriesT-b R-b
1/2
1/2
2/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] gpio: add generic gpio input multiplexer

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

Signature · 1 line
2.25.1