diff options
author | Pradeep Goudagunta <pgoudagunta@nvidia.com> | 2013-03-25 16:48:14 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-03-26 20:30:06 -0700 |
commit | d7f97e179a890e32c993c3dbc552d0dbb3e5785e (patch) | |
tree | 3f0d317ff171ebb9577cb92f72c7e42255858658 /include | |
parent | cc22b4724cac21b9bf24f66560c1b4df7e7c9712 (diff) |
power: bq2419x: Update input voltage
Update input voltage limit to 4.52V when Nv charger or
2000mA charger connected.
Bug 1253104
Change-Id: Ida19738a36685fbc5c768a6e9da5c483724f284b
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/212834
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 2d13dfbb1ff5..8ce5572d267d 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -79,6 +79,10 @@ #define BQ2419x_FAULT_NTC_FAULT 0x07 #define BQ2419x_CONFIG_MASK 0x7 +#define BQ2419x_INPUT_VOLTAGE_MASK 0x78 +#define BQ2419x_NVCHARGER_INPUT_VOL_SEL 0x40 +#define BQ2419x_DEFAULT_INPUT_VOL_SEL 0x30 + #define BQ2419X_MAX_REGS (BQ2419X_REVISION_REG + 1) /* |