diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-05-31 10:16:36 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-06 23:35:36 -0500 |
commit | 93ff722e88530b9719cbf53be4f3197722461394 (patch) | |
tree | 7803b080fdf52c91b50aa2719ee82f55a6165bc1 /drivers/power/ab8500_bmdata.c | |
parent | 330b7ebfa59d70ea5b814a04a28b8c7d8e462a81 (diff) |
ab8500-fg: Add power cut feature for ab8505 and ab8540
Add support for a power cut feature which allows user to
configure when ab8505 and ab8540 based platforms should shut
down system due to low battery.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/power/ab8500_bmdata.c')
-rw-r--r-- | drivers/power/ab8500_bmdata.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/power/ab8500_bmdata.c b/drivers/power/ab8500_bmdata.c index 7a96c0650fbb..e8759763fbe0 100644 --- a/drivers/power/ab8500_bmdata.c +++ b/drivers/power/ab8500_bmdata.c | |||
@@ -407,6 +407,11 @@ static const struct abx500_fg_parameters fg = { | |||
407 | .battok_raising_th_sel1 = 2860, | 407 | .battok_raising_th_sel1 = 2860, |
408 | .maint_thres = 95, | 408 | .maint_thres = 95, |
409 | .user_cap_limit = 15, | 409 | .user_cap_limit = 15, |
410 | .pcut_enable = 1, | ||
411 | .pcut_max_time = 127, | ||
412 | .pcut_flag_time = 112, | ||
413 | .pcut_max_restart = 15, | ||
414 | .pcut_debounce_time = 2, | ||
410 | }; | 415 | }; |
411 | 416 | ||
412 | static const struct abx500_maxim_parameters maxi_params = { | 417 | static const struct abx500_maxim_parameters maxi_params = { |