xref: /linux/drivers/extcon/Kconfig (revision 76ec9d18b8972f1b228f819f6126c9f022b3e642)
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
17be48308aSMyungJoo Hamconfig EXTCON_GPIO
18be48308aSMyungJoo Ham	tristate "GPIO extcon support"
19*76ec9d18SAlexandre Courbot	depends on GPIOLIB
20be48308aSMyungJoo Ham	help
21be48308aSMyungJoo Ham	  Say Y here to enable GPIO based extcon support. Note that GPIO
22be48308aSMyungJoo Ham	  extcon supports single state per extcon instance.
23be48308aSMyungJoo Ham
2419939860Sanish kumarconfig EXTCON_ADC_JACK
2519939860Sanish kumar	tristate "ADC Jack extcon support"
2619939860Sanish kumar	depends on IIO
2719939860Sanish kumar	help
2819939860Sanish kumar	  Say Y here to enable extcon device driver based on ADC values.
2919939860Sanish kumar
30db1b9037SChanwoo Choiconfig EXTCON_MAX77693
31db1b9037SChanwoo Choi	tristate "MAX77693 EXTCON Support"
321aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
33db1b9037SChanwoo Choi	select IRQ_DOMAIN
34db1b9037SChanwoo Choi	select REGMAP_I2C
35db1b9037SChanwoo Choi	help
36db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
37db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
38db1b9037SChanwoo Choi	  detector and switch.
39db1b9037SChanwoo Choi
40b76668baSChanwoo Choiconfig EXTCON_MAX8997
41b76668baSChanwoo Choi	tristate "MAX8997 EXTCON Support"
42dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
43b76668baSChanwoo Choi	help
44b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
45b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
46b76668baSChanwoo Choi	  detector and switch.
47b76668baSChanwoo Choi
48f2c32a88SMark Brownconfig EXTCON_ARIZONA
49f2c32a88SMark Brown	tristate "Wolfson Arizona EXTCON support"
50bbbd46e3SMark Brown	depends on MFD_ARIZONA && INPUT && SND_SOC
51f2c32a88SMark Brown	help
52f2c32a88SMark Brown	  Say Y here to enable support for external accessory detection
53f2c32a88SMark Brown	  with Wolfson Arizona devices. These are audio CODECs with
54f2c32a88SMark Brown	  advanced audio accessory detection support.
55f2c32a88SMark Brown
56de55d871SMyungJoo Hamendif # MULTISTATE_SWITCH
57