Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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_AXP288
  21. tristate "X-Power AXP288 EXTCON support"
  22. depends on MFD_AXP20X && USB_SUPPORT && X86 && ACPI && IOSF_MBI
  23. select USB_ROLE_SWITCH
  24. help
  25. Say Y here to enable support for USB peripheral detection
  26. and USB MUX switching by X-Power AXP288 PMIC.
  27. config EXTCON_FSA9480
  28. tristate "FSA9480 EXTCON Support"
  29. depends on INPUT && I2C
  30. select IRQ_DOMAIN
  31. select REGMAP_I2C
  32. help
  33. If you say yes here you get support for the Fairchild Semiconductor
  34. FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
  35. port accessory detector and switch. The FSA9480 is fully controlled using
  36. I2C and enables USB data, stereo and mono audio, video, microphone
  37. and UART data to use a common connector port.
  38. config EXTCON_GPIO
  39. tristate "GPIO extcon support"
  40. depends on GPIOLIB || COMPILE_TEST
  41. help
  42. Say Y here to enable GPIO based extcon support. Note that GPIO
  43. extcon supports single state per extcon instance.
  44. config EXTCON_INTEL_INT3496
  45. tristate "Intel INT3496 ACPI device extcon driver"
  46. depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
  47. help
  48. Say Y here to enable extcon support for USB OTG ports controlled by
  49. an Intel INT3496 ACPI device.
  50. This ACPI device is typically found on Intel Baytrail or Cherrytrail
  51. based tablets, or other Baytrail / Cherrytrail devices.
  52. config EXTCON_INTEL_CHT_WC
  53. tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
  54. depends on INTEL_SOC_PMIC_CHTWC
  55. depends on USB_SUPPORT
  56. depends on POWER_SUPPLY
  57. select USB_ROLE_SWITCH
  58. help
  59. Say Y here to enable extcon support for charger detection / control
  60. on the Intel Cherrytrail Whiskey Cove PMIC.
  61. config EXTCON_INTEL_MRFLD
  62. tristate "Intel Merrifield Basin Cove PMIC extcon driver"
  63. depends on INTEL_SOC_PMIC_MRFLD
  64. help
  65. Say Y here to enable extcon support for charger detection / control
  66. on the Intel Merrifield Basin Cove PMIC.
  67. config EXTCON_MAX14577
  68. tristate "Maxim MAX14577/77836 EXTCON Support"
  69. depends on MFD_MAX14577
  70. select IRQ_DOMAIN
  71. select REGMAP_I2C
  72. help
  73. If you say yes here you get support for the MUIC device of
  74. Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
  75. detector and switch.
  76. config EXTCON_MAX3355
  77. tristate "Maxim MAX3355 USB OTG EXTCON Support"
  78. depends on GPIOLIB || COMPILE_TEST
  79. help
  80. If you say yes here you get support for the USB OTG role detection by
  81. MAX3355. The MAX3355 chip integrates a charge pump and comparators to
  82. enable a system with an integrated USB OTG dual-role transceiver to
  83. function as an USB OTG dual-role device.
  84. config EXTCON_MAX77693
  85. tristate "Maxim MAX77693 EXTCON Support"
  86. depends on MFD_MAX77693 && INPUT
  87. select IRQ_DOMAIN
  88. select REGMAP_I2C
  89. help
  90. If you say yes here you get support for the MUIC device of
  91. Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
  92. detector and switch.
  93. config EXTCON_MAX77843
  94. tristate "Maxim MAX77843 EXTCON Support"
  95. depends on MFD_MAX77843
  96. select IRQ_DOMAIN
  97. select REGMAP_I2C
  98. help
  99. If you say yes here you get support for the MUIC device of
  100. Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
  101. detector add switch.
  102. config EXTCON_MAX8997
  103. tristate "Maxim MAX8997 EXTCON Support"
  104. depends on MFD_MAX8997 && IRQ_DOMAIN
  105. help
  106. If you say yes here you get support for the MUIC device of
  107. Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
  108. detector and switch.
  109. config EXTCON_PALMAS
  110. tristate "Palmas USB EXTCON support"
  111. depends on MFD_PALMAS
  112. help
  113. Say Y here to enable support for USB peripheral and USB host
  114. detection by palmas usb.
  115. config EXTCON_PTN5150
  116. tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
  117. depends on I2C && (GPIOLIB || COMPILE_TEST)
  118. depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH
  119. select REGMAP_I2C
  120. help
  121. Say Y here to enable support for USB peripheral and USB host
  122. detection by NXP PTN5150 CC (Configuration Channel) logic chip.
  123. config EXTCON_QCOM_SPMI_MISC
  124. tristate "Qualcomm USB extcon support"
  125. depends on ARCH_QCOM || COMPILE_TEST
  126. help
  127. Say Y here to enable SPMI PMIC based USB cable detection
  128. support on Qualcomm PMICs such as PM8941.
  129. config EXTCON_RT8973A
  130. tristate "Richtek RT8973A EXTCON support"
  131. depends on I2C
  132. select IRQ_DOMAIN
  133. select REGMAP_I2C
  134. select REGMAP_IRQ
  135. help
  136. If you say yes here you get support for the MUIC device of
  137. Richtek RT8973A. The RT8973A is a USB port accessory detector
  138. and switch that is optimized to protect low voltage system
  139. from abnormal high input voltage (up to 28V).
  140. config EXTCON_SM5502
  141. tristate "Silicon Mitus SM5502/SM5504/SM5703 EXTCON support"
  142. depends on I2C
  143. select IRQ_DOMAIN
  144. select REGMAP_I2C
  145. select REGMAP_IRQ
  146. help
  147. If you say yes here you get support for the MUIC device of
  148. Silicon Mitus SM5502. The SM5502 is a USB port accessory
  149. detector and switch.
  150. config EXTCON_USB_GPIO
  151. tristate "USB GPIO extcon support"
  152. depends on GPIOLIB || COMPILE_TEST
  153. help
  154. Say Y here to enable GPIO based USB cable detection extcon support.
  155. Used typically if GPIO is used for USB ID pin detection.
  156. config EXTCON_USBC_CROS_EC
  157. tristate "ChromeOS Embedded Controller EXTCON support"
  158. depends on CROS_EC
  159. help
  160. Say Y here to enable USB Type C cable detection extcon support when
  161. using Chrome OS EC based USB Type-C ports.
  162. config EXTCON_USBC_TUSB320
  163. tristate "TI TUSB320 USB-C extcon support"
  164. depends on I2C && TYPEC
  165. select REGMAP_I2C
  166. help
  167. Say Y here to enable support for USB Type C cable detection extcon
  168. support using a TUSB320.
  169. endif