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 64b7fa2cd3SHans de Goede depends on USB_SUPPORT 65d20a3a8aSArnd Bergmann depends on POWER_SUPPLY 66b7fa2cd3SHans de Goede select USB_ROLE_SWITCH 67db0f3baaSHans de Goede help 68db0f3baaSHans de Goede Say Y here to enable extcon support for charger detection / control 69db0f3baaSHans de Goede on the Intel Cherrytrail Whiskey Cove PMIC. 70db0f3baaSHans de Goede 71492929c5SAndy Shevchenkoconfig EXTCON_INTEL_MRFLD 72492929c5SAndy Shevchenko tristate "Intel Merrifield Basin Cove PMIC extcon driver" 73492929c5SAndy Shevchenko depends on INTEL_SOC_PMIC_MRFLD 74492929c5SAndy Shevchenko help 75492929c5SAndy Shevchenko Say Y here to enable extcon support for charger detection / control 76492929c5SAndy Shevchenko on the Intel Merrifield Basin Cove PMIC. 77492929c5SAndy Shevchenko 789e1897cbSHans de Goedeconfig EXTCON_LC824206XA 799e1897cbSHans de Goede tristate "LC824206XA extcon Support" 809e1897cbSHans de Goede depends on I2C 819e1897cbSHans de Goede depends on POWER_SUPPLY 829e1897cbSHans de Goede help 839e1897cbSHans de Goede Say Y here to enable support for the ON Semiconductor LC824206XA 849e1897cbSHans de Goede microUSB switch and accessory detector chip. The LC824206XA is a USB 859e1897cbSHans de Goede port accessory detector and switch. The LC824206XA is fully controlled 869e1897cbSHans de Goede using I2C and enables USB data, stereo and mono audio, video, 879e1897cbSHans de Goede microphone and UART data to use a common connector port. 889e1897cbSHans de Goede 89962e56bfSChanwoo Choiconfig EXTCON_MAX14577 90ed2c0604SChanwoo Choi tristate "Maxim MAX14577/77836 EXTCON Support" 91962e56bfSChanwoo Choi depends on MFD_MAX14577 92962e56bfSChanwoo Choi select IRQ_DOMAIN 93962e56bfSChanwoo Choi select REGMAP_I2C 94962e56bfSChanwoo Choi help 95962e56bfSChanwoo Choi If you say yes here you get support for the MUIC device of 964706a525SKrzysztof Kozlowski Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory 97962e56bfSChanwoo Choi detector and switch. 98962e56bfSChanwoo Choi 9908a0a4f9SSergei Shtylyovconfig EXTCON_MAX3355 10008a0a4f9SSergei Shtylyov tristate "Maxim MAX3355 USB OTG EXTCON Support" 10108a0a4f9SSergei Shtylyov depends on GPIOLIB || COMPILE_TEST 10208a0a4f9SSergei Shtylyov help 10308a0a4f9SSergei Shtylyov If you say yes here you get support for the USB OTG role detection by 10408a0a4f9SSergei Shtylyov MAX3355. The MAX3355 chip integrates a charge pump and comparators to 10508a0a4f9SSergei Shtylyov enable a system with an integrated USB OTG dual-role transceiver to 10608a0a4f9SSergei Shtylyov function as an USB OTG dual-role device. 10708a0a4f9SSergei Shtylyov 108db1b9037SChanwoo Choiconfig EXTCON_MAX77693 109ed2c0604SChanwoo Choi tristate "Maxim MAX77693 EXTCON Support" 1101aa05905SChanwoo Choi depends on MFD_MAX77693 && INPUT 111db1b9037SChanwoo Choi select IRQ_DOMAIN 112db1b9037SChanwoo Choi select REGMAP_I2C 113db1b9037SChanwoo Choi help 114db1b9037SChanwoo Choi If you say yes here you get support for the MUIC device of 115db1b9037SChanwoo Choi Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory 116db1b9037SChanwoo Choi detector and switch. 117db1b9037SChanwoo Choi 11827a28d32SJaewon Kimconfig EXTCON_MAX77843 119ed2c0604SChanwoo Choi tristate "Maxim MAX77843 EXTCON Support" 12027a28d32SJaewon Kim depends on MFD_MAX77843 12127a28d32SJaewon Kim select IRQ_DOMAIN 12227a28d32SJaewon Kim select REGMAP_I2C 12327a28d32SJaewon Kim help 12427a28d32SJaewon Kim If you say yes here you get support for the MUIC device of 12527a28d32SJaewon Kim Maxim MAX77843. The MAX77843 MUIC is a USB port accessory 12627a28d32SJaewon Kim detector add switch. 12727a28d32SJaewon Kim 128b76668baSChanwoo Choiconfig EXTCON_MAX8997 129ed2c0604SChanwoo Choi tristate "Maxim MAX8997 EXTCON Support" 130b1781d0aSRandy Dunlap depends on MFD_MAX8997 131b1781d0aSRandy Dunlap select IRQ_DOMAIN 132b76668baSChanwoo Choi help 133b76668baSChanwoo Choi If you say yes here you get support for the MUIC device of 134b76668baSChanwoo Choi Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory 135b76668baSChanwoo Choi detector and switch. 136b76668baSChanwoo Choi 137145af3ddSSvyatoslav Ryhelconfig EXTCON_MAX14526 138145af3ddSSvyatoslav Ryhel tristate "Maxim MAX14526 EXTCON Support" 139*531f47fdSRandy Dunlap depends on I2C 140145af3ddSSvyatoslav Ryhel select IRQ_DOMAIN 141145af3ddSSvyatoslav Ryhel select REGMAP_I2C 142145af3ddSSvyatoslav Ryhel help 143145af3ddSSvyatoslav Ryhel If you say yes here you get support for the Maxim MAX14526 144145af3ddSSvyatoslav Ryhel MUIC device. The MAX14526 MUIC is a USB port accessory 145145af3ddSSvyatoslav Ryhel detector and switch. The MAX14526 is designed to simplify 146145af3ddSSvyatoslav Ryhel interface requirements on portable devices by multiplexing 147145af3ddSSvyatoslav Ryhel common inputs (USB, UART, Microphone, Stereo Audio and 148145af3ddSSvyatoslav Ryhel Composite Video) on a single micro/mini USB connector. 149145af3ddSSvyatoslav Ryhel 150b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS 151b1f254e3SGraeme Gregory tristate "Palmas USB EXTCON support" 152b1f254e3SGraeme Gregory depends on MFD_PALMAS 153b1f254e3SGraeme Gregory help 154b1f254e3SGraeme Gregory Say Y here to enable support for USB peripheral and USB host 155b1f254e3SGraeme Gregory detection by palmas usb. 156b1f254e3SGraeme Gregory 1574ed754deSVijai Kumar Kconfig EXTCON_PTN5150 1584ed754deSVijai Kumar K tristate "NXP PTN5150 CC LOGIC USB EXTCON support" 15986baf800SArnd Bergmann depends on I2C && (GPIOLIB || COMPILE_TEST) 1601bfcaa57SLi Jun depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH 1614ed754deSVijai Kumar K select REGMAP_I2C 1624ed754deSVijai Kumar K help 1634ed754deSVijai Kumar K Say Y here to enable support for USB peripheral and USB host 1644ed754deSVijai Kumar K detection by NXP PTN5150 CC (Configuration Channel) logic chip. 1654ed754deSVijai Kumar K 16638085c98SStephen Boydconfig EXTCON_QCOM_SPMI_MISC 16738085c98SStephen Boyd tristate "Qualcomm USB extcon support" 168a781a7d6SPeter Robinson depends on ARCH_QCOM || COMPILE_TEST 16938085c98SStephen Boyd help 17038085c98SStephen Boyd Say Y here to enable SPMI PMIC based USB cable detection 17138085c98SStephen Boyd support on Qualcomm PMICs such as PM8941. 17238085c98SStephen Boyd 173c03e017cSChanwoo Choiconfig EXTCON_RT8973A 174ed2c0604SChanwoo Choi tristate "Richtek RT8973A EXTCON support" 175c03e017cSChanwoo Choi depends on I2C 176c03e017cSChanwoo Choi select IRQ_DOMAIN 177c03e017cSChanwoo Choi select REGMAP_I2C 178c03e017cSChanwoo Choi select REGMAP_IRQ 179c03e017cSChanwoo Choi help 180c03e017cSChanwoo Choi If you say yes here you get support for the MUIC device of 181c03e017cSChanwoo Choi Richtek RT8973A. The RT8973A is a USB port accessory detector 182c03e017cSChanwoo Choi and switch that is optimized to protect low voltage system 183c03e017cSChanwoo Choi from abnormal high input voltage (up to 28V). 184c03e017cSChanwoo Choi 185914b881fSChanwoo Choiconfig EXTCON_SM5502 186a84df1c7SMarkuss Broks tristate "Silicon Mitus SM5502/SM5504/SM5703 EXTCON support" 1870746d5d3SChanwoo Choi depends on I2C 188914b881fSChanwoo Choi select IRQ_DOMAIN 189914b881fSChanwoo Choi select REGMAP_I2C 190914b881fSChanwoo Choi select REGMAP_IRQ 191914b881fSChanwoo Choi help 192914b881fSChanwoo Choi If you say yes here you get support for the MUIC device of 193914b881fSChanwoo Choi Silicon Mitus SM5502. The SM5502 is a USB port accessory 194914b881fSChanwoo Choi detector and switch. 195914b881fSChanwoo Choi 196e52817faSRoger Quadrosconfig EXTCON_USB_GPIO 197e52817faSRoger Quadros tristate "USB GPIO extcon support" 198638f958bSGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 199e52817faSRoger Quadros help 200e52817faSRoger Quadros Say Y here to enable GPIO based USB cable detection extcon support. 201e52817faSRoger Quadros Used typically if GPIO is used for USB ID pin detection. 202e52817faSRoger Quadros 203c6983166SBenson Leungconfig EXTCON_USBC_CROS_EC 204c6983166SBenson Leung tristate "ChromeOS Embedded Controller EXTCON support" 20547f11e0bSEnric Balletbo i Serra depends on CROS_EC 206c6983166SBenson Leung help 207c6983166SBenson Leung Say Y here to enable USB Type C cable detection extcon support when 208c6983166SBenson Leung using Chrome OS EC based USB Type-C ports. 209c6983166SBenson Leung 21006bc4ca1SMichael Auchterconfig EXTCON_USBC_TUSB320 21106bc4ca1SMichael Auchter tristate "TI TUSB320 USB-C extcon support" 212bf7571c0SMarek Vasut depends on I2C && TYPEC 21306bc4ca1SMichael Auchter select REGMAP_I2C 21465acf9c6SArnd Bergmann depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH 21506bc4ca1SMichael Auchter help 21606bc4ca1SMichael Auchter Say Y here to enable support for USB Type C cable detection extcon 21706bc4ca1SMichael Auchter support using a TUSB320. 21806bc4ca1SMichael Auchter 2198a590d73SStanley Changconfig EXTCON_RTK_TYPE_C 2208a590d73SStanley Chang tristate "Realtek RTD SoC extcon Type-C Driver" 2218a590d73SStanley Chang depends on ARCH_REALTEK || COMPILE_TEST 2228a590d73SStanley Chang depends on TYPEC 2238a590d73SStanley Chang select USB_COMMON 2248a590d73SStanley Chang help 2258a590d73SStanley Chang Say Y here to enable extcon support for USB Type C cable detection 2268a590d73SStanley Chang when using the Realtek RTD SoC USB Type-C port. 2278a590d73SStanley Chang The DHC (Digital Home Hub) RTD series SoC contains a type c module. 2288a590d73SStanley Chang This driver will detect the status of the type-c port. 2298a590d73SStanley Chang 230ed2c0604SChanwoo Choiendif 231