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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ca469c2 commit 6701adf

File tree

3 files changed

+444
-0
lines changed

3 files changed

+444
-0
lines changed

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)