diff options
author | Ćukasz Majewski <l.majewski@samsung.com> | 2012-11-13 03:22:07 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-11-14 11:21:11 +0100 |
commit | 5a77358c4b870a58ed68f5fcff32534c47f38b19 (patch) | |
tree | a3d863833833096238d873a162d9bed6219cd21e /board/samsung/trats | |
parent | 7dcda99d4f1f9f966383609b72edad4b76e9aad4 (diff) | |
download | u-boot-imx-5a77358c4b870a58ed68f5fcff32534c47f38b19.zip u-boot-imx-5a77358c4b870a58ed68f5fcff32534c47f38b19.tar.gz u-boot-imx-5a77358c4b870a58ed68f5fcff32534c47f38b19.tar.bz2 |
arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled
at TRATS.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/trats')
-rw-r--r-- | board/samsung/trats/trats.c | 2 |
1 files changed, 2 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; |