fg_battery_cell_params.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics
  3. * Lukasz Majewski <l.majewski@samsung.com>
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. */
  23. #ifndef __FG_BATTERY_CELL_PARAMS_H_
  24. #define __FG_BATTERY_CELL_PARAMS_H_
  25. #if defined(CONFIG_POWER_FG_MAX17042) && defined(CONFIG_TRATS)
  26. /* Cell characteristics - Exynos4 TRATS development board */
  27. /* Shall be written to addr 0x80h */
  28. u16 cell_character0[16] = {
  29. 0xA2A0,
  30. 0xB6E0,
  31. 0xB850,
  32. 0xBAD0,
  33. 0xBB20,
  34. 0xBB70,
  35. 0xBBC0,
  36. 0xBC20,
  37. 0xBC80,
  38. 0xBCE0,
  39. 0xBD80,
  40. 0xBE20,
  41. 0xC090,
  42. 0xC420,
  43. 0xC910,
  44. 0xD070
  45. };
  46. /* Shall be written to addr 0x90h */
  47. u16 cell_character1[16] = {
  48. 0x0090,
  49. 0x1A50,
  50. 0x02F0,
  51. 0x2060,
  52. 0x2060,
  53. 0x2E60,
  54. 0x26A0,
  55. 0x2DB0,
  56. 0x2DB0,
  57. 0x1870,
  58. 0x2A20,
  59. 0x16F0,
  60. 0x08F0,
  61. 0x0D40,
  62. 0x08C0,
  63. 0x08C0
  64. };
  65. /* Shall be written to addr 0xA0h */
  66. u16 cell_character2[16] = {
  67. 0x0100,
  68. 0x0100,
  69. 0x0100,
  70. 0x0100,
  71. 0x0100,
  72. 0x0100,
  73. 0x0100,
  74. 0x0100,
  75. 0x0100,
  76. 0x0100,
  77. 0x0100,
  78. 0x0100,
  79. 0x0100,
  80. 0x0100,
  81. 0x0100,
  82. 0x0100
  83. };
  84. #endif
  85. #endif /* __FG_BATTERY_CELL_PARAMS_H_ */