xref: /linux/drivers/extcon/Kconfig (revision 4ed754de2d66084d4a7785f565d7c42ad89a3ea9)
1de55d871SMyungJoo Hammenuconfig EXTCON
2de55d871SMyungJoo Ham	tristate "External Connector Class (extcon) support"
3de55d871SMyungJoo Ham	help
4de55d871SMyungJoo Ham	  Say Y here to enable external connector class (extcon) support.
5de55d871SMyungJoo Ham	  This allows monitoring external connectors by userspace
6de55d871SMyungJoo Ham	  via sysfs and uevent and supports external connectors with
7de55d871SMyungJoo Ham	  multiple states; i.e., an extcon that may have multiple
8de55d871SMyungJoo Ham	  cables attached. For example, an external connector of a device
9de55d871SMyungJoo Ham	  may be used to connect an HDMI cable and a AC adaptor, and to
10de55d871SMyungJoo Ham	  host USB ports. Many of 30-pin connectors including PDMI are
11de55d871SMyungJoo Ham	  also good examples.
12de55d871SMyungJoo Ham
13de55d871SMyungJoo Hamif EXTCON
14de55d871SMyungJoo Ham
15de55d871SMyungJoo Hamcomment "Extcon Device Drivers"
16de55d871SMyungJoo Ham
17e48f9dacSChanwoo Choiconfig EXTCON_ADC_JACK
18e48f9dacSChanwoo Choi	tristate "ADC Jack extcon support"
19e48f9dacSChanwoo Choi	depends on IIO
20e48f9dacSChanwoo Choi	help
21e48f9dacSChanwoo Choi	  Say Y here to enable extcon device driver based on ADC values.
22e48f9dacSChanwoo Choi
23e48f9dacSChanwoo Choiconfig EXTCON_ARIZONA
24e48f9dacSChanwoo Choi	tristate "Wolfson Arizona EXTCON support"
25e48f9dacSChanwoo Choi	depends on MFD_ARIZONA && INPUT && SND_SOC
26e48f9dacSChanwoo Choi	help
27e48f9dacSChanwoo Choi	  Say Y here to enable support for external accessory detection
28e48f9dacSChanwoo Choi	  with Wolfson Arizona devices. These are audio CODECs with
29e48f9dacSChanwoo Choi	  advanced audio accessory detection support.
30e48f9dacSChanwoo Choi
31f0312378SRamakrishna Pallalaconfig EXTCON_AXP288
32f0312378SRamakrishna Pallala	tristate "X-Power AXP288 EXTCON support"
33d54f063cSHans de Goede	depends on MFD_AXP20X && USB_SUPPORT && X86
34d54f063cSHans de Goede	select USB_ROLE_SWITCH
35f0312378SRamakrishna Pallala	help
36f0312378SRamakrishna Pallala	  Say Y here to enable support for USB peripheral detection
37f0312378SRamakrishna Pallala	  and USB MUX switching by X-Power AXP288 PMIC.
38f0312378SRamakrishna Pallala
39be48308aSMyungJoo Hamconfig EXTCON_GPIO
40be48308aSMyungJoo Ham	tristate "GPIO extcon support"
41638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
42be48308aSMyungJoo Ham	help
43be48308aSMyungJoo Ham	  Say Y here to enable GPIO based extcon support. Note that GPIO
44be48308aSMyungJoo Ham	  extcon supports single state per extcon instance.
45be48308aSMyungJoo Ham
462f556bdbSDavid Cohenconfig EXTCON_INTEL_INT3496
472f556bdbSDavid Cohen	tristate "Intel INT3496 ACPI device extcon driver"
48059c7874SPeter Robinson	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
492f556bdbSDavid Cohen	help
502f556bdbSDavid Cohen	  Say Y here to enable extcon support for USB OTG ports controlled by
512f556bdbSDavid Cohen	  an Intel INT3496 ACPI device.
522f556bdbSDavid Cohen
532f556bdbSDavid Cohen	  This ACPI device is typically found on Intel Baytrail or Cherrytrail
542f556bdbSDavid Cohen	  based tablets, or other Baytrail / Cherrytrail devices.
552f556bdbSDavid Cohen
56db0f3baaSHans de Goedeconfig EXTCON_INTEL_CHT_WC
57db0f3baaSHans de Goede	tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
58db0f3baaSHans de Goede	depends on INTEL_SOC_PMIC_CHTWC
59db0f3baaSHans de Goede	help
60db0f3baaSHans de Goede	  Say Y here to enable extcon support for charger detection / control
61db0f3baaSHans de Goede	  on the Intel Cherrytrail Whiskey Cove PMIC.
62db0f3baaSHans de Goede
63962e56bfSChanwoo Choiconfig EXTCON_MAX14577
64ed2c0604SChanwoo Choi	tristate "Maxim MAX14577/77836 EXTCON Support"
65962e56bfSChanwoo Choi	depends on MFD_MAX14577
66962e56bfSChanwoo Choi	select IRQ_DOMAIN
67962e56bfSChanwoo Choi	select REGMAP_I2C
68962e56bfSChanwoo Choi	help
69962e56bfSChanwoo Choi	  If you say yes here you get support for the MUIC device of
704706a525SKrzysztof Kozlowski	  Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
71962e56bfSChanwoo Choi	  detector and switch.
72962e56bfSChanwoo Choi
7308a0a4f9SSergei Shtylyovconfig EXTCON_MAX3355
7408a0a4f9SSergei Shtylyov	tristate "Maxim MAX3355 USB OTG EXTCON Support"
7508a0a4f9SSergei Shtylyov	depends on GPIOLIB || COMPILE_TEST
7608a0a4f9SSergei Shtylyov	help
7708a0a4f9SSergei Shtylyov	  If you say yes here you get support for the USB OTG role detection by
7808a0a4f9SSergei Shtylyov	  MAX3355. The MAX3355 chip integrates a charge pump and comparators to
7908a0a4f9SSergei Shtylyov	  enable a system with an integrated USB OTG dual-role transceiver to
8008a0a4f9SSergei Shtylyov	  function as an USB OTG dual-role device.
8108a0a4f9SSergei Shtylyov
82db1b9037SChanwoo Choiconfig EXTCON_MAX77693
83ed2c0604SChanwoo Choi	tristate "Maxim MAX77693 EXTCON Support"
841aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
85db1b9037SChanwoo Choi	select IRQ_DOMAIN
86db1b9037SChanwoo Choi	select REGMAP_I2C
87db1b9037SChanwoo Choi	help
88db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
89db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
90db1b9037SChanwoo Choi	  detector and switch.
91db1b9037SChanwoo Choi
9227a28d32SJaewon Kimconfig EXTCON_MAX77843
93ed2c0604SChanwoo Choi	tristate "Maxim MAX77843 EXTCON Support"
9427a28d32SJaewon Kim	depends on MFD_MAX77843
9527a28d32SJaewon Kim	select IRQ_DOMAIN
9627a28d32SJaewon Kim	select REGMAP_I2C
9727a28d32SJaewon Kim	help
9827a28d32SJaewon Kim	  If you say yes here you get support for the MUIC device of
9927a28d32SJaewon Kim	  Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
10027a28d32SJaewon Kim	  detector add switch.
10127a28d32SJaewon Kim
102b76668baSChanwoo Choiconfig EXTCON_MAX8997
103ed2c0604SChanwoo Choi	tristate "Maxim MAX8997 EXTCON Support"
104dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
105b76668baSChanwoo Choi	help
106b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
107b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
108b76668baSChanwoo Choi	  detector and switch.
109b76668baSChanwoo Choi
110b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS
111b1f254e3SGraeme Gregory	tristate "Palmas USB EXTCON support"
112b1f254e3SGraeme Gregory	depends on MFD_PALMAS
113b1f254e3SGraeme Gregory	help
114b1f254e3SGraeme Gregory	  Say Y here to enable support for USB peripheral and USB host
115b1f254e3SGraeme Gregory	  detection by palmas usb.
116b1f254e3SGraeme Gregory
117*4ed754deSVijai Kumar Kconfig EXTCON_PTN5150
118*4ed754deSVijai Kumar K	tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
119*4ed754deSVijai Kumar K	depends on I2C && GPIOLIB || COMPILE_TEST
120*4ed754deSVijai Kumar K	select REGMAP_I2C
121*4ed754deSVijai Kumar K	help
122*4ed754deSVijai Kumar K	  Say Y here to enable support for USB peripheral and USB host
123*4ed754deSVijai Kumar K	  detection by NXP PTN5150 CC (Configuration Channel) logic chip.
124*4ed754deSVijai Kumar K
12538085c98SStephen Boydconfig EXTCON_QCOM_SPMI_MISC
12638085c98SStephen Boyd	tristate "Qualcomm USB extcon support"
127a781a7d6SPeter Robinson	depends on ARCH_QCOM || COMPILE_TEST
12838085c98SStephen Boyd	help
12938085c98SStephen Boyd	  Say Y here to enable SPMI PMIC based USB cable detection
13038085c98SStephen Boyd	  support on Qualcomm PMICs such as PM8941.
13138085c98SStephen Boyd
132c03e017cSChanwoo Choiconfig EXTCON_RT8973A
133ed2c0604SChanwoo Choi	tristate "Richtek RT8973A EXTCON support"
134c03e017cSChanwoo Choi	depends on I2C
135c03e017cSChanwoo Choi	select IRQ_DOMAIN
136c03e017cSChanwoo Choi	select REGMAP_I2C
137c03e017cSChanwoo Choi	select REGMAP_IRQ
138c03e017cSChanwoo Choi	help
139c03e017cSChanwoo Choi	  If you say yes here you get support for the MUIC device of
140c03e017cSChanwoo Choi	  Richtek RT8973A. The RT8973A is a USB port accessory detector
141c03e017cSChanwoo Choi	  and switch that is optimized to protect low voltage system
142c03e017cSChanwoo Choi	  from abnormal high input voltage (up to 28V).
143c03e017cSChanwoo Choi
144914b881fSChanwoo Choiconfig EXTCON_SM5502
145ed2c0604SChanwoo Choi	tristate "Silicon Mitus SM5502 EXTCON support"
1460746d5d3SChanwoo Choi	depends on I2C
147914b881fSChanwoo Choi	select IRQ_DOMAIN
148914b881fSChanwoo Choi	select REGMAP_I2C
149914b881fSChanwoo Choi	select REGMAP_IRQ
150914b881fSChanwoo Choi	help
151914b881fSChanwoo Choi	  If you say yes here you get support for the MUIC device of
152914b881fSChanwoo Choi	  Silicon Mitus SM5502. The SM5502 is a USB port accessory
153914b881fSChanwoo Choi	  detector and switch.
154914b881fSChanwoo Choi
155e52817faSRoger Quadrosconfig EXTCON_USB_GPIO
156e52817faSRoger Quadros	tristate "USB GPIO extcon support"
157638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
158e52817faSRoger Quadros	help
159e52817faSRoger Quadros	  Say Y here to enable GPIO based USB cable detection extcon support.
160e52817faSRoger Quadros	  Used typically if GPIO is used for USB ID pin detection.
161e52817faSRoger Quadros
162c6983166SBenson Leungconfig EXTCON_USBC_CROS_EC
163c6983166SBenson Leung	tristate "ChromeOS Embedded Controller EXTCON support"
164c6983166SBenson Leung	depends on MFD_CROS_EC
165c6983166SBenson Leung	help
166c6983166SBenson Leung	  Say Y here to enable USB Type C cable detection extcon support when
167c6983166SBenson Leung	  using Chrome OS EC based USB Type-C ports.
168c6983166SBenson Leung
169ed2c0604SChanwoo Choiendif
170