diff options
author | Syed Rafiuddin <srafiuddin@nvidia.com> | 2013-01-24 14:57:46 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-01-28 13:24:33 -0800 |
commit | 208dc89bb5cab92348534825d1502999932aecd3 (patch) | |
tree | c1c4d8501fdb00719ee5d971a7d139309fa69143 /include | |
parent | 3d7d30a1e9b68c1007dc882b501093ded4757a52 (diff) |
power: bq2419x: Do not disable charging
Battery charger should not be disabled,
and set to safe "off" charge mode
Bug 1215704
Change-Id: I40bd56f469e937b6e105de3f7055316573e8f572
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/192025
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/bq2419x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/bq2419x.h b/include/linux/mfd/bq2419x.h index 86acf8850e25..4f1454e97c92 100644 --- a/include/linux/mfd/bq2419x.h +++ b/include/linux/mfd/bq2419x.h @@ -57,6 +57,11 @@ struct regmap; #define BQ2419X_WD_MASK 0x30 #define BQ2419X_WD_DISABLE 0x0 +#define BQ2419x_VBUS_STAT 0xc0 +#define BQ2419x_VBUS_UNKNOWN 0x00 +#define BQ2419x_VBUS_USB 0x40 +#define BQ2419x_VBUS_AC 0x80 + #define BQ2419X_MAX_REGS (BQ2419X_REVISION_REG + 1) /* bq2419x chip information */ |