xref: /linux/drivers/extcon/Kconfig (revision 6eee5b3b493824731ed34ade0299241f91f04096)
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
17*6eee5b3bSKishon Vijay Abraham Iconfig OF_EXTCON
18*6eee5b3bSKishon Vijay Abraham I	def_tristate y
19*6eee5b3bSKishon Vijay Abraham I	depends on OF
20*6eee5b3bSKishon Vijay Abraham I
21be48308aSMyungJoo Hamconfig EXTCON_GPIO
22be48308aSMyungJoo Ham	tristate "GPIO extcon support"
2376ec9d18SAlexandre Courbot	depends on GPIOLIB
24be48308aSMyungJoo Ham	help
25be48308aSMyungJoo Ham	  Say Y here to enable GPIO based extcon support. Note that GPIO
26be48308aSMyungJoo Ham	  extcon supports single state per extcon instance.
27be48308aSMyungJoo Ham
2819939860Sanish kumarconfig EXTCON_ADC_JACK
2919939860Sanish kumar	tristate "ADC Jack extcon support"
3019939860Sanish kumar	depends on IIO
3119939860Sanish kumar	help
3219939860Sanish kumar	  Say Y here to enable extcon device driver based on ADC values.
3319939860Sanish kumar
34db1b9037SChanwoo Choiconfig EXTCON_MAX77693
35db1b9037SChanwoo Choi	tristate "MAX77693 EXTCON Support"
361aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
37db1b9037SChanwoo Choi	select IRQ_DOMAIN
38db1b9037SChanwoo Choi	select REGMAP_I2C
39db1b9037SChanwoo Choi	help
40db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
41db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
42db1b9037SChanwoo Choi	  detector and switch.
43db1b9037SChanwoo Choi
44b76668baSChanwoo Choiconfig EXTCON_MAX8997
45b76668baSChanwoo Choi	tristate "MAX8997 EXTCON Support"
46dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
47b76668baSChanwoo Choi	help
48b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
49b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
50b76668baSChanwoo Choi	  detector and switch.
51b76668baSChanwoo Choi
52f2c32a88SMark Brownconfig EXTCON_ARIZONA
53f2c32a88SMark Brown	tristate "Wolfson Arizona EXTCON support"
54bbbd46e3SMark Brown	depends on MFD_ARIZONA && INPUT && SND_SOC
55f2c32a88SMark Brown	help
56f2c32a88SMark Brown	  Say Y here to enable support for external accessory detection
57f2c32a88SMark Brown	  with Wolfson Arizona devices. These are audio CODECs with
58f2c32a88SMark Brown	  advanced audio accessory detection support.
59f2c32a88SMark Brown
60b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS
61b1f254e3SGraeme Gregory	tristate "Palmas USB EXTCON support"
62b1f254e3SGraeme Gregory	depends on MFD_PALMAS
63b1f254e3SGraeme Gregory	help
64b1f254e3SGraeme Gregory	  Say Y here to enable support for USB peripheral and USB host
65b1f254e3SGraeme Gregory	  detection by palmas usb.
66b1f254e3SGraeme Gregory
67de55d871SMyungJoo Hamendif # MULTISTATE_SWITCH
68