xref: /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_ET7303
24	tristate "Etek ET7303 Type-C chip driver"
25	help
26	  Etek ET7303 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_HUSB311
31	tristate "Hynetek HUSB311 Type-C chip driver"
32	help
33	  Hynetek HUSB311 Type-C chip driver that works with
34	  Type-C Port Controller Manager to provide USB PD and USB
35	  Type-C functionalities.
36
37config TYPEC_RT1711H
38	tristate "Richtek RT1711H Type-C chip driver"
39	help
40	  Richtek RT1711H Type-C chip driver that works with
41	  Type-C Port Controller Manager to provide USB PD and USB
42	  Type-C functionalities.
43
44config TYPEC_MT6360
45	tristate "Mediatek MT6360 Type-C driver"
46	depends on MFD_MT6360
47	help
48	  Mediatek MT6360 is a multi-functional IC that includes
49	  USB Type-C. It works with Type-C Port Controller Manager
50	  to provide USB PD and USB Type-C functionalities.
51
52config TYPEC_TCPCI_MAXIM
53	tristate "Maxim TCPCI based Type-C chip driver"
54	help
55	  MAXIM TCPCI based Type-C/PD chip driver. Works with
56	  with Type-C Port Controller Manager.
57
58endif # TYPEC_TCPCI
59
60config TYPEC_FUSB302
61	tristate "Fairchild FUSB302 Type-C chip driver"
62	depends on I2C
63	depends on EXTCON || !EXTCON
64	help
65	  The Fairchild FUSB302 Type-C chip driver that works with
66	  Type-C Port Controller Manager to provide USB PD and USB
67	  Type-C functionalities.
68
69config TYPEC_WCOVE
70	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
71	depends on ACPI
72	depends on MFD_INTEL_PMC_BXT
73	depends on BXT_WC_PMIC_OPREGION
74	help
75	  This driver adds support for USB Type-C on Intel Broxton platforms
76	  that have Intel Whiskey Cove PMIC. The driver works with USB Type-C
77	  Port Controller Manager to provide USB PD and Type-C functionalities.
78
79	  To compile this driver as module, choose M here: the module will be
80	  called typec_wcove.ko
81
82endif # TYPEC_TCPM
83