diff options
Diffstat (limited to 'board/rammus')
-rw-r--r-- | board/rammus/board.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board/rammus/board.c b/board/rammus/board.c index 5782ab4943..9e7384e0fd 100644 --- a/board/rammus/board.c +++ b/board/rammus/board.c @@ -20,6 +20,7 @@ #include "cros_board_info.h" #include "driver/accelgyro_bmi160.h" #include "driver/accel_bma2x2.h" +#include "driver/charger/isl923x.h" #include "driver/tcpm/ps8xxx.h" #include "driver/tcpm/tcpci.h" #include "driver/tcpm/tcpm.h" @@ -145,6 +146,17 @@ const struct i2c_port_t i2c_ports[] = { }; const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); +/* Charger Chips */ +const struct charger_config_t chg_chips[] = { + { + .i2c_port = I2C_PORT_CHARGER, + .i2c_addr_flags = ISL923X_ADDR_FLAGS, + .drv = &isl923x_drv, + }, +}; + +const unsigned int chg_cnt = ARRAY_SIZE(chg_chips); + /* TCPC mux configuration */ struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = { [USB_PD_PORT_PS8751] = { |