summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/samsung/trats/trats.c2
-rw-r--r--include/configs/trats.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index 2359a99..6c2f199 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -39,6 +39,7 @@
#include <power/max8997_pmic.h>
#include <libtizen.h>
#include <power/max8997_muic.h>
+#include <power/max17042_fg.h>
#include "setup.h"
@@ -242,6 +243,7 @@ int power_init_board(void)
ret = pmic_init(I2C_5);
ret |= pmic_init_max8997();
+ ret |= power_fg_init(I2C_9);
ret |= power_muic_init(I2C_5);
if (ret)
return ret;
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 74c4a23..0bc1f3a 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -238,6 +238,8 @@
#define CONFIG_PMIC_I2C
#define CONFIG_PMIC_MAX8997
+#define CONFIG_POWER_FG
+#define CONFIG_POWER_FG_MAX17042
#define CONFIG_POWER_MUIC
#define CONFIG_POWER_MUIC_MAX8997
#define CONFIG_USB_GADGET