diff options
Diffstat (limited to 'baseboard/volteer/baseboard.c')
-rw-r--r-- | baseboard/volteer/baseboard.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.c b/baseboard/volteer/baseboard.c index 5206ba9cc3..5205406660 100644 --- a/baseboard/volteer/baseboard.c +++ b/baseboard/volteer/baseboard.c @@ -10,6 +10,7 @@ #include "charge_state.h" #include "cros_board_info.h" #include "driver/bc12/pi3usb9201.h" +#include "driver/charger/isl9241.h" #include "driver/ppc/sn5s330.h" #include "driver/ppc/syv682x.h" #include "driver/tcpm/ps8xxx.h" @@ -164,6 +165,19 @@ const struct i2c_port_t i2c_ports[] = { const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); /******************************************************************************/ +/* Charger Chip Configuration */ +const struct charger_config_t chg_chips[] = { + { + .i2c_port = I2C_PORT_CHARGER, + .i2c_addr_flags = ISL9241_ADDR_FLAGS, + .drv = &isl9241_drv, + }, +}; + +const unsigned int chg_cnt = ARRAY_SIZE(chg_chips); + + +/******************************************************************************/ /* PWM configuration */ const struct pwm_t pwm_channels[] = { [PWM_CH_LED1_BLUE] = { |