xref: /openbmc/linux/drivers/usb/typec/tcpm/Kconfig (revision 4b3cd783)
1cae8dc3bSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2cae8dc3bSGreg Kroah-Hartman
3ae8a2ca8SHeikki Krogerusconfig TYPEC_TCPM
4ae8a2ca8SHeikki Krogerus	tristate "USB Type-C Port Controller Manager"
5ae8a2ca8SHeikki Krogerus	depends on USB
6ae8a2ca8SHeikki Krogerus	select USB_ROLE_SWITCH
7ae8a2ca8SHeikki Krogerus	select POWER_SUPPLY
8ae8a2ca8SHeikki Krogerus	help
9ae8a2ca8SHeikki Krogerus	  The Type-C Port Controller Manager provides a USB PD and USB Type-C
10ae8a2ca8SHeikki Krogerus	  state machine for use with Type-C Port Controllers.
11ae8a2ca8SHeikki Krogerus
12ae8a2ca8SHeikki Krogerusif TYPEC_TCPM
13ae8a2ca8SHeikki Krogerus
14ae8a2ca8SHeikki Krogerusconfig TYPEC_TCPCI
15ae8a2ca8SHeikki Krogerus	tristate "Type-C Port Controller Interface driver"
16ae8a2ca8SHeikki Krogerus	depends on I2C
17ae8a2ca8SHeikki Krogerus	select REGMAP_I2C
18ae8a2ca8SHeikki Krogerus	help
19ae8a2ca8SHeikki Krogerus	  Type-C Port Controller driver for TCPCI-compliant controller.
20ae8a2ca8SHeikki Krogerus
21ae8a2ca8SHeikki Krogerusif TYPEC_TCPCI
22ae8a2ca8SHeikki Krogerus
23ae8a2ca8SHeikki Krogerusconfig TYPEC_RT1711H
24ae8a2ca8SHeikki Krogerus	tristate "Richtek RT1711H Type-C chip driver"
25ae8a2ca8SHeikki Krogerus	help
26ae8a2ca8SHeikki Krogerus	  Richtek RT1711H Type-C chip driver that works with
27ae8a2ca8SHeikki Krogerus	  Type-C Port Controller Manager to provide USB PD and USB
28ae8a2ca8SHeikki Krogerus	  Type-C functionalities.
29ae8a2ca8SHeikki Krogerus
30e1aefcddSChiYuan Huangconfig TYPEC_MT6360
31e1aefcddSChiYuan Huang	tristate "Mediatek MT6360 Type-C driver"
32e1aefcddSChiYuan Huang	depends on MFD_MT6360
33e1aefcddSChiYuan Huang	help
34e1aefcddSChiYuan Huang	  Mediatek MT6360 is a multi-functional IC that includes
35e1aefcddSChiYuan Huang	  USB Type-C. It works with Type-C Port Controller Manager
36e1aefcddSChiYuan Huang	  to provide USB PD and USB Type-C functionalities.
37e1aefcddSChiYuan Huang
38c2a8ea59SChiYuan Huangconfig TYPEC_TCPCI_MT6370
39c2a8ea59SChiYuan Huang	tristate "MediaTek MT6370 Type-C driver"
40c2a8ea59SChiYuan Huang	depends on MFD_MT6370
41c2a8ea59SChiYuan Huang	help
42c2a8ea59SChiYuan Huang	  MediaTek MT6370 is a multi-functional IC that includes
43c2a8ea59SChiYuan Huang	  USB Type-C. It works with Type-C Port Controller Manager
44c2a8ea59SChiYuan Huang	  to provide USB PD and USB Type-C functionalities.
45c2a8ea59SChiYuan Huang
46c2a8ea59SChiYuan Huang	  This driver can also be built as a module. The module
47c2a8ea59SChiYuan Huang	  will be called "tcpci_mt6370".
48c2a8ea59SChiYuan Huang
496f413b55SBadhri Jagan Sridharanconfig TYPEC_TCPCI_MAXIM
506f413b55SBadhri Jagan Sridharan	tristate "Maxim TCPCI based Type-C chip driver"
516f413b55SBadhri Jagan Sridharan	help
526f413b55SBadhri Jagan Sridharan	  MAXIM TCPCI based Type-C/PD chip driver. Works with
536f413b55SBadhri Jagan Sridharan	  with Type-C Port Controller Manager.
546f413b55SBadhri Jagan Sridharan
55ae8a2ca8SHeikki Krogerusendif # TYPEC_TCPCI
56ae8a2ca8SHeikki Krogerus
57ae8a2ca8SHeikki Krogerusconfig TYPEC_FUSB302
58ae8a2ca8SHeikki Krogerus	tristate "Fairchild FUSB302 Type-C chip driver"
59ae8a2ca8SHeikki Krogerus	depends on I2C
60547fc228Szhong jiang	depends on EXTCON || !EXTCON
61ae8a2ca8SHeikki Krogerus	help
62ae8a2ca8SHeikki Krogerus	  The Fairchild FUSB302 Type-C chip driver that works with
63ae8a2ca8SHeikki Krogerus	  Type-C Port Controller Manager to provide USB PD and USB
64ae8a2ca8SHeikki Krogerus	  Type-C functionalities.
65ae8a2ca8SHeikki Krogerus
66ae8a2ca8SHeikki Krogerusconfig TYPEC_WCOVE
67ae8a2ca8SHeikki Krogerus	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
68ae8a2ca8SHeikki Krogerus	depends on ACPI
6925f1ca31SMika Westerberg	depends on MFD_INTEL_PMC_BXT
70ae8a2ca8SHeikki Krogerus	depends on BXT_WC_PMIC_OPREGION
71ae8a2ca8SHeikki Krogerus	help
72ae8a2ca8SHeikki Krogerus	  This driver adds support for USB Type-C on Intel Broxton platforms
73ae8a2ca8SHeikki Krogerus	  that have Intel Whiskey Cove PMIC. The driver works with USB Type-C
74ae8a2ca8SHeikki Krogerus	  Port Controller Manager to provide USB PD and Type-C functionalities.
75ae8a2ca8SHeikki Krogerus
76ae8a2ca8SHeikki Krogerus	  To compile this driver as module, choose M here: the module will be
77ae8a2ca8SHeikki Krogerus	  called typec_wcove.ko
78ae8a2ca8SHeikki Krogerus
79a4422ff2SBryan O'Donoghueconfig TYPEC_QCOM_PMIC
80a4422ff2SBryan O'Donoghue	tristate "Qualcomm PMIC USB Type-C Port Controller Manager driver"
81a4422ff2SBryan O'Donoghue	depends on ARCH_QCOM || COMPILE_TEST
82*4b3cd783SDmitry Baryshkov	depends on DRM || DRM=n
83a4422ff2SBryan O'Donoghue	help
84a4422ff2SBryan O'Donoghue	  A Type-C port and Power Delivery driver which aggregates two
85a4422ff2SBryan O'Donoghue	  discrete pieces of silicon in the PM8150b PMIC block: the
86a4422ff2SBryan O'Donoghue	  Type-C port controller and the Power Delivery PHY.
87a4422ff2SBryan O'Donoghue
88a4422ff2SBryan O'Donoghue	  This driver enables Type-C role switching, orientation, Alternate
89a4422ff2SBryan O'Donoghue	  mode and Power Delivery support both for VBUS and VCONN.
90a4422ff2SBryan O'Donoghue
91ae8a2ca8SHeikki Krogerusendif # TYPEC_TCPM
92