blob: de06fafb52ffc97d1f0e7a904ab20e1b7342c3f8 [file] [log] [blame]
MyungJoo Hamde55d872012-04-20 14:16:22 +09001menuconfig EXTCON
2 tristate "External Connector Class (extcon) support"
3 help
4 Say Y here to enable external connector class (extcon) support.
5 This allows monitoring external connectors by userspace
6 via sysfs and uevent and supports external connectors with
7 multiple states; i.e., an extcon that may have multiple
8 cables attached. For example, an external connector of a device
9 may be used to connect an HDMI cable and a AC adaptor, and to
10 host USB ports. Many of 30-pin connectors including PDMI are
11 also good examples.
12
13if EXTCON
14
15comment "Extcon Device Drivers"
16
Chanwoo Choie48f9da2014-05-22 14:01:51 +090017config EXTCON_ADC_JACK
18 tristate "ADC Jack extcon support"
19 depends on IIO
20 help
21 Say Y here to enable extcon device driver based on ADC values.
22
23config EXTCON_ARIZONA
24 tristate "Wolfson Arizona EXTCON support"
25 depends on MFD_ARIZONA && INPUT && SND_SOC
26 help
27 Say Y here to enable support for external accessory detection
28 with Wolfson Arizona devices. These are audio CODECs with
29 advanced audio accessory detection support.
30
Ramakrishna Pallalaf0312372015-04-30 20:44:45 +053031config EXTCON_AXP288
32 tristate "X-Power AXP288 EXTCON support"
YueHaibingfa3c0982019-04-04 22:17:48 +080033 depends on MFD_AXP20X && USB_SUPPORT && X86 && ACPI
Hans de Goeded54f0632018-03-20 15:57:13 +030034 select USB_ROLE_SWITCH
Ramakrishna Pallalaf0312372015-04-30 20:44:45 +053035 help
36 Say Y here to enable support for USB peripheral detection
37 and USB MUX switching by X-Power AXP288 PMIC.
38
MyungJoo Hambe483082012-04-20 14:16:23 +090039config EXTCON_GPIO
40 tristate "GPIO extcon support"
Geert Uytterhoeven638f9582015-05-05 18:32:20 +020041 depends on GPIOLIB || COMPILE_TEST
MyungJoo Hambe483082012-04-20 14:16:23 +090042 help
43 Say Y here to enable GPIO based extcon support. Note that GPIO
44 extcon supports single state per extcon instance.
45
David Cohen2f556bd2016-12-21 12:20:25 +010046config EXTCON_INTEL_INT3496
47 tristate "Intel INT3496 ACPI device extcon driver"
Peter Robinson059c7874b2017-03-02 18:10:10 +000048 depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
David Cohen2f556bd2016-12-21 12:20:25 +010049 help
50 Say Y here to enable extcon support for USB OTG ports controlled by
51 an Intel INT3496 ACPI device.
52
53 This ACPI device is typically found on Intel Baytrail or Cherrytrail
54 based tablets, or other Baytrail / Cherrytrail devices.
55
Hans de Goededb0f3ba2017-03-23 17:01:42 +010056config EXTCON_INTEL_CHT_WC
57 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
58 depends on INTEL_SOC_PMIC_CHTWC
59 help
60 Say Y here to enable extcon support for charger detection / control
61 on the Intel Cherrytrail Whiskey Cove PMIC.
62
Andy Shevchenko492929c2019-03-19 16:30:42 +020063config EXTCON_INTEL_MRFLD
64 tristate "Intel Merrifield Basin Cove PMIC extcon driver"
65 depends on INTEL_SOC_PMIC_MRFLD
66 help
67 Say Y here to enable extcon support for charger detection / control
68 on the Intel Merrifield Basin Cove PMIC.
69
Chanwoo Choi962e56b2013-11-22 16:51:06 +010070config EXTCON_MAX14577
Chanwoo Choied2c0602015-04-03 09:51:26 +090071 tristate "Maxim MAX14577/77836 EXTCON Support"
Chanwoo Choi962e56b2013-11-22 16:51:06 +010072 depends on MFD_MAX14577
73 select IRQ_DOMAIN
74 select REGMAP_I2C
75 help
76 If you say yes here you get support for the MUIC device of
Krzysztof Kozlowski4706a522014-04-14 11:17:19 +020077 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
Chanwoo Choi962e56b2013-11-22 16:51:06 +010078 detector and switch.
79
Sergei Shtylyov08a0a4f2015-12-19 08:17:41 +090080config EXTCON_MAX3355
81 tristate "Maxim MAX3355 USB OTG EXTCON Support"
82 depends on GPIOLIB || COMPILE_TEST
83 help
84 If you say yes here you get support for the USB OTG role detection by
85 MAX3355. The MAX3355 chip integrates a charge pump and comparators to
86 enable a system with an integrated USB OTG dual-role transceiver to
87 function as an USB OTG dual-role device.
88
Chanwoo Choidb1b9032012-07-17 13:28:28 +090089config EXTCON_MAX77693
Chanwoo Choied2c0602015-04-03 09:51:26 +090090 tristate "Maxim MAX77693 EXTCON Support"
Chanwoo Choi1aa05902013-01-25 10:56:10 +090091 depends on MFD_MAX77693 && INPUT
Chanwoo Choidb1b9032012-07-17 13:28:28 +090092 select IRQ_DOMAIN
93 select REGMAP_I2C
94 help
95 If you say yes here you get support for the MUIC device of
96 Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
97 detector and switch.
98
Jaewon Kim27a28d32015-02-04 13:56:07 +090099config EXTCON_MAX77843
Chanwoo Choied2c0602015-04-03 09:51:26 +0900100 tristate "Maxim MAX77843 EXTCON Support"
Jaewon Kim27a28d32015-02-04 13:56:07 +0900101 depends on MFD_MAX77843
102 select IRQ_DOMAIN
103 select REGMAP_I2C
104 help
105 If you say yes here you get support for the MUIC device of
106 Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
107 detector add switch.
108
Chanwoo Choib76668b2012-05-09 12:31:58 +0900109config EXTCON_MAX8997
Chanwoo Choied2c0602015-04-03 09:51:26 +0900110 tristate "Maxim MAX8997 EXTCON Support"
Chanwoo Choidca1a712012-07-02 09:03:00 +0900111 depends on MFD_MAX8997 && IRQ_DOMAIN
Chanwoo Choib76668b2012-05-09 12:31:58 +0900112 help
113 If you say yes here you get support for the MUIC device of
114 Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
115 detector and switch.
116
Graeme Gregoryb1f254e2013-05-28 10:50:11 +0900117config EXTCON_PALMAS
118 tristate "Palmas USB EXTCON support"
119 depends on MFD_PALMAS
120 help
121 Say Y here to enable support for USB peripheral and USB host
122 detection by palmas usb.
123
Vijai Kumar K4ed754d2019-01-23 18:16:56 +0530124config EXTCON_PTN5150
125 tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
Arnd Bergmann86baf802019-03-06 12:08:57 +0100126 depends on I2C && (GPIOLIB || COMPILE_TEST)
Vijai Kumar K4ed754d2019-01-23 18:16:56 +0530127 select REGMAP_I2C
128 help
129 Say Y here to enable support for USB peripheral and USB host
130 detection by NXP PTN5150 CC (Configuration Channel) logic chip.
131
Stephen Boyd38085c92016-09-09 14:48:47 -0700132config EXTCON_QCOM_SPMI_MISC
133 tristate "Qualcomm USB extcon support"
Peter Robinsona781a7d2017-05-20 17:45:07 +0100134 depends on ARCH_QCOM || COMPILE_TEST
Stephen Boyd38085c92016-09-09 14:48:47 -0700135 help
136 Say Y here to enable SPMI PMIC based USB cable detection
137 support on Qualcomm PMICs such as PM8941.
138
Chanwoo Choic03e0172014-08-18 09:05:21 +0900139config EXTCON_RT8973A
Chanwoo Choied2c0602015-04-03 09:51:26 +0900140 tristate "Richtek RT8973A EXTCON support"
Chanwoo Choic03e0172014-08-18 09:05:21 +0900141 depends on I2C
142 select IRQ_DOMAIN
143 select REGMAP_I2C
144 select REGMAP_IRQ
145 help
146 If you say yes here you get support for the MUIC device of
147 Richtek RT8973A. The RT8973A is a USB port accessory detector
148 and switch that is optimized to protect low voltage system
149 from abnormal high input voltage (up to 28V).
150
Chanwoo Choi914b8812014-05-22 14:06:33 +0900151config EXTCON_SM5502
Chanwoo Choied2c0602015-04-03 09:51:26 +0900152 tristate "Silicon Mitus SM5502 EXTCON support"
Chanwoo Choi0746d5d2014-08-12 13:28:11 +0900153 depends on I2C
Chanwoo Choi914b8812014-05-22 14:06:33 +0900154 select IRQ_DOMAIN
155 select REGMAP_I2C
156 select REGMAP_IRQ
157 help
158 If you say yes here you get support for the MUIC device of
159 Silicon Mitus SM5502. The SM5502 is a USB port accessory
160 detector and switch.
161
Roger Quadrose52817f2015-02-02 12:21:59 +0200162config EXTCON_USB_GPIO
163 tristate "USB GPIO extcon support"
Geert Uytterhoeven638f9582015-05-05 18:32:20 +0200164 depends on GPIOLIB || COMPILE_TEST
Roger Quadrose52817f2015-02-02 12:21:59 +0200165 help
166 Say Y here to enable GPIO based USB cable detection extcon support.
167 Used typically if GPIO is used for USB ID pin detection.
168
Benson Leungc6983162017-07-17 11:41:39 +0200169config EXTCON_USBC_CROS_EC
170 tristate "ChromeOS Embedded Controller EXTCON support"
171 depends on MFD_CROS_EC
172 help
173 Say Y here to enable USB Type C cable detection extcon support when
174 using Chrome OS EC based USB Type-C ports.
175
Chanwoo Choied2c0602015-04-03 09:51:26 +0900176endif