xref: /linux-6.15/drivers/extcon/Kconfig (revision b7fa2cd3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2de55d871SMyungJoo Hammenuconfig EXTCON
3de55d871SMyungJoo Ham	tristate "External Connector Class (extcon) support"
4de55d871SMyungJoo Ham	help
5de55d871SMyungJoo Ham	  Say Y here to enable external connector class (extcon) support.
6de55d871SMyungJoo Ham	  This allows monitoring external connectors by userspace
7de55d871SMyungJoo Ham	  via sysfs and uevent and supports external connectors with
8de55d871SMyungJoo Ham	  multiple states; i.e., an extcon that may have multiple
9de55d871SMyungJoo Ham	  cables attached. For example, an external connector of a device
10de55d871SMyungJoo Ham	  may be used to connect an HDMI cable and a AC adaptor, and to
11de55d871SMyungJoo Ham	  host USB ports. Many of 30-pin connectors including PDMI are
12de55d871SMyungJoo Ham	  also good examples.
13de55d871SMyungJoo Ham
14de55d871SMyungJoo Hamif EXTCON
15de55d871SMyungJoo Ham
16de55d871SMyungJoo Hamcomment "Extcon Device Drivers"
17de55d871SMyungJoo Ham
18e48f9dacSChanwoo Choiconfig EXTCON_ADC_JACK
19e48f9dacSChanwoo Choi	tristate "ADC Jack extcon support"
20e48f9dacSChanwoo Choi	depends on IIO
21e48f9dacSChanwoo Choi	help
22e48f9dacSChanwoo Choi	  Say Y here to enable extcon device driver based on ADC values.
23e48f9dacSChanwoo Choi
24f0312378SRamakrishna Pallalaconfig EXTCON_AXP288
25f0312378SRamakrishna Pallala	tristate "X-Power AXP288 EXTCON support"
26968bd3f0SFabio Aiuto	depends on MFD_AXP20X && USB_SUPPORT && X86 && ACPI && IOSF_MBI
27d54f063cSHans de Goede	select USB_ROLE_SWITCH
28f0312378SRamakrishna Pallala	help
29f0312378SRamakrishna Pallala	  Say Y here to enable support for USB peripheral detection
30f0312378SRamakrishna Pallala	  and USB MUX switching by X-Power AXP288 PMIC.
31f0312378SRamakrishna Pallala
32bad5b5e7STomasz Figaconfig EXTCON_FSA9480
33bad5b5e7STomasz Figa	tristate "FSA9480 EXTCON Support"
340937fbb7SRandy Dunlap	depends on INPUT && I2C
35bad5b5e7STomasz Figa	select IRQ_DOMAIN
36bad5b5e7STomasz Figa	select REGMAP_I2C
37bad5b5e7STomasz Figa	help
38bad5b5e7STomasz Figa	  If you say yes here you get support for the Fairchild Semiconductor
39bad5b5e7STomasz Figa	  FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
40bad5b5e7STomasz Figa	  port accessory detector and switch. The FSA9480 is fully controlled using
41bad5b5e7STomasz Figa	  I2C and enables USB data, stereo and mono audio, video, microphone
42bad5b5e7STomasz Figa	  and UART data to use a common connector port.
43bad5b5e7STomasz Figa
44be48308aSMyungJoo Hamconfig EXTCON_GPIO
45be48308aSMyungJoo Ham	tristate "GPIO extcon support"
46638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
47be48308aSMyungJoo Ham	help
48be48308aSMyungJoo Ham	  Say Y here to enable GPIO based extcon support. Note that GPIO
49be48308aSMyungJoo Ham	  extcon supports single state per extcon instance.
50be48308aSMyungJoo Ham
512f556bdbSDavid Cohenconfig EXTCON_INTEL_INT3496
522f556bdbSDavid Cohen	tristate "Intel INT3496 ACPI device extcon driver"
53059c7874SPeter Robinson	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
542f556bdbSDavid Cohen	help
552f556bdbSDavid Cohen	  Say Y here to enable extcon support for USB OTG ports controlled by
562f556bdbSDavid Cohen	  an Intel INT3496 ACPI device.
572f556bdbSDavid Cohen
582f556bdbSDavid Cohen	  This ACPI device is typically found on Intel Baytrail or Cherrytrail
592f556bdbSDavid Cohen	  based tablets, or other Baytrail / Cherrytrail devices.
602f556bdbSDavid Cohen
61db0f3baaSHans de Goedeconfig EXTCON_INTEL_CHT_WC
62db0f3baaSHans de Goede	tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
63db0f3baaSHans de Goede	depends on INTEL_SOC_PMIC_CHTWC
64*b7fa2cd3SHans de Goede	depends on USB_SUPPORT
65*b7fa2cd3SHans de Goede	select USB_ROLE_SWITCH
66db0f3baaSHans de Goede	help
67db0f3baaSHans de Goede	  Say Y here to enable extcon support for charger detection / control
68db0f3baaSHans de Goede	  on the Intel Cherrytrail Whiskey Cove PMIC.
69db0f3baaSHans de Goede
70492929c5SAndy Shevchenkoconfig EXTCON_INTEL_MRFLD
71492929c5SAndy Shevchenko	tristate "Intel Merrifield Basin Cove PMIC extcon driver"
72492929c5SAndy Shevchenko	depends on INTEL_SOC_PMIC_MRFLD
73492929c5SAndy Shevchenko	help
74492929c5SAndy Shevchenko	  Say Y here to enable extcon support for charger detection / control
75492929c5SAndy Shevchenko	  on the Intel Merrifield Basin Cove PMIC.
76492929c5SAndy Shevchenko
77962e56bfSChanwoo Choiconfig EXTCON_MAX14577
78ed2c0604SChanwoo Choi	tristate "Maxim MAX14577/77836 EXTCON Support"
79962e56bfSChanwoo Choi	depends on MFD_MAX14577
80962e56bfSChanwoo Choi	select IRQ_DOMAIN
81962e56bfSChanwoo Choi	select REGMAP_I2C
82962e56bfSChanwoo Choi	help
83962e56bfSChanwoo Choi	  If you say yes here you get support for the MUIC device of
844706a525SKrzysztof Kozlowski	  Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
85962e56bfSChanwoo Choi	  detector and switch.
86962e56bfSChanwoo Choi
8708a0a4f9SSergei Shtylyovconfig EXTCON_MAX3355
8808a0a4f9SSergei Shtylyov	tristate "Maxim MAX3355 USB OTG EXTCON Support"
8908a0a4f9SSergei Shtylyov	depends on GPIOLIB || COMPILE_TEST
9008a0a4f9SSergei Shtylyov	help
9108a0a4f9SSergei Shtylyov	  If you say yes here you get support for the USB OTG role detection by
9208a0a4f9SSergei Shtylyov	  MAX3355. The MAX3355 chip integrates a charge pump and comparators to
9308a0a4f9SSergei Shtylyov	  enable a system with an integrated USB OTG dual-role transceiver to
9408a0a4f9SSergei Shtylyov	  function as an USB OTG dual-role device.
9508a0a4f9SSergei Shtylyov
96db1b9037SChanwoo Choiconfig EXTCON_MAX77693
97ed2c0604SChanwoo Choi	tristate "Maxim MAX77693 EXTCON Support"
981aa05905SChanwoo Choi	depends on MFD_MAX77693 && INPUT
99db1b9037SChanwoo Choi	select IRQ_DOMAIN
100db1b9037SChanwoo Choi	select REGMAP_I2C
101db1b9037SChanwoo Choi	help
102db1b9037SChanwoo Choi	  If you say yes here you get support for the MUIC device of
103db1b9037SChanwoo Choi	  Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
104db1b9037SChanwoo Choi	  detector and switch.
105db1b9037SChanwoo Choi
10627a28d32SJaewon Kimconfig EXTCON_MAX77843
107ed2c0604SChanwoo Choi	tristate "Maxim MAX77843 EXTCON Support"
10827a28d32SJaewon Kim	depends on MFD_MAX77843
10927a28d32SJaewon Kim	select IRQ_DOMAIN
11027a28d32SJaewon Kim	select REGMAP_I2C
11127a28d32SJaewon Kim	help
11227a28d32SJaewon Kim	  If you say yes here you get support for the MUIC device of
11327a28d32SJaewon Kim	  Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
11427a28d32SJaewon Kim	  detector add switch.
11527a28d32SJaewon Kim
116b76668baSChanwoo Choiconfig EXTCON_MAX8997
117ed2c0604SChanwoo Choi	tristate "Maxim MAX8997 EXTCON Support"
118dca1a71eSChanwoo Choi	depends on MFD_MAX8997 && IRQ_DOMAIN
119b76668baSChanwoo Choi	help
120b76668baSChanwoo Choi	  If you say yes here you get support for the MUIC device of
121b76668baSChanwoo Choi	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
122b76668baSChanwoo Choi	  detector and switch.
123b76668baSChanwoo Choi
124b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS
125b1f254e3SGraeme Gregory	tristate "Palmas USB EXTCON support"
126b1f254e3SGraeme Gregory	depends on MFD_PALMAS
127b1f254e3SGraeme Gregory	help
128b1f254e3SGraeme Gregory	  Say Y here to enable support for USB peripheral and USB host
129b1f254e3SGraeme Gregory	  detection by palmas usb.
130b1f254e3SGraeme Gregory
1314ed754deSVijai Kumar Kconfig EXTCON_PTN5150
1324ed754deSVijai Kumar K	tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
13386baf800SArnd Bergmann	depends on I2C && (GPIOLIB || COMPILE_TEST)
1344ed754deSVijai Kumar K	select REGMAP_I2C
1354ed754deSVijai Kumar K	help
1364ed754deSVijai Kumar K	  Say Y here to enable support for USB peripheral and USB host
1374ed754deSVijai Kumar K	  detection by NXP PTN5150 CC (Configuration Channel) logic chip.
1384ed754deSVijai Kumar K
13938085c98SStephen Boydconfig EXTCON_QCOM_SPMI_MISC
14038085c98SStephen Boyd	tristate "Qualcomm USB extcon support"
141a781a7d6SPeter Robinson	depends on ARCH_QCOM || COMPILE_TEST
14238085c98SStephen Boyd	help
14338085c98SStephen Boyd	  Say Y here to enable SPMI PMIC based USB cable detection
14438085c98SStephen Boyd	  support on Qualcomm PMICs such as PM8941.
14538085c98SStephen Boyd
146c03e017cSChanwoo Choiconfig EXTCON_RT8973A
147ed2c0604SChanwoo Choi	tristate "Richtek RT8973A EXTCON support"
148c03e017cSChanwoo Choi	depends on I2C
149c03e017cSChanwoo Choi	select IRQ_DOMAIN
150c03e017cSChanwoo Choi	select REGMAP_I2C
151c03e017cSChanwoo Choi	select REGMAP_IRQ
152c03e017cSChanwoo Choi	help
153c03e017cSChanwoo Choi	  If you say yes here you get support for the MUIC device of
154c03e017cSChanwoo Choi	  Richtek RT8973A. The RT8973A is a USB port accessory detector
155c03e017cSChanwoo Choi	  and switch that is optimized to protect low voltage system
156c03e017cSChanwoo Choi	  from abnormal high input voltage (up to 28V).
157c03e017cSChanwoo Choi
158914b881fSChanwoo Choiconfig EXTCON_SM5502
159d97c0ff5SStephan Gerhold	tristate "Silicon Mitus SM5502/SM5504 EXTCON support"
1600746d5d3SChanwoo Choi	depends on I2C
161914b881fSChanwoo Choi	select IRQ_DOMAIN
162914b881fSChanwoo Choi	select REGMAP_I2C
163914b881fSChanwoo Choi	select REGMAP_IRQ
164914b881fSChanwoo Choi	help
165914b881fSChanwoo Choi	  If you say yes here you get support for the MUIC device of
166914b881fSChanwoo Choi	  Silicon Mitus SM5502. The SM5502 is a USB port accessory
167914b881fSChanwoo Choi	  detector and switch.
168914b881fSChanwoo Choi
169e52817faSRoger Quadrosconfig EXTCON_USB_GPIO
170e52817faSRoger Quadros	tristate "USB GPIO extcon support"
171638f958bSGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
172e52817faSRoger Quadros	help
173e52817faSRoger Quadros	  Say Y here to enable GPIO based USB cable detection extcon support.
174e52817faSRoger Quadros	  Used typically if GPIO is used for USB ID pin detection.
175e52817faSRoger Quadros
176c6983166SBenson Leungconfig EXTCON_USBC_CROS_EC
177c6983166SBenson Leung	tristate "ChromeOS Embedded Controller EXTCON support"
17847f11e0bSEnric Balletbo i Serra	depends on CROS_EC
179c6983166SBenson Leung	help
180c6983166SBenson Leung	  Say Y here to enable USB Type C cable detection extcon support when
181c6983166SBenson Leung	  using Chrome OS EC based USB Type-C ports.
182c6983166SBenson Leung
18306bc4ca1SMichael Auchterconfig EXTCON_USBC_TUSB320
18406bc4ca1SMichael Auchter	tristate "TI TUSB320 USB-C extcon support"
18506bc4ca1SMichael Auchter	depends on I2C
18606bc4ca1SMichael Auchter	select REGMAP_I2C
18706bc4ca1SMichael Auchter	help
18806bc4ca1SMichael Auchter	  Say Y here to enable support for USB Type C cable detection extcon
18906bc4ca1SMichael Auchter	  support using a TUSB320.
19006bc4ca1SMichael Auchter
191ed2c0604SChanwoo Choiendif
192