xref: /linux/drivers/usb/typec/tcpm/Kconfig (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
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
30config TYPEC_MT6360
31	tristate "Mediatek MT6360 Type-C driver"
32	depends on MFD_MT6360
33	help
34	  Mediatek MT6360 is a multi-functional IC that includes
35	  USB Type-C. It works with Type-C Port Controller Manager
36	  to provide USB PD and USB Type-C functionalities.
37
38config TYPEC_TCPCI_MT6370
39	tristate "MediaTek MT6370 Type-C driver"
40	depends on MFD_MT6370
41	help
42	  MediaTek MT6370 is a multi-functional IC that includes
43	  USB Type-C. It works with Type-C Port Controller Manager
44	  to provide USB PD and USB Type-C functionalities.
45
46	  This driver can also be built as a module. The module
47	  will be called "tcpci_mt6370".
48
49config TYPEC_TCPCI_MAXIM
50	tristate "Maxim TCPCI based Type-C chip driver"
51	help
52	  MAXIM TCPCI based Type-C/PD chip driver. Works with
53	  with Type-C Port Controller Manager.
54
55endif # TYPEC_TCPCI
56
57config TYPEC_FUSB302
58	tristate "Fairchild FUSB302 Type-C chip driver"
59	depends on I2C
60	depends on EXTCON || !EXTCON
61	depends on DRM || DRM=n
62	select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
63	help
64	  The Fairchild FUSB302 Type-C chip driver that works with
65	  Type-C Port Controller Manager to provide USB PD and USB
66	  Type-C functionalities.
67
68config TYPEC_WCOVE
69	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
70	depends on ACPI
71	depends on MFD_INTEL_PMC_BXT
72	depends on BXT_WC_PMIC_OPREGION
73	help
74	  This driver adds support for USB Type-C on Intel Broxton platforms
75	  that have Intel Whiskey Cove PMIC. The driver works with USB Type-C
76	  Port Controller Manager to provide USB PD and Type-C functionalities.
77
78	  To compile this driver as module, choose M here: the module will be
79	  called typec_wcove.ko
80
81config TYPEC_QCOM_PMIC
82	tristate "Qualcomm PMIC USB Type-C Port Controller Manager driver"
83	depends on ARCH_QCOM || COMPILE_TEST
84	depends on DRM || DRM=n
85	select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
86	help
87	  A Type-C port and Power Delivery driver which aggregates two
88	  discrete pieces of silicon in the PM8150b PMIC block: the
89	  Type-C port controller and the Power Delivery PHY.
90
91	  This driver enables Type-C role switching, orientation, Alternate
92	  mode and Power Delivery support both for VBUS and VCONN.
93
94endif # TYPEC_TCPM
95