hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/extcon/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig EXTCON
23 tristate "External Connector Class (extcon) support"
34 help
....@@ -30,11 +31,23 @@
3031
3132 config EXTCON_AXP288
3233 tristate "X-Power AXP288 EXTCON support"
33
- depends on MFD_AXP20X && USB_SUPPORT && X86
34
+ depends on MFD_AXP20X && USB_SUPPORT && X86 && ACPI
3435 select USB_ROLE_SWITCH
3536 help
3637 Say Y here to enable support for USB peripheral detection
3738 and USB MUX switching by X-Power AXP288 PMIC.
39
+
40
+config EXTCON_FSA9480
41
+ tristate "FSA9480 EXTCON Support"
42
+ depends on INPUT && I2C
43
+ select IRQ_DOMAIN
44
+ select REGMAP_I2C
45
+ help
46
+ If you say yes here you get support for the Fairchild Semiconductor
47
+ FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
48
+ port accessory detector and switch. The FSA9480 is fully controlled using
49
+ I2C and enables USB data, stereo and mono audio, video, microphone
50
+ and UART data to use a common connector port.
3851
3952 config EXTCON_GPIO
4053 tristate "GPIO extcon support"
....@@ -59,6 +72,13 @@
5972 help
6073 Say Y here to enable extcon support for charger detection / control
6174 on the Intel Cherrytrail Whiskey Cove PMIC.
75
+
76
+config EXTCON_INTEL_MRFLD
77
+ tristate "Intel Merrifield Basin Cove PMIC extcon driver"
78
+ depends on INTEL_SOC_PMIC_MRFLD
79
+ help
80
+ Say Y here to enable extcon support for charger detection / control
81
+ on the Intel Merrifield Basin Cove PMIC.
6282
6383 config EXTCON_MAX14577
6484 tristate "Maxim MAX14577/77836 EXTCON Support"
....@@ -114,6 +134,14 @@
114134 Say Y here to enable support for USB peripheral and USB host
115135 detection by palmas usb.
116136
137
+config EXTCON_PTN5150
138
+ tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
139
+ depends on I2C && (GPIOLIB || COMPILE_TEST)
140
+ select REGMAP_I2C
141
+ help
142
+ Say Y here to enable support for USB peripheral and USB host
143
+ detection by NXP PTN5150 CC (Configuration Channel) logic chip.
144
+
117145 config EXTCON_QCOM_SPMI_MISC
118146 tristate "Qualcomm USB extcon support"
119147 depends on ARCH_QCOM || COMPILE_TEST
....@@ -153,7 +181,7 @@
153181
154182 config EXTCON_USBC_CROS_EC
155183 tristate "ChromeOS Embedded Controller EXTCON support"
156
- depends on MFD_CROS_EC
184
+ depends on CROS_EC
157185 help
158186 Say Y here to enable USB Type C cable detection extcon support when
159187 using Chrome OS EC based USB Type-C ports.