Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. #
  2. # MUIC devices
  3. #
  4. comment "MUIC configs"
  5. config USE_MUIC
  6. bool "Using MUIC device driver"
  7. depends on I2C
  8. default n
  9. help
  10. If you say yes here you will get support for
  11. the MUIC device driver.
  12. config MUIC_NOTIFIER
  13. tristate "MUIC notifier support"
  14. depends on USE_MUIC
  15. default n
  16. help
  17. If you say yes here you will get support for
  18. the MUIC attached device status change notification.
  19. config MUIC_HV
  20. bool "MUIC_HV"
  21. depends on USE_MUIC
  22. default n
  23. help
  24. If you say yes here you will get support for the AFC.
  25. config MUIC_SUPPORT_PDIC
  26. tristate "MUIC supports CCIC chip interface"
  27. depends on USE_MUIC
  28. default n
  29. help
  30. If you say yes here you will get support for the CCIC chip.
  31. config HICCUP_CHARGER
  32. bool "Using HICCUP charger"
  33. depends on USE_MUIC
  34. default n
  35. help
  36. If you say yes here you will get support for
  37. for the hiccup charger feature.
  38. config USE_SECOND_MUIC
  39. bool "Using second MUIC"
  40. depends on USE_MUIC
  41. default n
  42. help
  43. If you say yes here you will get support for
  44. for the second MUIC chip feature.
  45. config MUIC_UART_SWITCH
  46. bool "UART SWITCH"
  47. depends on USE_MUIC
  48. default n
  49. help
  50. If you say yes here you will get support for the SEC UART SWITCH chip.
  51. It needs additional uart select H/W and applied only to lsi.
  52. config MUIC_SUPPORT_UART_SEL
  53. bool "MUIC supports uart selection"
  54. depends on USE_MUIC
  55. default n
  56. help
  57. If you say yes here you will get support for the uart selection.
  58. It applied only to qc.
  59. config USE_DEDICATED_MUIC
  60. bool "Using dedicated MUIC device driver"
  61. depends on USE_MUIC
  62. default n
  63. help
  64. If you say yes here you will get support for
  65. Dedicated MUIC device driver.
  66. This is only for charge
  67. config MUIC_AFC_RETRY
  68. bool "Using MUIC AFC retry"
  69. depends on USE_MUIC
  70. default n
  71. help
  72. If you say yes here you will get support for MUIC AFC retry feature.
  73. config MUIC_COMMON_SYSFS
  74. bool "Using muic sysfs Features"
  75. depends on MUIC_NOTIFIER
  76. default n
  77. help
  78. If you say yes here you will get support for the muic sysfs.
  79. some ic drivers may have sysfs in own driver.
  80. But we recommend driver to use this common sysfs.
  81. new ic driver must use this feature.
  82. config MUIC_USE_MODULE_PARAM
  83. bool "Using module param"
  84. depends on MUIC_NOTIFIER
  85. default n
  86. help
  87. If this feature is enabled, muic_core will use module_param directly.
  88. Should not use extern variable and __setup for param.
  89. need to add cmdline in bootloader.
  90. (ex: common_muic.xxx)
  91. config HICCUP_CC_DISABLE
  92. bool "Using HICCUP CC disable"
  93. depends on USE_MUIC
  94. default n
  95. help
  96. If you say yes here you will get support for
  97. for the hiccup cc disable feature.
  98. config MUIC_POGO
  99. bool "Using muic pogo"
  100. depends on USE_MUIC
  101. default n
  102. help
  103. If you say yes here you will get support for muic pogo
  104. config MUIC_LO_TA_LOW_CURRENT
  105. bool "Using LO_TA_LOW_CURRENT"
  106. depends on USE_MUIC
  107. default n
  108. help
  109. If you say yes here you will get support for
  110. for the hiccup cc disable feature.
  111. config MUIC_CORE_TEST_FOR_ON_DEVICE
  112. tristate "KUnit test for muic_core_test"
  113. depends on KUNIT
  114. depends on MUIC_NOTIFIER
  115. help
  116. This is feature for muic-core.c
  117. If you run this test driver on device,
  118. SHOULD set this config as 'm' to build test driver modularly.
  119. refer to muic_common.py file.
  120. config MUIC_CORE_TEST_FOR_ONLY_UML
  121. tristate "KUnit test for muic_core_test"
  122. depends on KUNIT
  123. depends on UML
  124. depends on MUIC_NOTIFIER
  125. help
  126. This is feature for muic-core.c
  127. This CONFIG is recommended to set to y.
  128. If you run UML test, this feature must be enabled.
  129. refer to muic_common.py file.