diff options
Diffstat (limited to 'board/cheza/board.c')
-rw-r--r-- | board/cheza/board.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/cheza/board.c b/board/cheza/board.c index 1742b9d4a2..232f6cfc3d 100644 --- a/board/cheza/board.c +++ b/board/cheza/board.c @@ -14,6 +14,7 @@ #include "extpower.h" #include "driver/accelgyro_bmi160.h" #include "driver/als_opt3001.h" +#include "driver/charger/isl923x.h" #include "driver/ppc/sn5s330.h" #include "driver/tcpm/anx74xx.h" #include "driver/tcpm/ps8xxx.h" @@ -276,6 +277,16 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = { }, }; +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); + /* * Port-0 USB mux driver. * |