Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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_PHY
  29. help
  30. Say Y here to enable support for USB peripheral detection
  31. and USB MUX switching by X-Power AXP288 PMIC.
  32. config EXTCON_GPIO
  33. tristate "GPIO extcon support"
  34. depends on GPIOLIB || COMPILE_TEST
  35. help
  36. Say Y here to enable GPIO based extcon support. Note that GPIO
  37. extcon supports single state per extcon instance.
  38. config EXTCON_MAX14577
  39. tristate "Maxim MAX14577/77836 EXTCON Support"
  40. depends on MFD_MAX14577
  41. select IRQ_DOMAIN
  42. select REGMAP_I2C
  43. help
  44. If you say yes here you get support for the MUIC device of
  45. Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
  46. detector and switch.
  47. config EXTCON_MAX77693
  48. tristate "Maxim MAX77693 EXTCON Support"
  49. depends on MFD_MAX77693 && INPUT
  50. select IRQ_DOMAIN
  51. select REGMAP_I2C
  52. help
  53. If you say yes here you get support for the MUIC device of
  54. Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
  55. detector and switch.
  56. config EXTCON_MAX77843
  57. tristate "Maxim MAX77843 EXTCON Support"
  58. depends on MFD_MAX77843
  59. select IRQ_DOMAIN
  60. select REGMAP_I2C
  61. help
  62. If you say yes here you get support for the MUIC device of
  63. Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
  64. detector add switch.
  65. config EXTCON_MAX8997
  66. tristate "Maxim MAX8997 EXTCON Support"
  67. depends on MFD_MAX8997 && IRQ_DOMAIN
  68. help
  69. If you say yes here you get support for the MUIC device of
  70. Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
  71. detector and switch.
  72. config EXTCON_PALMAS
  73. tristate "Palmas USB EXTCON support"
  74. depends on MFD_PALMAS
  75. help
  76. Say Y here to enable support for USB peripheral and USB host
  77. detection by palmas usb.
  78. config EXTCON_RT8973A
  79. tristate "Richtek RT8973A EXTCON support"
  80. depends on I2C
  81. select IRQ_DOMAIN
  82. select REGMAP_I2C
  83. select REGMAP_IRQ
  84. help
  85. If you say yes here you get support for the MUIC device of
  86. Richtek RT8973A. The RT8973A is a USB port accessory detector
  87. and switch that is optimized to protect low voltage system
  88. from abnormal high input voltage (up to 28V).
  89. config EXTCON_SM5502
  90. tristate "Silicon Mitus SM5502 EXTCON support"
  91. depends on I2C
  92. select IRQ_DOMAIN
  93. select REGMAP_I2C
  94. select REGMAP_IRQ
  95. help
  96. If you say yes here you get support for the MUIC device of
  97. Silicon Mitus SM5502. The SM5502 is a USB port accessory
  98. detector and switch.
  99. config EXTCON_USB_GPIO
  100. tristate "USB GPIO extcon support"
  101. depends on GPIOLIB || COMPILE_TEST
  102. help
  103. Say Y here to enable GPIO based USB cable detection extcon support.
  104. Used typically if GPIO is used for USB ID pin detection.
  105. endif