Skip to content

Commit

Permalink
usb: typec: driver for Intel PMC mux control
Browse files Browse the repository at this point in the history
The Intel PMC microcontroller on the latest Intel platforms
has a new function that allows configuration of the USB
Multiplexer/DeMultiplexer switches that are under the
control of the PMC.

The Intel PMC mux control (aka. mux-agent) can be used for
swapping the USB data role and for entering alternate modes,
DisplayPort or Thunderbolt3.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-10-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Heikki Krogerus authored and gregkh committed Mar 4, 2020
1 parent ca469c2 commit 6701adf
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/usb/typec/mux/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ config TYPEC_MUX_PI3USB30532
Say Y or M if your system has a Pericom PI3USB30532 Type-C cross
switch / mux chip found on some devices with a Type-C port.

config TYPEC_MUX_INTEL_PMC
tristate "Intel PMC mux control"
depends on INTEL_PMC_IPC
select USB_ROLE_SWITCH
help
Driver for USB muxes controlled by Intel PMC FW. Intel PMC FW can
control the USB role switch and also the multiplexer/demultiplexer
switches used with USB Type-C Alternate Modes.

endmenu
1 change: 1 addition & 0 deletions drivers/usb/typec/mux/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_TYPEC_MUX_PI3USB30532) += pi3usb30532.o
obj-$(CONFIG_TYPEC_MUX_INTEL_PMC) += intel_pmc_mux.o

0 comments on commit 6701adf

Please sign in to comment.