summaryrefslogtreecommitdiff
path: root/board/atlas/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atlas/board.c')
-rw-r--r--board/atlas/board.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c
index 76fd2c1b22..f39ca52243 100644
--- a/board/atlas/board.c
+++ b/board/atlas/board.c
@@ -15,6 +15,7 @@
#include "console.h"
#include "driver/als_opt3001.h"
#include "driver/pmic_bd99992gw.h"
+#include "driver/charger/isl923x.h"
#include "driver/tcpm/ps8xxx.h"
#include "driver/tcpm/tcpci.h"
#include "driver/tcpm/tcpm.h"
@@ -151,6 +152,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 */
const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
{