summaryrefslogtreecommitdiff
path: root/baseboard/dragonegg/baseboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/dragonegg/baseboard.c')
-rw-r--r--baseboard/dragonegg/baseboard.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/baseboard/dragonegg/baseboard.c b/baseboard/dragonegg/baseboard.c
index 7414421c15..85c39296f6 100644
--- a/baseboard/dragonegg/baseboard.c
+++ b/baseboard/dragonegg/baseboard.c
@@ -9,6 +9,7 @@
#include "chipset.h"
#include "console.h"
#include "driver/bc12/max14637.h"
+#include "driver/charger/bq25710.h"
#include "driver/ppc/nx20p348x.h"
#include "driver/ppc/sn5s330.h"
#include "driver/ppc/syv682x.h"
@@ -79,6 +80,16 @@ 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 = BQ25710_SMBUS_ADDR1_FLAGS,
+ .drv = &bq25710_drv,
+ },
+};
+const unsigned int chg_cnt = ARRAY_SIZE(chg_chips);
+
/******************************************************************************/
/* Chipset callbacks/hooks */