ARM: Tegra: TT-power: set current threshold
authorHyongbin Kim <hyongbink@nvidia.com>
Mon, 12 Aug 2013 05:35:46 +0000 (14:35 +0900)
committerGabby Lee <galee@nvidia.com>
Mon, 14 Oct 2013 00:17:44 +0000 (17:17 -0700)
commit3161768793ac4a12f1a151da8a035b3289ca5208
tree5827ad56ed384d47caf6e9220ec3f04e9016925b
parent503b896dd5f5d23fa950cfce1854dcd24c470c40
ARM: Tegra: TT-power: set current threshold

Set ina230 current threshold in low SOC.
1.8A under 4% SOC and 2.5A under 8% SOC.
This change has trade off against performence drop at low SOC.

Bug 1316595
Bug 1304204

Change-Id: I6e397277729f2570e29ee3f36170e9c6dfe08467
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/260356
(cherry picked from commit 73fe77b1752b75f5cfdfd5d3d332856791f81ec1)
Reviewed-on: http://git-master/r/289149
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
arch/arm/boot/dts/tegra114-tegratab-common.dtsi
arch/arm/mach-tegra/board-tegratab-power.c
arch/arm/mach-tegra/board-tegratab-powermon.c
arch/arm/mach-tegra/board-tegratab.h