xref: /linux/drivers/extcon/Kconfig (revision 962e56bfcf0b055d00fc52948a327dead904caa3)
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
176eee5b3bSKishon Vijay Abraham Iconfig OF_EXTCON
186eee5b3bSKishon Vijay Abraham I	def_tristate y
196eee5b3bSKishon Vijay Abraham I	depends on OF
206eee5b3bSKishon 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
34*962e56bfSChanwoo Choiconfig EXTCON_MAX14577
35*962e56bfSChanwoo Choi	tristate "MAX14577 EXTCON Support"
36*962e56bfSChanwoo Choi	depends on MFD_MAX14577
37*962e56bfSChanwoo Choi	select IRQ_DOMAIN
38*962e56bfSChanwoo Choi	select REGMAP_I2C
39*962e56bfSChanwoo Choi	help
40*962e56bfSChanwoo Choi	  If you say yes here you get support for the MUIC device of
41*962e56bfSChanwoo Choi	  Maxim MAX14577 PMIC. The MAX14577 MUIC is a USB port accessory
42*962e56bfSChanwoo Choi	  detector and switch.
43*962e56bfSChanwoo Choi
44db1b9037SChanwoo Choiconfig EXTCON_MAX77693
45db1b9037SChanwoo Choi	tristate "MAX77693 EXTCON Support"
461aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
47db1b9037SChanwoo Choi	select IRQ_DOMAIN
48db1b9037SChanwoo Choi	select REGMAP_I2C
49db1b9037SChanwoo Choi	help
50db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
51db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
52db1b9037SChanwoo Choi	  detector and switch.
53db1b9037SChanwoo Choi
54b76668baSChanwoo Choiconfig EXTCON_MAX8997
55b76668baSChanwoo Choi	tristate "MAX8997 EXTCON Support"
56dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
57b76668baSChanwoo Choi	help
58b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
59b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
60b76668baSChanwoo Choi	  detector and switch.
61b76668baSChanwoo Choi
62f2c32a88SMark Brownconfig EXTCON_ARIZONA
63f2c32a88SMark Brown	tristate "Wolfson Arizona EXTCON support"
64bbbd46e3SMark Brown	depends on MFD_ARIZONA && INPUT && SND_SOC
65f2c32a88SMark Brown	help
66f2c32a88SMark Brown	  Say Y here to enable support for external accessory detection
67f2c32a88SMark Brown	  with Wolfson Arizona devices. These are audio CODECs with
68f2c32a88SMark Brown	  advanced audio accessory detection support.
69f2c32a88SMark Brown
70b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS
71b1f254e3SGraeme Gregory	tristate "Palmas USB EXTCON support"
72b1f254e3SGraeme Gregory	depends on MFD_PALMAS
73b1f254e3SGraeme Gregory	help
74b1f254e3SGraeme Gregory	  Say Y here to enable support for USB peripheral and USB host
75b1f254e3SGraeme Gregory	  detection by palmas usb.
76b1f254e3SGraeme Gregory
77de55d871SMyungJoo Hamendif # MULTISTATE_SWITCH
78