Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menuconfig EXTCON
  3. tristate "External Connector Class (extcon) support"
  4. help
  5. Say Y here to enable external connector class (extcon) support.
  6. This allows monitoring external connectors by userspace
  7. via sysfs and uevent and supports external connectors with
  8. multiple states; i.e., an extcon that may have multiple
  9. cables attached. For example, an external connector of a device
  10. may be used to connect an HDMI cable and a AC adaptor, and to
  11. host USB ports. Many of 30-pin connectors including PDMI are
  12. also good examples.
  13. if EXTCON
  14. comment "Extcon Device Drivers"
  15. config EXTCON_ADC_JACK
  16. tristate "ADC Jack extcon support"
  17. depends on IIO
  18. help
  19. Say Y here to enable extcon device driver based on ADC values.
  20. config EXTCON_ARIZONA
  21. tristate "Wolfson Arizona EXTCON support"
  22. depends on MFD_ARIZONA && INPUT && SND_SOC
  23. help
  24. Say Y here to enable support for external accessory detection
  25. with Wolfson Arizona devices. These are audio CODECs with
  26. advanced audio accessory detection support.
  27. config EXTCON_AXP288
  28. tristate "X-Power AXP288 EXTCON support"
  29. depends on MFD_AXP20X && USB_SUPPORT && X86 && ACPI
  30. select USB_ROLE_SWITCH
  31. help
  32. Say Y here to enable support for USB peripheral detection
  33. and USB MUX switching by X-Power AXP288 PMIC.
  34. config EXTCON_FSA9480
  35. tristate "FSA9480 EXTCON Support"
  36. depends on INPUT && I2C
  37. select IRQ_DOMAIN
  38. select REGMAP_I2C
  39. help
  40. If you say yes here you get support for the Fairchild Semiconductor
  41. FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
  42. port accessory detector and switch. The FSA9480 is fully controlled using
  43. I2C and enables USB data, stereo and mono audio, video, microphone
  44. and UART data to use a common connector port.
  45. config EXTCON_GPIO
  46. tristate "GPIO extcon support"
  47. depends on GPIOLIB || COMPILE_TEST
  48. help
  49. Say Y here to enable GPIO based extcon support. Note that GPIO
  50. extcon supports single state per extcon instance.
  51. config EXTCON_INTEL_INT3496
  52. tristate "Intel INT3496 ACPI device extcon driver"
  53. depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
  54. help
  55. Say Y here to enable extcon support for USB OTG ports controlled by
  56. an Intel INT3496 ACPI device.
  57. This ACPI device is typically found on Intel Baytrail or Cherrytrail
  58. based tablets, or other Baytrail / Cherrytrail devices.
  59. config EXTCON_INTEL_CHT_WC
  60. tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
  61. depends on INTEL_SOC_PMIC_CHTWC
  62. help
  63. Say Y here to enable extcon support for charger detection / control
  64. on the Intel Cherrytrail Whiskey Cove PMIC.
  65. config EXTCON_INTEL_MRFLD
  66. tristate "Intel Merrifield Basin Cove PMIC extcon driver"
  67. depends on INTEL_SOC_PMIC_MRFLD
  68. help
  69. Say Y here to enable extcon support for charger detection / control
  70. on the Intel Merrifield Basin Cove PMIC.
  71. config EXTCON_MAX14577
  72. tristate "Maxim MAX14577/77836 EXTCON Support"
  73. depends on MFD_MAX14577
  74. select IRQ_DOMAIN
  75. select REGMAP_I2C
  76. help
  77. If you say yes here you get support for the MUIC device of
  78. Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
  79. detector and switch.
  80. config EXTCON_MAX3355
  81. tristate "Maxim MAX3355 USB OTG EXTCON Support"
  82. depends on GPIOLIB || COMPILE_TEST
  83. help
  84. If you say yes here you get support for the USB OTG role detection by
  85. MAX3355. The MAX3355 chip integrates a charge pump and comparators to
  86. enable a system with an integrated USB OTG dual-role transceiver to
  87. function as an USB OTG dual-role device.
  88. config EXTCON_MAX77693
  89. tristate "Maxim MAX77693 EXTCON Support"
  90. depends on MFD_MAX77693 && INPUT
  91. select IRQ_DOMAIN
  92. select REGMAP_I2C
  93. help
  94. If you say yes here you get support for the MUIC device of
  95. Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
  96. detector and switch.
  97. config EXTCON_MAX77843
  98. tristate "Maxim MAX77843 EXTCON Support"
  99. depends on MFD_MAX77843
  100. select IRQ_DOMAIN
  101. select REGMAP_I2C
  102. help
  103. If you say yes here you get support for the MUIC device of
  104. Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
  105. detector add switch.
  106. config EXTCON_MAX8997
  107. tristate "Maxim MAX8997 EXTCON Support"
  108. depends on MFD_MAX8997 && IRQ_DOMAIN
  109. help
  110. If you say yes here you get support for the MUIC device of
  111. Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
  112. detector and switch.
  113. config EXTCON_PALMAS
  114. tristate "Palmas USB EXTCON support"
  115. depends on MFD_PALMAS
  116. help
  117. Say Y here to enable support for USB peripheral and USB host
  118. detection by palmas usb.
  119. config EXTCON_PTN5150
  120. tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
  121. depends on I2C && (GPIOLIB || COMPILE_TEST)
  122. select REGMAP_I2C
  123. help
  124. Say Y here to enable support for USB peripheral and USB host
  125. detection by NXP PTN5150 CC (Configuration Channel) logic chip.
  126. config EXTCON_QCOM_SPMI_MISC
  127. tristate "Qualcomm USB extcon support"
  128. depends on ARCH_QCOM || COMPILE_TEST
  129. help
  130. Say Y here to enable SPMI PMIC based USB cable detection
  131. support on Qualcomm PMICs such as PM8941.
  132. config EXTCON_RT8973A
  133. tristate "Richtek RT8973A EXTCON support"
  134. depends on I2C
  135. select IRQ_DOMAIN
  136. select REGMAP_I2C
  137. select REGMAP_IRQ
  138. help
  139. If you say yes here you get support for the MUIC device of
  140. Richtek RT8973A. The RT8973A is a USB port accessory detector
  141. and switch that is optimized to protect low voltage system
  142. from abnormal high input voltage (up to 28V).
  143. config EXTCON_SM5502
  144. tristate "Silicon Mitus SM5502 EXTCON support"
  145. depends on I2C
  146. select IRQ_DOMAIN
  147. select REGMAP_I2C
  148. select REGMAP_IRQ
  149. help
  150. If you say yes here you get support for the MUIC device of
  151. Silicon Mitus SM5502. The SM5502 is a USB port accessory
  152. detector and switch.
  153. config EXTCON_USB_GPIO
  154. tristate "USB GPIO extcon support"
  155. depends on GPIOLIB || COMPILE_TEST
  156. help
  157. Say Y here to enable GPIO based USB cable detection extcon support.
  158. Used typically if GPIO is used for USB ID pin detection.
  159. config EXTCON_USBC_CROS_EC
  160. tristate "ChromeOS Embedded Controller EXTCON support"
  161. depends on CROS_EC
  162. help
  163. Say Y here to enable USB Type C cable detection extcon support when
  164. using Chrome OS EC based USB Type-C ports.
  165. endif