diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-06-24 10:29:15 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-24 23:13:23 +0000 |
commit | 564256d2eeb40e63e400ddea0a27489ca4947da1 (patch) | |
tree | a394b336e724084f1d6bfb1f1b0a7f54950dcbae /include | |
parent | 68198a2446bd07d670cdd7a0323ded8c4f5d2391 (diff) | |
download | chrome-ec-564256d2eeb40e63e400ddea0a27489ca4947da1.tar.gz |
bq2589x: ryu: enable IR compensation
Set the resistance compensation for the charger IC according to the EE
team measurements :
- Resistance compensation = 60 mOhm
- Voltage clamping = 160 mV
- Thermal regulation = 120C
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=smaug
BUG=chrome-os-partner:38603
TEST=dump the BQ25892 registers by using the "bq25" command and see that
REG08 contains 0x77.
Change-Id: I90e9ea4569d77fd90ed0290ec78e66810d744648
Reviewed-on: https://chromium-review.googlesource.com/281660
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 7050b94ee7..46aed17057 100644 --- a/include/config.h +++ b/include/config.h @@ -253,6 +253,12 @@ #undef CONFIG_CHARGER_TPS65090 /* Note: does not use CONFIG_CHARGER */ /* + * BQ2589x IR Compensation settings. + * Should be the combination of BQ2589X_IR_TREG_xxxC, BQ2589X_IR_VCLAMP_yyyMV + * and BQ2589X_IR_BAT_COMP_zzzMOHM. + */ +#undef CONFIG_CHARGER_BQ2589X_IR_COMP +/* * BQ2589x 5V boost current limit and voltage. * Should be the combination of BQ2589X_BOOSTV_MV(voltage) and * BQ2589X_BOOST_LIM_xxxMA. |