diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-02-24 02:05:00 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-04 02:15:47 +0000 |
commit | 60f9fb600f19c157ca118063dcfc067fa6cff529 (patch) | |
tree | 23968435d4cdc5fa312f900a68b5b4de87e0b61c /include/config.h | |
parent | e295fbdecc415581c7463e6b2bb9c27faf5765b5 (diff) | |
download | chrome-ec-60f9fb600f19c157ca118063dcfc067fa6cff529.tar.gz |
charger: Add support for the TI BQ25720
This adds support for the BQ25720 charger using the BQ25710 driver. The
only significant difference between the two chips is that the VBUS
voltage register encoding has changed. The scale changed from 64mV to
96mV and there is no DC offset.
BRANCH=none
BUG=b:180980490
TEST=buildall passes
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: I9ab6e066a4dec93a0ede0c22ff21b240a5021cbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2717805
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/config.h')
-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 c79865e1f5..e695e965d8 100644 --- a/include/config.h +++ b/include/config.h @@ -863,6 +863,7 @@ #undef CONFIG_CHARGER_BQ24770 #undef CONFIG_CHARGER_BQ24773 #undef CONFIG_CHARGER_BQ25710 +#undef CONFIG_CHARGER_BQ25720 #undef CONFIG_CHARGER_ISL9237 #undef CONFIG_CHARGER_ISL9238 /* For ISL9238 A/B */ #undef CONFIG_CHARGER_ISL9238C @@ -5453,6 +5454,11 @@ #endif /*****************************************************************************/ +/* The BQ25720 is supported by the BQ25710 driver */ +#if defined(CONFIG_CHARGER_BQ25720) +#define CONFIG_CHARGER_BQ25710 +#endif + /* * Define CONFIG_USB_PD_VBUS_MEASURE_CHARGER if the charger on the board * supports VBUS measurement. |