Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. config DIRECT_CHARGING
  2. tristate "support for direct charging"
  3. help
  4. Say Y to include support for direct charging
  5. support for direct charging models.
  6. Direct charging models should enable this charging option.
  7. it include some charging scenario for direct charging models.
  8. menu "Samsung Battery Common drivers"
  9. config BATTERY_SAMSUNG
  10. tristate "samsung battery driver"
  11. help
  12. Say Y to include support for samsung battery driver
  13. This battery driver integrated all battery-related functions
  14. To see battery-related functions,
  15. refer to sec_charging_common.h
  16. config CHARGING_VZWCONCEPT
  17. bool "VZW concept about the charging"
  18. default n
  19. depends on BATTERY_SAMSUNG
  20. help
  21. Say Y here to enable
  22. support for apply the VZW concepts.
  23. VZW models should enable this charging option.
  24. it include some charging scenario for VZW models.
  25. config STEP_CHARGING
  26. bool "support for step charging"
  27. help
  28. Say Y here to enable
  29. support for step charging.
  30. it could be used with direct charging.
  31. it needs step charging tables.
  32. config ENABLE_FULL_BY_SOC
  33. bool "make full by soc 100%"
  34. help
  35. default n
  36. Say Y here to enable
  37. support to make full charged by soc 100%.
  38. If this is N in models,
  39. battery common drivers make full by other conditions.
  40. config SEC_PD
  41. tristate "support for sec pd"
  42. help
  43. Say Y to include support for sec pd control module.
  44. This sec_pd driver integrated all pdo related function.
  45. To see pdo related functions,
  46. refer to sec_pd.h
  47. config UPDATE_BATTERY_DATA
  48. bool "support for updating battery data"
  49. default n
  50. depends on BATTERY_SAMSUNG && OF
  51. help
  52. Say Y here to enable
  53. support for update battery data.
  54. This integrated load and parsing data functions again.
  55. it need to battery data file for update.
  56. config BATTERY_CISD
  57. bool "support for cisd"
  58. help
  59. Say Y here to enable
  60. support for CISD.
  61. cisd means cell internal short detection.
  62. it include some other detection.
  63. config AFC_CHARGER_MODE
  64. bool "afc charging support in sec battery driver"
  65. default n
  66. help
  67. Say Y here to enable
  68. support for sec afc charging support
  69. it includes some AFC charging options and
  70. information about AFC charging.
  71. config SAMSUNG_BATTERY_ENG_TEST
  72. bool "enable ENG mode for battery test"
  73. default n
  74. help
  75. Say Y to include support for battery test
  76. enable this feature only ENG mode
  77. this featuren must disabled user binary
  78. stability test etc..
  79. config SAMSUNG_BATTERY_FACTORY
  80. bool "enable for factory test"
  81. default n
  82. help
  83. Say Y to include support for factory test
  84. enable this feature only factory mode
  85. this featuren must disabled user binary
  86. stability test etc..
  87. config USE_POGO
  88. bool "enable pogo charging"
  89. default n
  90. help
  91. Say Y here to enable
  92. support POGO properties.
  93. some models support POGO,
  94. then it make Y.
  95. config STORE_MODE
  96. bool "enable store mode"
  97. default n
  98. help
  99. Say Y here to enable
  100. support store mode charging concpet.
  101. The LDU or RDU enable this STORE_MODE option,
  102. it include some charging scenario for store.
  103. config BATTERY_AGE_FORECAST
  104. bool "battery age forecast"
  105. default n
  106. help
  107. Say Y here to enable
  108. support AGE FORECAST functions.
  109. it include some charging scenario for aged batteries.
  110. it need age forecast charging tables.
  111. config BATTERY_AGE_FORECAST_DETACHABLE
  112. tristate "battery age forecast for detachable"
  113. default n
  114. select BATTERY_AGE_FORECAST
  115. help
  116. Say Y here to enable
  117. support AGE FORECAST functions for detachable model.
  118. it include some charging scenario for aged batteries.
  119. it need age forecast charging tables.
  120. config BATTERY_AGE_FORECAST_B2B
  121. tristate "battery age forecast for B2B"
  122. default n
  123. depends on BATTERY_AGE_FORECAST
  124. help
  125. Say Y here to enable
  126. support AGE FORECAST functions for B2B.
  127. it include some charging scenario for aged batteries.
  128. it need age forecast charging tables.
  129. config BATTERY_LOGGING
  130. bool "battery logging"
  131. default n
  132. depends on BATTERY_SAMSUNG
  133. help
  134. Say Y to enable
  135. support for the battery logging feature which
  136. allows of logging battery related information
  137. during power on and power-off charging. As well
  138. as battery dump mechanism for periodically logging
  139. in an external file.
  140. config ENG_BATTERY_CONCEPT
  141. bool "enable temp block"
  142. default n
  143. help
  144. Say Y here to enable
  145. support CONFIG_ENG_BATTERY_CONCEPT.
  146. It is for only in ENG bianry
  147. USER binary should disalbe this.
  148. config LIMIT_CHARGING_DURING_CALL
  149. bool "limit charging during call"
  150. default n
  151. help
  152. Say Y here to enable
  153. support limit charging during call.
  154. some models support this for limiting charging current,
  155. then it make Y.
  156. config TABLET_MODEL_CONCEPT
  157. bool "tablet model concept"
  158. default n
  159. help
  160. Say Y here to enable
  161. do not enable for cellphone models.
  162. tablet models support this for charging,
  163. then it make Y.
  164. config PD_CHARGER_HV_DISABLE
  165. bool "enable supporing disable high voltage pd charger"
  166. depends on BATTERY_SAMSUNG && I2C
  167. help
  168. Say Y here to enable
  169. supporting disable high voltage pd charger.
  170. some models need this for support options that
  171. not support high voltage.
  172. config BATTERY_GKI
  173. bool "temporary support for GKI build"
  174. help
  175. Say Y here to enable
  176. support for module build normally.
  177. this is temporary added for prevent build break in module build.
  178. it will be deleted soon.
  179. config SUPPORT_SHIP_MODE
  180. bool "support ship mode"
  181. default n
  182. help
  183. Say Y here to enable
  184. support to ship mode.
  185. If this is N in models,
  186. not support to ship mode.
  187. config SUPPORT_HV_CTRL
  188. bool "support for controlling voltage"
  189. default n
  190. help
  191. Say Y here to enable
  192. support for controlling voltage
  193. If this is N in models,
  194. not support to control voltage.
  195. config NO_BATTERY
  196. bool "support for no battery"
  197. default n
  198. help
  199. Say Y here to enable
  200. support for no battery models to turn off charging
  201. If this is N in models,
  202. not support to no battery.
  203. config SEC_BATTERY_TEST
  204. bool "KUnit test for sec_battery_test"
  205. depends on SEC_KUNIT
  206. help
  207. Say Y here to enable
  208. support to kunit test.
  209. for kunitest
  210. for sec_battery_test
  211. config SEC_BATTERY_WC_TEST
  212. bool "KUnit test for sec_battery_wc_test"
  213. depends on SEC_KUNIT
  214. help
  215. Say Y here to enable
  216. support to kunit test.
  217. for kunitest
  218. for sec_battery_wc_test
  219. config SEC_BATTERY_THERMAL_TEST
  220. bool "KUnit test for sec_battery_thermal_test"
  221. depends on SEC_KUNIT
  222. help
  223. Say Y here to enable
  224. support to kunit test.
  225. for kunitest
  226. for sec_battery_thermal_test
  227. config SEC_BATTERY_VOTE_TEST
  228. bool "KUnit test for sec_battery_vote_test"
  229. depends on SEC_KUNIT
  230. help
  231. Say Y here to enable
  232. support to kunit test.
  233. for kunitest
  234. for sec_battery_vote_test
  235. config SEC_CISD_TEST
  236. bool "KUnit test for sec_cisd_test"
  237. depends on SEC_KUNIT
  238. help
  239. Say Y here to enable
  240. support to kunit test.
  241. for kunitest
  242. for sec_cisd_test
  243. config SEC_ADC_TEST
  244. bool "KUnit test for sec_adc_test"
  245. depends on SEC_KUNIT
  246. help
  247. Say Y here to enable
  248. support to kunit test.
  249. for kunitest
  250. for sec_adc_test
  251. config SEC_BATTERY_SYSFS_TEST
  252. bool "KUnit test for sec_battery_sysfs_test"
  253. depends on SEC_KUNIT
  254. help
  255. Say Y here to enable
  256. support to kunit test.
  257. for kunitest
  258. for sec_battery_sysfs_test
  259. config SEC_BATTERY_TTF_TEST
  260. bool "KUnit test for sec_battery_ttf_test"
  261. depends on SEC_KUNIT
  262. help
  263. Say Y here to enable
  264. support to kunit test.
  265. for kunitest
  266. for sec_battery_ttf_test
  267. config SEC_STEP_CHARGING_TEST
  268. tristate "KUnit test for sec_step_charging_test"
  269. depends on SEC_KUNIT
  270. help
  271. Say Y here to enable
  272. support to kunit test.
  273. for kunitest
  274. for sec_step_charging_test
  275. config SEC_PD_TEST
  276. bool "KUnit test for sec_pd_test"
  277. depends on SEC_KUNIT
  278. help
  279. Say Y here to enable
  280. support to kunit test.
  281. for kunitest
  282. for sec_pd_test
  283. config SEC_BATTERY_DT_TEST
  284. bool "KUnit test for sec_battery_dt_test"
  285. depends on SEC_KUNIT
  286. help
  287. Say Y here to enable
  288. support to kunit test.
  289. for kunitest
  290. for sec_pd_test
  291. config SEC_BATTERY_MISC_TEST
  292. bool "KUnit test for sec_battery_misc_test"
  293. depends on SEC_KUNIT
  294. help
  295. Say Y here to enable
  296. support to kunit test.
  297. for kunitest
  298. for sec_pd_test
  299. config USB_FACTORY_MODE
  300. bool "enable USB factory mode"
  301. default n
  302. help
  303. Say Y to enable CONFIG_USB_FACTORY_MODE
  304. This feature is used for models that support
  305. factory mode using USB cable instead of Anyway JIG.
  306. Code for this is added in charger and battery driver.
  307. config BATTERY_SAMSUNG_REBOOT
  308. bool "support for check sec_reboot"
  309. default n
  310. help
  311. Say Y here,
  312. to support for check sec_reboot.
  313. This options for only ARCH_EXYNOS.
  314. If this is Y, checking reboot when power off.
  315. config SBP_FG
  316. bool "SBP FUELGAUGE"
  317. default n
  318. help
  319. Say Y here to enable
  320. Support for SBP FUELGAUGE.
  321. endmenu