GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / usb / typec / tcpm / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2
3 config 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
12 if TYPEC_TCPM
13
14 config 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
21 if TYPEC_TCPCI
22
23 config 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
30 config 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
38 config TYPEC_TCPCI_MAXIM
39         tristate "Maxim TCPCI based Type-C chip driver"
40         help
41           MAXIM TCPCI based Type-C/PD chip driver. Works with
42           with Type-C Port Controller Manager.
43
44 endif # TYPEC_TCPCI
45
46 config TYPEC_FUSB302
47         tristate "Fairchild FUSB302 Type-C chip driver"
48         depends on I2C
49         depends on EXTCON || !EXTCON
50         help
51           The Fairchild FUSB302 Type-C chip driver that works with
52           Type-C Port Controller Manager to provide USB PD and USB
53           Type-C functionalities.
54
55 config TYPEC_WCOVE
56         tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
57         depends on ACPI
58         depends on MFD_INTEL_PMC_BXT
59         depends on BXT_WC_PMIC_OPREGION
60         help
61           This driver adds support for USB Type-C on Intel Broxton platforms
62           that have Intel Whiskey Cove PMIC. The driver works with USB Type-C
63           Port Controller Manager to provide USB PD and Type-C functionalities.
64
65           To compile this driver as module, choose M here: the module will be
66           called typec_wcove.ko
67
68 endif # TYPEC_TCPM