[PATCH 0/2] usb: typec: mux: GPIO-based SBU mux

From: Bjorn Andersson
Date: Wed Aug 10 2022 - 16:45:44 EST


A design found in various Qualcomm boards is to use a USB switch, controlled
through a pair of GPIO lines to connect, disconnect and switch the orientation
of the SBU lines in USB Type-C applications.

This series introduces a generic GPIO-driver for handling these designs.

Bjorn Andersson (2):
dt-bindings: usb: Introduce GPIO-based SBU mux
usb: typec: mux: Introduce GPIO-based SBU mux

.../devicetree/bindings/usb/gpio-sbu-mux.yaml | 77 ++++++++
drivers/usb/typec/mux/Kconfig | 6 +
drivers/usb/typec/mux/Makefile | 1 +
drivers/usb/typec/mux/gpio-sbu-mux.c | 171 ++++++++++++++++++
4 files changed, 255 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml
create mode 100644 drivers/usb/typec/mux/gpio-sbu-mux.c

--
2.35.1