From ab1562712b20431ecb6012aace97907c03c438fc Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Sat, 10 Apr 2021 00:58:47 -0700 Subject: bq25710: Fix ADCVSYSVBAT register number This corrects the ADCVSYSVBAT register number definition. This register is only referenced when dumping chip registers, so this change has no operational impact. BRANCH=none BUG=b:185190976 TEST=buildall passes Change-Id: I6a17fecd0791f941e8670e0f284d51ba241069db Signed-off-by: Caveh Jalali Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2819586 Reviewed-by: Boris Mittelberg --- driver/charger/bq25710.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver') diff --git a/driver/charger/bq25710.h b/driver/charger/bq25710.h index b1c5085b56..59535f75a2 100644 --- a/driver/charger/bq25710.h +++ b/driver/charger/bq25710.h @@ -32,7 +32,7 @@ #define BQ25710_REG_ADC_VBUS_PSYS 0x23 #define BQ25710_REG_ADC_IBAT 0x24 #define BQ25710_REG_ADC_CMPIN_IIN 0x25 -#define BQ25710_REG_ADC_VSYS_VBAT 0x2C +#define BQ25710_REG_ADC_VSYS_VBAT 0x26 #define BQ25710_REG_PROCHOT_OPTION_1 0x34 #define BQ25710_REG_OTG_VOLTAGE 0x3B #define BQ25710_REG_OTG_CURRENT 0x3C -- cgit v1.2.1