Kconfig 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. config BATTERY_SAMSUNG
  2. tristate "samsung battery driver"
  3. help
  4. Say Y to include support for samsung battery driver
  5. This battery driver integrated all battery-related functions
  6. To see battery-related functions,
  7. refer to sec_charging_common.h
  8. config BATTERY_SAMSUNG_DATA_FILE
  9. depends on BATTERY_SAMSUNG
  10. string "samsung battery data file"
  11. default ""
  12. help
  13. Path to the battery data file.
  14. config BATTERY_SAMSUNG_DATA
  15. bool
  16. default BATTERY_SAMSUNG_DATA_FILE != ""
  17. config CHARGING_VZWCONCEPT
  18. tristate "VZW concept about the charging"
  19. default n
  20. depends on BATTERY_SAMSUNG
  21. help
  22. Say Y to include support for the VZW concepts.
  23. config BATTERY_SWELLING
  24. bool "prevent battery swelling"
  25. help
  26. Say Y to include support for prevent battery swelling
  27. # Fuel Gauge
  28. config FUELGAUGE_DUMMY
  29. tristate "dummy fuel gauge driver"
  30. default n
  31. depends on BATTERY_SAMSUNG
  32. help
  33. Say Y to include support
  34. for dummy fuel gauge driver.
  35. This driver source code implemented
  36. skeleton source code for fuel gauge functions.
  37. config FUELGAUGE_MAX17042
  38. tristate "MAX17042 fuel gauge driver"
  39. default n
  40. depends on BATTERY_SAMSUNG
  41. help
  42. Say Y to include support
  43. for MAXIM MAX17042 fuel gauge driver.
  44. This fuel-gauge can be used in voltage-tracking mode
  45. or coulomb-counting mode.
  46. config FUELGAUGE_MAX17042_VOLTAGE_TRACKING
  47. tristate "use MAX17042 fuel gauge only as voltage tracking"
  48. default n
  49. depends on FUELGAUGE_MAX17042
  50. help
  51. Say Y to use MAX17042 fuel gauge
  52. only as voltage tracking.
  53. This mode is for target that consumes low current
  54. like smart-phone.
  55. config FUELGAUGE_MAX17042_COULOMB_COUNTING
  56. tristate "use MAX17042 fuel gauge as coulomb counting (including voltage tracking)"
  57. default n
  58. depends on FUELGAUGE_MAX17042
  59. help
  60. Say Y to use MAX17042 fuel gauge
  61. as coulomb counting (including voltage tracking).
  62. This mode is for target that consumes high current
  63. like tablet.
  64. config FUELGAUGE_MAX17048
  65. tristate "MAX17048 fuel gauge driver"
  66. default n
  67. depends on BATTERY_SAMSUNG
  68. help
  69. Say Y to include support
  70. for MAXIM MAX17048 fuel gauge driver.
  71. This fuel-gauge can be used
  72. only in voltage-tracking mode.
  73. config FUELGAUGE_MAX17050
  74. tristate "MAX17050 fuel gauge driver"
  75. default n
  76. depends on BATTERY_SAMSUNG
  77. help
  78. Say Y to include support
  79. for MAXIM MAX17047 or MAX17050 fuel gauge driver.
  80. This fuel-gauge can be used in voltage-tracking mode
  81. or coulomb-counting mode.
  82. config FUELGAUGE_MAX17050_VOLTAGE_TRACKING
  83. tristate "use MAX17050 fuel gauge only as voltage tracking"
  84. default n
  85. depends on FUELGAUGE_MAX17050
  86. help
  87. Say Y to use MAX17050 fuel gauge
  88. only as voltage tracking.
  89. This mode is for target that consumes low current
  90. like smart-phone.
  91. config FUELGAUGE_MAX17050_COULOMB_COUNTING
  92. tristate "use MAX17050 fuel gauge as coulomb counting (including voltage tracking)"
  93. default n
  94. depends on FUELGAUGE_MAX17050
  95. help
  96. Say Y to use MAX17050 fuel gauge
  97. as coulomb counting (including voltage tracking).
  98. This mode is for target that consumes high current
  99. like tablet.
  100. config FUELGAUGE_MAX77823
  101. tristate "MAX77823 fuel gauge driver"
  102. default n
  103. depends on BATTERY_SAMSUNG
  104. help
  105. Say Y to include support
  106. for MAXIM MAX17047 or MAX17050 fuel gauge driver.
  107. This fuel-gauge can be used in voltage-tracking mode
  108. or coulomb-counting mode.
  109. config FUELGAUGE_MAX77823_VOLTAGE_TRACKING
  110. tristate "use MAX77823 fuel gauge only as voltage tracking"
  111. default n
  112. depends on FUELGAUGE_MAX77823
  113. help
  114. Say Y to use MAX17050 fuel gauge
  115. only as voltage tracking.
  116. This mode is for target that consumes low current
  117. like smart-phone.
  118. config FUELGAUGE_MAX77823_COULOMB_COUNTING
  119. tristate "use MAX77823 fuel gauge as coulomb counting (including voltage tracking)"
  120. default n
  121. depends on FUELGAUGE_MAX77823
  122. help
  123. Say Y to use MAX77823 fuel gauge
  124. as coulomb counting (including voltage tracking).
  125. This mode is for target that consumes high current
  126. like tablet.
  127. # Charger
  128. config CHARGER_DUMMY
  129. tristate "dummy charger driver"
  130. default n
  131. depends on BATTERY_SAMSUNG
  132. help
  133. Say Y to include support
  134. for dummy charger driver.
  135. This driver source code implemented
  136. skeleton source code for charger functions.
  137. config CHARGER_MAX8903
  138. tristate "MAX8903 charger driver"
  139. default n
  140. depends on BATTERY_SAMSUNG
  141. help
  142. Say Y to include support
  143. for MAXIM MAX8903 charger driver.
  144. This driver source code implemented
  145. all functions for MAX8903 charger.
  146. config CHARGER_SMB328
  147. tristate "SMB328 charger driver"
  148. default n
  149. depends on BATTERY_SAMSUNG
  150. help
  151. Say Y to include support
  152. for Summit SMB328 charger driver.
  153. This driver source code implemented
  154. all functions for SMB328 charger.
  155. config CHARGER_SMB347
  156. tristate "SMB347 charger driver"
  157. default n
  158. depends on BATTERY_SAMSUNG
  159. help
  160. Say Y to include support
  161. for Summit SMB347 charger driver.
  162. This driver source code implemented
  163. all functions for SMB347 charger.
  164. config CHARGER_SMB358
  165. tristate "SMB358 charger driver"
  166. default n
  167. depends on BATTERY_SAMSUNG
  168. help
  169. Say Y to include support
  170. for Summit SMB358 charger driver.
  171. This driver source code implemented
  172. all functions for SMB358 charger.
  173. config CHARGER_SMB1357
  174. tristate "SMB1357 charger driver"
  175. default n
  176. depends on BATTERY_SAMSUNG
  177. help
  178. Say Y to include support
  179. for Summit SMB1357 charger driver.
  180. This driver source code implemented
  181. all functions for SMB1357 charger.
  182. config CHARGER_BQ24157
  183. tristate "BQ24157 charger driver"
  184. default n
  185. depends on BATTERY_SAMSUNG
  186. help
  187. Say Y to include support
  188. for TI BQ24157 charger driver.
  189. This driver source code implemented
  190. all functions for BQ24157 charger.
  191. config CHARGER_BQ24190
  192. tristate "BQ24190 charger driver"
  193. default n
  194. depends on BATTERY_SAMSUNG
  195. help
  196. Say Y to include support
  197. for TI BQ24190 charger driver.
  198. This driver source code implemented
  199. all functions for BQ24190 charger.
  200. config CHARGER_BQ24191
  201. tristate "BQ24191 charger driver"
  202. default n
  203. depends on BATTERY_SAMSUNG
  204. help
  205. Say Y to include support
  206. for TI BQ24191 charger driver.
  207. This driver source code implemented
  208. all functions for BQ24191 charger.
  209. config CHARGER_BQ24260
  210. tristate "BQ24260 charger driver"
  211. default n
  212. depends on BATTERY_SAMSUNG
  213. help
  214. Say Y to include support
  215. for TI BQ24260 charger driver.
  216. This driver source code implemented
  217. all functions for BQ24260 charger.
  218. config CHARGER_MAX77693
  219. tristate "MAX77693 battery charger support"
  220. depends on MFD_MAX77693 && I2C
  221. help
  222. Say Y here to enable support for the MAX77693 charger
  223. MAX77693 incluse muic, pmic, haptic, led,
  224. flash driver.
  225. You have to define MFD_MAX77693
  226. config CHARGER_MAX77823
  227. tristate "MAX77823 battery charger support"
  228. depends on BATTERY_SAMSUNG
  229. help
  230. Say Y here to enable support for the MAX77823 charger
  231. config CHARGER_MAX77803
  232. tristate "MAX77803 battery charger support"
  233. depends on MFD_MAX77803 && I2C
  234. help
  235. Say Y here to enable support for the MAX77803 charger
  236. MAX77803 incluse muic, pmic, haptic, led,
  237. flash driver.
  238. You have to define MFD_MAX77803
  239. config CHARGER_MAX77804K
  240. tristate "MAX77804K battery charger support"
  241. depends on MFD_MAX77804K && I2C
  242. help
  243. Say Y here to enable support for the MAX77804K charger
  244. MAX77804K incluse muic, pmic, haptic, led,
  245. flash driver.
  246. You have to define MFD_MAX77804K
  247. config CHARGER_MAX77888
  248. tristate "MAX77888 battery charger support"
  249. depends on MFD_MAX77888 && I2C
  250. help
  251. Say Y here to enable support for the MAX77888 charger
  252. MAX77888 incluse muic, pmic, haptic, led,
  253. flash driver.
  254. You have to define MFD_MAX77888
  255. config CHARGER_SM5414
  256. tristate "SM5414 charger driver"
  257. default n
  258. help
  259. Say Y to include support
  260. for SM5414 charger driver.
  261. This driver source code implemented
  262. all functions for SMB5414 charger.
  263. config AFC_CHARGER_MODE
  264. bool "afc charging support in sec battery driver"
  265. default n
  266. depends on CHARGER_MAX77843
  267. help
  268. Say Y to include support for sec afc charging support
  269. config SAMSUNG_LPM_MODE
  270. bool "Off charging mode support in sec battery driver"
  271. default n
  272. help
  273. Say Y to include support for sec off charging support
  274. This value defined at bootloader.
  275. Before enable this feature,
  276. implemet power off charging in the bootloader.
  277. config SAMSUNG_BATTERY_ENG_TEST
  278. bool "enable ENG mode for battery test"
  279. default n
  280. help
  281. Say Y to include support for battery test
  282. enable this feature only ENG mode
  283. this featuren must disabled user binary
  284. stability test etc..
  285. config SAMSUNG_BATTERY_FACTORY
  286. bool "enable for factory test"
  287. default n
  288. help
  289. Say Y to include support for factory test
  290. enable this feature only factory mode
  291. this featuren must disabled user binary
  292. stability test etc..
  293. config SAMSUNG_BATTERY_DISALLOW_DEEP_SLEEP
  294. bool "Disallow deep sleep during charging"
  295. default n
  296. depends on BATTERY_SAMSUNG && ARCH_MSM8974
  297. help
  298. Say Y to include support
  299. Disallow deep sleep during charging for stablity.
  300. config DISABLE_SAVE_CAPACITY_MAX
  301. bool "Disable to save capacity max in efs"
  302. default n
  303. depends on BATTERY_SAMSUNG
  304. help
  305. Say Y to include support to disable it
  306. capacity_max is saved in /efs/Battery/batt_capacity_max
  307. capacity_max is restored after boot up
  308. You can find the code in healthd
  309. config EN_OOPS
  310. bool "enable oops filter"
  311. default n
  312. help
  313. Say Y to enable oops filter
  314. # OTG
  315. config CONTROL_OTG_POPUP
  316. bool "OTG Popup control for waterproof models"
  317. default n
  318. help
  319. Say Y here to enable support for OTG Popup control