Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. #
  2. # USB notify configuration
  3. #
  4. comment "USB Notify features"
  5. config USB_HOST_NOTIFY
  6. bool "USB Host notify Driver"
  7. depends on USB_NOTIFY_LAYER
  8. help
  9. Android framework needs uevents for usb host operation.
  10. Host notify Driver serves uevent format
  11. that is used by usb host or otg.
  12. The uevent include host connect, disconnect, source, sink.
  13. config USB_NOTIFY_LAYER
  14. tristate "USB notify layer"
  15. depends on USB
  16. help
  17. Added usb notify layer on gadget,host,otg drivers.
  18. The usb notify layer controls otg mode and vbus draw
  19. and vbus detect irq.
  20. It is made by samsung.
  21. config USB_NOTIFIER
  22. tristate "USB notifier"
  23. depends on USB_NOTIFY_LAYER
  24. help
  25. Added platform driver to call usb notify.
  26. The usb_notifier.c can be fixed for each models.
  27. It is not common code.
  28. It may be different for each ap vendor.
  29. config USB_DEBUG_DETAILED_LOG
  30. bool "USB detailed log for debugging"
  31. depends on USB
  32. help
  33. Add detailed log for debugging.
  34. It is made by samsung.
  35. It is feature for usb host class drivers.
  36. ..
  37. config USB_STORAGE_DETECT
  38. bool "USB storage detect function"
  39. depends on USB && SCSI
  40. depends on USB_STORAGE
  41. help
  42. This feature enables to detect inserting or removing
  43. sd card in sd reader device.
  44. This must to be defined in /usb/storage/Kconfig
  45. directory originally. But this feature is defined
  46. in this Kconfig to gather samsung feature about usb host.
  47. config USB_HMT_SAMSUNG_INPUT
  48. bool "USB HMT inputs for samsung hmt devices"
  49. depends on HID
  50. help
  51. Some samsung smart phones support gear vr.
  52. The samsung gear vr need some special hid input codes.
  53. This feature enables special hid input codes.
  54. ..
  55. config USB_EXTERNAL_NOTIFY
  56. bool "USB external notify"
  57. depends on USB_NOTIFY_LAYER
  58. help
  59. Added usb external notify.
  60. The usb external notify broadcast special situation
  61. to muic and charger.
  62. And broadcasting to out of usb notify layer.
  63. config USB_NOTIFY_PROC_LOG
  64. bool "USB proc log"
  65. depends on USB_NOTIFY_LAYER
  66. depends on USB_HOST_NOTIFY
  67. help
  68. Added proc usblog.
  69. The USB STATE, The USB MODE, Cable event
  70. are saved in usblog heap.
  71. It is remained in dumpdate.
  72. config USB_HOST_SAMSUNG_FEATURE
  73. bool "USB Host Samsung Feature"
  74. depends on USB
  75. help
  76. USB Host Samsung Feature.
  77. It is different from LSI BSP code.
  78. If samsung engineer changes kernel code,
  79. use this feature,
  80. config USB_HW_PARAM
  81. bool "USB H/W Parameter"
  82. depends on USB_NOTIFY_LAYER
  83. help
  84. Added USB H/W Parameter for DQA Agent.
  85. You need more works for USB PDIC driver.
  86. It is made by samsung.
  87. ..
  88. config USB_INTERFACE_LPM_LIST
  89. bool "USB interface class lpm Feature"
  90. depends on USB
  91. help
  92. The device needs to support L1 for audio class devices
  93. But L1 mode has some issues.
  94. So we will apply L1 mode to the device that has specific interface classes
  95. Now, It is only enabled for audio class.
  96. config USB_CCIC_NOTIFIER_USING_QC
  97. bool "USB CCIC Notifier using QC PMIC"
  98. depends on USB_NOTIFY_LAYER
  99. help
  100. When USB type C model uses QC PMIC without IFPMIC,
  101. add to get notification from QC PMIC.
  102. ..
  103. ..
  104. config USB_AUDIO_ENHANCED_DETECT_TIME
  105. bool "USB audio enhanced detect time"
  106. depends on USB_NOTIFY_LAYER
  107. default y
  108. help
  109. Added uevent for usb audio device(bundle)
  110. uevent includes path, card number, vid, pid
  111. The usb framework gets this uevent.
  112. It is made by samsung.
  113. config USB_HOST_CERTI
  114. bool "USB Embedded host certification"
  115. depends on USB_NOTIFY_LAYER
  116. depends on !SEC_FACTORY
  117. help
  118. Added uevent for usb embedded host certification
  119. uevent includes information of notification
  120. The usb framework gets this uevent.
  121. It is made by samsung.
  122. config USB_AUDIO_POWER_SAVING
  123. bool "Use function saving power with VBUS provided to USB audio"
  124. default n
  125. help
  126. If you want to use functionality to save power
  127. for specific USB earphone,
  128. enable this feature.
  129. It is made by samsung.
  130. config USB_USING_ADVANCED_USBLOG
  131. bool "Use advanced usb log logic"
  132. default n
  133. help
  134. If you want to use advanced usb log, enable this feature.
  135. you can use printk_usb saved specific buffer.
  136. and can use store_tcpc_name
  137. This is new feature by usb notify layer v4.0
  138. config USB_LPM_CHARGING_SYNC
  139. bool "LPM charging type sync"
  140. depends on USB_NOTIFY_LAYER
  141. help
  142. There is a requirement that LPM animation confirm
  143. the final charging method and show it only once.
  144. It is a function that syncs with the driver stage through sysfs
  145. to let the LPM know the final charging type.
  146. config DISABLE_LOCKSCREEN_USB_RESTRICTION
  147. bool "disable usb restriction during lockscreen"
  148. depends on USB_NOTIFY_LAYER
  149. help
  150. Restricting the usb function on the lock screen is a concept applied for usb security
  151. it has been applied since v os (oneui 7.0) or higher
  152. This feature is to avoid applying the concept.
  153. Enable this feature to enable usb communication on the lock screen.
  154. #
  155. # USB notifier configuration
  156. #
  157. comment "USB Notifier features"
  158. config USB_NOTIFIER
  159. tristate "USB notifier"
  160. depends on USB_NOTIFY_LAYER
  161. help
  162. Added platform driver to call usb notify.
  163. The usb_notifier.c can be fixed for each models.
  164. It is not common code.
  165. It may be different for each ap vendor.