diff options
author | Pradeep Goudagunta <pgoudagunta@nvidia.com> | 2013-04-02 21:10:17 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-04-05 14:56:51 -0700 |
commit | d04051ca119842ec8a3e4bee04a1a90f40c135c9 (patch) | |
tree | 68d7631d6793446eb52a606b27a86671c60d733f /include | |
parent | 659c6767974312ec51c433ce158337ac0966311b (diff) |
power: bq2419x: Update charging status
-Check and update charging status when we encounter charging faults.
-Restart charging after certain timeout in case of charging
termination INT.
Bug 1261623
Change-Id: Ia43b598c79b85aa20f70a49312c370b384302333
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/215971
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 8ce5572d267d..f56c7331cf18 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -52,6 +52,7 @@ #define BQ2419X_WD 0x5 #define BQ2419X_WD_MASK 0x30 +#define BQ2419X_EN_SFT_TIMER_MASK BIT(3) #define BQ2419X_WD_DISABLE 0x00 #define BQ2419X_WD_40ms 0x10 #define BQ2419X_WD_80ms 0x20 |