xref: /linux/drivers/extcon/Kconfig (revision db0f3baaa38bb587d831b1127082643b5e813074)
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"
33f0312378SRamakrishna Pallala	depends on MFD_AXP20X && USB_PHY
34f0312378SRamakrishna Pallala	help
35f0312378SRamakrishna Pallala	  Say Y here to enable support for USB peripheral detection
36f0312378SRamakrishna Pallala	  and USB MUX switching by X-Power AXP288 PMIC.
37f0312378SRamakrishna Pallala
38be48308aSMyungJoo Hamconfig EXTCON_GPIO
39be48308aSMyungJoo Ham	tristate "GPIO extcon support"
40638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
41be48308aSMyungJoo Ham	help
42be48308aSMyungJoo Ham	  Say Y here to enable GPIO based extcon support. Note that GPIO
43be48308aSMyungJoo Ham	  extcon supports single state per extcon instance.
44be48308aSMyungJoo Ham
452f556bdbSDavid Cohenconfig EXTCON_INTEL_INT3496
462f556bdbSDavid Cohen	tristate "Intel INT3496 ACPI device extcon driver"
47059c7874SPeter Robinson	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
482f556bdbSDavid Cohen	help
492f556bdbSDavid Cohen	  Say Y here to enable extcon support for USB OTG ports controlled by
502f556bdbSDavid Cohen	  an Intel INT3496 ACPI device.
512f556bdbSDavid Cohen
522f556bdbSDavid Cohen	  This ACPI device is typically found on Intel Baytrail or Cherrytrail
532f556bdbSDavid Cohen	  based tablets, or other Baytrail / Cherrytrail devices.
542f556bdbSDavid Cohen
55*db0f3baaSHans de Goedeconfig EXTCON_INTEL_CHT_WC
56*db0f3baaSHans de Goede	tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
57*db0f3baaSHans de Goede	depends on INTEL_SOC_PMIC_CHTWC
58*db0f3baaSHans de Goede	help
59*db0f3baaSHans de Goede	  Say Y here to enable extcon support for charger detection / control
60*db0f3baaSHans de Goede	  on the Intel Cherrytrail Whiskey Cove PMIC.
61*db0f3baaSHans de Goede
62962e56bfSChanwoo Choiconfig EXTCON_MAX14577
63ed2c0604SChanwoo Choi	tristate "Maxim MAX14577/77836 EXTCON Support"
64962e56bfSChanwoo Choi	depends on MFD_MAX14577
65962e56bfSChanwoo Choi	select IRQ_DOMAIN
66962e56bfSChanwoo Choi	select REGMAP_I2C
67962e56bfSChanwoo Choi	help
68962e56bfSChanwoo Choi	  If you say yes here you get support for the MUIC device of
694706a525SKrzysztof Kozlowski	  Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
70962e56bfSChanwoo Choi	  detector and switch.
71962e56bfSChanwoo Choi
7208a0a4f9SSergei Shtylyovconfig EXTCON_MAX3355
7308a0a4f9SSergei Shtylyov	tristate "Maxim MAX3355 USB OTG EXTCON Support"
7408a0a4f9SSergei Shtylyov	depends on GPIOLIB || COMPILE_TEST
7508a0a4f9SSergei Shtylyov	help
7608a0a4f9SSergei Shtylyov	  If you say yes here you get support for the USB OTG role detection by
7708a0a4f9SSergei Shtylyov	  MAX3355. The MAX3355 chip integrates a charge pump and comparators to
7808a0a4f9SSergei Shtylyov	  enable a system with an integrated USB OTG dual-role transceiver to
7908a0a4f9SSergei Shtylyov	  function as an USB OTG dual-role device.
8008a0a4f9SSergei Shtylyov
81db1b9037SChanwoo Choiconfig EXTCON_MAX77693
82ed2c0604SChanwoo Choi	tristate "Maxim MAX77693 EXTCON Support"
831aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
84db1b9037SChanwoo Choi	select IRQ_DOMAIN
85db1b9037SChanwoo Choi	select REGMAP_I2C
86db1b9037SChanwoo Choi	help
87db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
88db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
89db1b9037SChanwoo Choi	  detector and switch.
90db1b9037SChanwoo Choi
9127a28d32SJaewon Kimconfig EXTCON_MAX77843
92ed2c0604SChanwoo Choi	tristate "Maxim MAX77843 EXTCON Support"
9327a28d32SJaewon Kim	depends on MFD_MAX77843
9427a28d32SJaewon Kim	select IRQ_DOMAIN
9527a28d32SJaewon Kim	select REGMAP_I2C
9627a28d32SJaewon Kim	help
9727a28d32SJaewon Kim	  If you say yes here you get support for the MUIC device of
9827a28d32SJaewon Kim	  Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
9927a28d32SJaewon Kim	  detector add switch.
10027a28d32SJaewon Kim
101b76668baSChanwoo Choiconfig EXTCON_MAX8997
102ed2c0604SChanwoo Choi	tristate "Maxim MAX8997 EXTCON Support"
103dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
104b76668baSChanwoo Choi	help
105b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
106b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
107b76668baSChanwoo Choi	  detector and switch.
108b76668baSChanwoo Choi
109b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS
110b1f254e3SGraeme Gregory	tristate "Palmas USB EXTCON support"
111b1f254e3SGraeme Gregory	depends on MFD_PALMAS
112b1f254e3SGraeme Gregory	help
113b1f254e3SGraeme Gregory	  Say Y here to enable support for USB peripheral and USB host
114b1f254e3SGraeme Gregory	  detection by palmas usb.
115b1f254e3SGraeme Gregory
11638085c98SStephen Boydconfig EXTCON_QCOM_SPMI_MISC
11738085c98SStephen Boyd	tristate "Qualcomm USB extcon support"
11838085c98SStephen Boyd	help
11938085c98SStephen Boyd	  Say Y here to enable SPMI PMIC based USB cable detection
12038085c98SStephen Boyd	  support on Qualcomm PMICs such as PM8941.
12138085c98SStephen Boyd
122c03e017cSChanwoo Choiconfig EXTCON_RT8973A
123ed2c0604SChanwoo Choi	tristate "Richtek RT8973A EXTCON support"
124c03e017cSChanwoo Choi	depends on I2C
125c03e017cSChanwoo Choi	select IRQ_DOMAIN
126c03e017cSChanwoo Choi	select REGMAP_I2C
127c03e017cSChanwoo Choi	select REGMAP_IRQ
128c03e017cSChanwoo Choi	help
129c03e017cSChanwoo Choi	  If you say yes here you get support for the MUIC device of
130c03e017cSChanwoo Choi	  Richtek RT8973A. The RT8973A is a USB port accessory detector
131c03e017cSChanwoo Choi	  and switch that is optimized to protect low voltage system
132c03e017cSChanwoo Choi	  from abnormal high input voltage (up to 28V).
133c03e017cSChanwoo Choi
134914b881fSChanwoo Choiconfig EXTCON_SM5502
135ed2c0604SChanwoo Choi	tristate "Silicon Mitus SM5502 EXTCON support"
1360746d5d3SChanwoo Choi	depends on I2C
137914b881fSChanwoo Choi	select IRQ_DOMAIN
138914b881fSChanwoo Choi	select REGMAP_I2C
139914b881fSChanwoo Choi	select REGMAP_IRQ
140914b881fSChanwoo Choi	help
141914b881fSChanwoo Choi	  If you say yes here you get support for the MUIC device of
142914b881fSChanwoo Choi	  Silicon Mitus SM5502. The SM5502 is a USB port accessory
143914b881fSChanwoo Choi	  detector and switch.
144914b881fSChanwoo Choi
145e52817faSRoger Quadrosconfig EXTCON_USB_GPIO
146e52817faSRoger Quadros	tristate "USB GPIO extcon support"
147638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
148e52817faSRoger Quadros	help
149e52817faSRoger Quadros	  Say Y here to enable GPIO based USB cable detection extcon support.
150e52817faSRoger Quadros	  Used typically if GPIO is used for USB ID pin detection.
151e52817faSRoger Quadros
152ed2c0604SChanwoo Choiendif
153