forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/usb/typec/tcpm/Kconfig
....@@ -1,3 +1,5 @@
1
+# SPDX-License-Identifier: GPL-2.0
2
+
13 config TYPEC_TCPM
24 tristate "USB Type-C Port Controller Manager"
35 depends on USB
....@@ -39,11 +41,26 @@
3941 Type-C Port Controller Manager to provide USB PD and USB
4042 Type-C functionalities.
4143
44
+config 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
+
52
+config 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
+
4258 endif # TYPEC_TCPCI
4359
4460 config TYPEC_FUSB302
4561 tristate "Fairchild FUSB302 Type-C chip driver"
4662 depends on I2C
63
+ depends on EXTCON || !EXTCON
4764 help
4865 The Fairchild FUSB302 Type-C chip driver that works with
4966 Type-C Port Controller Manager to provide USB PD and USB
....@@ -52,8 +69,7 @@
5269 config TYPEC_WCOVE
5370 tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
5471 depends on ACPI
55
- depends on INTEL_SOC_PMIC
56
- depends on INTEL_PMC_IPC
72
+ depends on MFD_INTEL_PMC_BXT
5773 depends on BXT_WC_PMIC_OPREGION
5874 help
5975 This driver adds support for USB Type-C on Intel Broxton platforms