xref: /linux/drivers/extcon/Kconfig (revision dca1a71e4108a0a9051a653d885297e9d1cc656c)
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"
19be48308aSMyungJoo Ham	depends on GENERIC_GPIO
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
24b76668baSChanwoo Choiconfig EXTCON_MAX8997
25b76668baSChanwoo Choi	tristate "MAX8997 EXTCON Support"
26*dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
27b76668baSChanwoo Choi	help
28b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
29b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
30b76668baSChanwoo Choi	  detector and switch.
31b76668baSChanwoo Choi
32de55d871SMyungJoo Hamendif # MULTISTATE_SWITCH
33