diff options
author | Hyongbin Kim <hyongbink@nvidia.com> | 2013-08-06 18:53:15 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-08-07 23:31:00 -0700 |
commit | fbcc4164a7a2a75f4f55a5995856f2addac5fd30 (patch) | |
tree | 7400f5239649cd3bf0433d1634fd1a9106e84507 /arch | |
parent | 6de902ba052fc1363a4c1701f96c2d6b0b57d55e (diff) |
ARM: Tegra: tegratab: apply TempCoCold, TempCoHot
For temperature compensation, apply TempCo values.
Set TempCoHot to -1.125
Set TempCoCold to -7.625
Bug 1304204
Bug 1317331
Change-Id: If48d934b02d85c0aeb58364ae82e214e7faaf91c
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/258674
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/tegra114-tegratab-common.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-tegratab-power.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra114-tegratab-common.dtsi b/arch/arm/boot/dts/tegra114-tegratab-common.dtsi index e4bef7f320d6..f45104f9a2b0 100644 --- a/arch/arm/boot/dts/tegra114-tegratab-common.dtsi +++ b/arch/arm/boot/dts/tegra114-tegratab-common.dtsi @@ -843,6 +843,8 @@ soccheck-a = <233>; soccheck-b = <235>; ocvtest = <55824>; + minus_t_co_hot = <1125>; /* -1.125 */ + minus_t_co_cold = <7625>; /* -7.625 */ data-tbl = <0xAA 0x30 0xB7 0x80 0xB8 0xD0 0xBA 0xC0 0xBB 0xC0 0xBC 0x30 0xBC 0xB0 0xBD 0x60 0xBE 0x10 0xBF 0x40 0xC0 0x30 0xC3 0x80 diff --git a/arch/arm/mach-tegra/board-tegratab-power.c b/arch/arm/mach-tegra/board-tegratab-power.c index 8b032ea007e4..8a1532a54516 100644 --- a/arch/arm/mach-tegra/board-tegratab-power.c +++ b/arch/arm/mach-tegra/board-tegratab-power.c @@ -107,6 +107,8 @@ struct max17048_battery_model tegratab_max17048_mdata = { .vreset = 0x3c96, .valert = 0xA2FF, /*VALRT.MIN 3.24V, VALRT.MAX 5.1V*/ .ocvtest = 55824, + .t_co_hot = -1125, /* -1.125 */ + .t_co_cold = -7625, /* -7.625 */ .data_tbl = { 0xAA, 0x30, 0xB7, 0x80, 0xB8, 0xD0, 0xBA, 0xC0, 0xBB, 0xC0, 0xBC, 0x30, 0xBC, 0xB0, 0xBD, 0x60, |