Skip to content

Commit 6701adf

Browse files
Heikki Krogerusgregkh
authored andcommitted
usb: typec: driver for Intel PMC mux control
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>
1 parent ca469c2 commit 6701adf

3 files changed

Lines changed: 444 additions & 0 deletions

File tree

‎drivers/usb/typec/mux/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@ config TYPEC_MUX_PI3USB30532
99
Say Y or M if your system has a Pericom PI3USB30532 Type-C cross
1010
switch / mux chip found on some devices with a Type-C port.
1111

12+
config TYPEC_MUX_INTEL_PMC
13+
tristate "Intel PMC mux control"
14+
depends on INTEL_PMC_IPC
15+
select USB_ROLE_SWITCH
16+
help
17+
Driver for USB muxes controlled by Intel PMC FW. Intel PMC FW can
18+
control the USB role switch and also the multiplexer/demultiplexer
19+
switches used with USB Type-C Alternate Modes.
20+
1221
endmenu

‎drivers/usb/typec/mux/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22

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

0 commit comments

Comments
 (0)