Kconfig 3.3 KB

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