Kconfig 5.0 KB

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