Lines Matching +full:resistance +full:- +full:temp +full:- +full:table
1 // SPDX-License-Identifier: GPL-2.0
8 * The BTI (battery type indicator) resistance in the code drops was very
9 * unreliable. The resistance listed here was obtained by simply measuring
10 * the BTI resistance with a multimeter on the battery.
14 #include "samsung-sdi-battery.h"
23 * Voltage to internal resistance tables. The internal resistance varies
24 * depending on the VBAT voltage, so look this up from a table. Different
425 * Temperature to internal resistance scaling tables.
427 * "resistance" is the percentage of the resistance determined from the voltage
430 * FIXME: the proper table is missing: Samsung does not provide the necessary
435 { .temp = 50, .resistance = 100 },
436 { .temp = 40, .resistance = 100 },
437 { .temp = 30, .resistance = 100 },
438 { .temp = 20, .resistance = 100 },
439 { .temp = 10, .resistance = 100 },
440 { .temp = 00, .resistance = 100 },
441 { .temp = -10, .resistance = 100 },
442 { .temp = -20, .resistance = 100 },
501 /* Same capacity table is used by eb-l1m7flu, eb425161la, eb425161lu */
634 * Used in Samsung GT-I8190 "Golden"
635 * Data from vendor boardfile board-golden-[bm|battery].c
637 .compatible = "samsung,eb-l1m7flu",
638 .name = "EB-L1M7FLU",
658 .temp_min = -50,
678 * Used in Samsung SGH-T599 "Codina TMO" and SGH-I407 "Kyle"
679 * Data from vendor boardfile board-kyle-[bm|battery].c
702 .temp_min = -30,
722 * Used in Samsung GT-I8160 "Codina"
723 * Data from vendor boardfile board-codina-[bm|battery].c
746 .temp_min = -50,
766 * Used in Samsung GT-S7710 "Skomer"
767 * Data from vendor boardfile board-skomer-[bm|battery].c
789 .temp_min = -50,
799 /* CHECKME: vendor uses the 1500 mAh table, check against datasheet */
810 * Used in Samsung GT-I9070 "Janice"
811 * Data from vendor boardfile board-janice-bm.c
834 .temp_min = -5,
854 * Used in Samsung GT-I8530 "Gavini"
855 * Data from vendor boardfile board-gavini-bm.c
878 .temp_min = -5,
907 if (!strcmp(compatible, batt->compatible)) in samsung_sdi_battery_get_info()
912 return -ENODEV; in samsung_sdi_battery_get_info()
914 *info = &batt->info; in samsung_sdi_battery_get_info()
916 batt->name, batt->info.charge_full_design_uah / 1000); in samsung_sdi_battery_get_info()