diff options
author | Darbha Sriharsha <dsriharsha@nvidia.com> | 2013-10-04 17:36:17 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2013-10-21 02:38:36 -0700 |
commit | 40cc91e39b3f5d34f902c7dd988f1156b8a8878e (patch) | |
tree | e81c6e0bdc649c28d55d7ae7f21654d4facbd9d7 /include/linux/power | |
parent | f6478455344d37539bb4426d494cd1b27c38b3ba (diff) |
power: bq2419x: Provided low batt voltage notification
Print the low battery voltage notification in the interrupt
service bq2419x interrupt service routine.
Bug 1354813
Change-Id: I1cff88161f3ccfbf79615baf52c4c94bf914e5fe
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/300423
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include/linux/power')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 7a8f526b40ba..27c681bedc15 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -65,6 +65,8 @@ #define BQ2419x_VBUS_AC 0x80 #define BQ2419x_CHRG_STATE_MASK 0x30 +#define BQ2419x_VSYS_STAT_MASK 0x01 +#define BQ2419x_VSYS_STAT_BATT_LOW 0x01 #define BQ2419x_CHRG_STATE_NOTCHARGING 0x00 #define BQ2419x_CHRG_STATE_PRE_CHARGE 0x10 #define BQ2419x_CHRG_STATE_POST_CHARGE 0x20 |