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 78*9e1897cbSHans de Goedeconfig EXTCON_LC824206XA 79*9e1897cbSHans de Goede tristate "LC824206XA extcon Support" 80*9e1897cbSHans de Goede depends on I2C 81*9e1897cbSHans de Goede depends on POWER_SUPPLY 82*9e1897cbSHans de Goede help 83*9e1897cbSHans de Goede Say Y here to enable support for the ON Semiconductor LC824206XA 84*9e1897cbSHans de Goede microUSB switch and accessory detector chip. The LC824206XA is a USB 85*9e1897cbSHans de Goede port accessory detector and switch. The LC824206XA is fully controlled 86*9e1897cbSHans de Goede using I2C and enables USB data, stereo and mono audio, video, 87*9e1897cbSHans de Goede microphone and UART data to use a common connector port. 88*9e1897cbSHans 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 137b1f254e3SGraeme Gregoryconfig EXTCON_PALMAS 138b1f254e3SGraeme Gregory tristate "Palmas USB EXTCON support" 139b1f254e3SGraeme Gregory depends on MFD_PALMAS 140b1f254e3SGraeme Gregory help 141b1f254e3SGraeme Gregory Say Y here to enable support for USB peripheral and USB host 142b1f254e3SGraeme Gregory detection by palmas usb. 143b1f254e3SGraeme Gregory 1444ed754deSVijai Kumar Kconfig EXTCON_PTN5150 1454ed754deSVijai Kumar K tristate "NXP PTN5150 CC LOGIC USB EXTCON support" 14686baf800SArnd Bergmann depends on I2C && (GPIOLIB || COMPILE_TEST) 1471bfcaa57SLi Jun depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH 1484ed754deSVijai Kumar K select REGMAP_I2C 1494ed754deSVijai Kumar K help 1504ed754deSVijai Kumar K Say Y here to enable support for USB peripheral and USB host 1514ed754deSVijai Kumar K detection by NXP PTN5150 CC (Configuration Channel) logic chip. 1524ed754deSVijai Kumar K 15338085c98SStephen Boydconfig EXTCON_QCOM_SPMI_MISC 15438085c98SStephen Boyd tristate "Qualcomm USB extcon support" 155a781a7d6SPeter Robinson depends on ARCH_QCOM || COMPILE_TEST 15638085c98SStephen Boyd help 15738085c98SStephen Boyd Say Y here to enable SPMI PMIC based USB cable detection 15838085c98SStephen Boyd support on Qualcomm PMICs such as PM8941. 15938085c98SStephen Boyd 160c03e017cSChanwoo Choiconfig EXTCON_RT8973A 161ed2c0604SChanwoo Choi tristate "Richtek RT8973A EXTCON support" 162c03e017cSChanwoo Choi depends on I2C 163c03e017cSChanwoo Choi select IRQ_DOMAIN 164c03e017cSChanwoo Choi select REGMAP_I2C 165c03e017cSChanwoo Choi select REGMAP_IRQ 166c03e017cSChanwoo Choi help 167c03e017cSChanwoo Choi If you say yes here you get support for the MUIC device of 168c03e017cSChanwoo Choi Richtek RT8973A. The RT8973A is a USB port accessory detector 169c03e017cSChanwoo Choi and switch that is optimized to protect low voltage system 170c03e017cSChanwoo Choi from abnormal high input voltage (up to 28V). 171c03e017cSChanwoo Choi 172914b881fSChanwoo Choiconfig EXTCON_SM5502 173a84df1c7SMarkuss Broks tristate "Silicon Mitus SM5502/SM5504/SM5703 EXTCON support" 1740746d5d3SChanwoo Choi depends on I2C 175914b881fSChanwoo Choi select IRQ_DOMAIN 176914b881fSChanwoo Choi select REGMAP_I2C 177914b881fSChanwoo Choi select REGMAP_IRQ 178914b881fSChanwoo Choi help 179914b881fSChanwoo Choi If you say yes here you get support for the MUIC device of 180914b881fSChanwoo Choi Silicon Mitus SM5502. The SM5502 is a USB port accessory 181914b881fSChanwoo Choi detector and switch. 182914b881fSChanwoo Choi 183e52817faSRoger Quadrosconfig EXTCON_USB_GPIO 184e52817faSRoger Quadros tristate "USB GPIO extcon support" 185638f958bSGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 186e52817faSRoger Quadros help 187e52817faSRoger Quadros Say Y here to enable GPIO based USB cable detection extcon support. 188e52817faSRoger Quadros Used typically if GPIO is used for USB ID pin detection. 189e52817faSRoger Quadros 190c6983166SBenson Leungconfig EXTCON_USBC_CROS_EC 191c6983166SBenson Leung tristate "ChromeOS Embedded Controller EXTCON support" 19247f11e0bSEnric Balletbo i Serra depends on CROS_EC 193c6983166SBenson Leung help 194c6983166SBenson Leung Say Y here to enable USB Type C cable detection extcon support when 195c6983166SBenson Leung using Chrome OS EC based USB Type-C ports. 196c6983166SBenson Leung 19706bc4ca1SMichael Auchterconfig EXTCON_USBC_TUSB320 19806bc4ca1SMichael Auchter tristate "TI TUSB320 USB-C extcon support" 199bf7571c0SMarek Vasut depends on I2C && TYPEC 20006bc4ca1SMichael Auchter select REGMAP_I2C 20165acf9c6SArnd Bergmann depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH 20206bc4ca1SMichael Auchter help 20306bc4ca1SMichael Auchter Say Y here to enable support for USB Type C cable detection extcon 20406bc4ca1SMichael Auchter support using a TUSB320. 20506bc4ca1SMichael Auchter 2068a590d73SStanley Changconfig EXTCON_RTK_TYPE_C 2078a590d73SStanley Chang tristate "Realtek RTD SoC extcon Type-C Driver" 2088a590d73SStanley Chang depends on ARCH_REALTEK || COMPILE_TEST 2098a590d73SStanley Chang depends on TYPEC 2108a590d73SStanley Chang select USB_COMMON 2118a590d73SStanley Chang help 2128a590d73SStanley Chang Say Y here to enable extcon support for USB Type C cable detection 2138a590d73SStanley Chang when using the Realtek RTD SoC USB Type-C port. 2148a590d73SStanley Chang The DHC (Digital Home Hub) RTD series SoC contains a type c module. 2158a590d73SStanley Chang This driver will detect the status of the type-c port. 2168a590d73SStanley Chang 217ed2c0604SChanwoo Choiendif 218