1# SPDX-License-Identifier: GPL-2.0
2
3config TYPEC_TCPM
4	tristate "USB Type-C Port Controller Manager"
5	depends on USB
6	select USB_ROLE_SWITCH
7	select POWER_SUPPLY
8	help
9	  The Type-C Port Controller Manager provides a USB PD and USB Type-C
10	  state machine for use with Type-C Port Controllers.
11
12if TYPEC_TCPM
13
14config TYPEC_TCPCI
15	tristate "Type-C Port Controller Interface driver"
16	depends on I2C
17	select REGMAP_I2C
18	help
19	  Type-C Port Controller driver for TCPCI-compliant controller.
20
21if TYPEC_TCPCI
22
23config TYPEC_RT1711H
24	tristate "Richtek RT1711H Type-C chip driver"
25	help
26	  Richtek RT1711H Type-C chip driver that works with
27	  Type-C Port Controller Manager to provide USB PD and USB
28	  Type-C functionalities.
29
30endif # TYPEC_TCPCI
31
32config TYPEC_FUSB302
33	tristate "Fairchild FUSB302 Type-C chip driver"
34	depends on I2C
35	help
36	  The Fairchild FUSB302 Type-C chip driver that works with
37	  Type-C Port Controller Manager to provide USB PD and USB
38	  Type-C functionalities.
39
40config TYPEC_WCOVE
41	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
42	depends on ACPI
43	depends on INTEL_SOC_PMIC
44	depends on INTEL_PMC_IPC
45	depends on BXT_WC_PMIC_OPREGION
46	help
47	  This driver adds support for USB Type-C on Intel Broxton platforms
48	  that have Intel Whiskey Cove PMIC. The driver works with USB Type-C
49	  Port Controller Manager to provide USB PD and Type-C functionalities.
50
51	  To compile this driver as module, choose M here: the module will be
52	  called typec_wcove.ko
53
54endif # TYPEC_TCPM
55