diff options
author | Anshul Jain <anshulj@nvidia.com> | 2011-12-08 17:44:58 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-21 12:06:22 +0530 |
commit | bad4cd4f610e7ace9fa735919398144faa164bb8 (patch) | |
tree | 557b3e44eeb0d712d4a0dc26da8cad9f2a2dd757 /arch/arm/mach-tegra/board-enterprise.h | |
parent | f3fbc237bba87185aac66ed143288e2ad973ec0a (diff) |
arm: tegra: enterprise: Add initialization for ina230 driver
Sample code for enabling INA230 (/ INA226) current monitor for battery
EDP capping on Enterprise
Change-Id: I2c5b919dca4c9e31aa1432cc45ae0486700e02de
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/61968
Reviewed-on: http://git-master/r/69112
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise.h')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise.h b/arch/arm/mach-tegra/board-enterprise.h index 2e559a0b2520..4829e301c8c8 100644 --- a/arch/arm/mach-tegra/board-enterprise.h +++ b/arch/arm/mach-tegra/board-enterprise.h @@ -143,6 +143,10 @@ void enterprise_bpc_mgmt_init(void); #define TEGRA_BPC_TIMEOUT 100 /* ms */ #define TEGRA_BPC_CPU_PWR_LIMIT 0 /* in mW, (0 disables) */ +#define TEGRA_CUR_MON_THRESHOLD -2000 +#define TEGRA_CUR_MON_RESISTOR 20 +#define TEGRA_CUR_MON_MIN_CORES 2 + /* Baseband IDs */ enum tegra_bb_type { |